This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unresolvable R_PPC_REL16_{HA,LO} relocation against symbol


On Thu, 9 Nov 2006 01:01:01 +1030 Alan Modra wrote:
> The linker error is correct.  There is no support in ld.so for dynamic
> R_PPC_REL16_LO/HI relocs, so you can't reference a symbol in a shared
> lib that way.  (You could if your testcase had "bl foo@plt" somewhere,
> as that would define foo in the PLT, which would allow the linker to
> resolve the reloc.)

Thank you for reply!

So, regarding the glibc-linuxthread-2.5 build failure for powerpc,
which introduced this problem, fixing glibc-linuxthreads-2.5 not to
use REL16 would be the correct fix?


Best Regards,


(Hiroki Kaminaga)
t
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]