grub-devel
[Top][All Lists]
Advanced

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

Re: [ppc patch] grub-mkimage


From: Johan Rydberg
Subject: Re: [ppc patch] grub-mkimage
Date: Fri, 03 Dec 2004 16:13:45 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

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.

~j






reply via email to

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