grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ppc patch] grub-mkimage


From: Marco Gerards
Subject: Re: [ppc patch] grub-mkimage
Date: Fri, 03 Dec 2004 15:20:48 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Johan Rydberg <address@hidden> writes:

> Marco Gerards <address@hidden> writes:
>
>>> I'm not sure if you have to re-configure GCC to make it EABI-compat,
>>> or if there's a configuration switch for this.  Anyway, as I said,
>>> it might be worth looking into.
>>
>> What I did is using the following options:
>>
>> -memb -meabi -msdata=eabi
>>
>> After that the R_PPC_REL24 relocation was still there.  In addition to
>> that the R_PPC_EMB_SDA21 relocation was added.  So the relative
>> relocation is still there and things got even more complex... Did I do
>> something wrong here?
>
> No idea.  I thought that it would eliminate the REL24 relocations, but
> I was clearly wrong.  See if you can get GCC to generate code that uses
> a GOT/TOC.

Isn't that impossible because GRUB has its own GOT?  I mean: GRUB has
to lookup all symbols itself, etc.  If I am wrong, I have no idea how
to do it.

I hope to finish module loading so it at least works this weekend
using the method that can still cause overflows.  Can you have a look
at the code when I send it in and explain it using the GRUB code?

Thanks,
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]