unresolvable R_PPC_REL16_{HA,LO} relocation against symbol
Hiroki Kaminaga
kaminaga@sm.sony.co.jp
Thu Nov 9 01:47:00 GMT 2006
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
--
More information about the Binutils
mailing list