https://sourceware.org/bugzilla/show_bug.cgi?id=16467
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #0)
>
> Running the same with -Wl,-fuse-ld=gold works fine.
>
Can you double check if gold generates the working output?
I saw
[hjl@gnu-tools-1 pr16467]$ readelf -rW libb.o
Relocation section '.rela.text' at offset 0x590 contains 1 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000000007 0000000900000009 R_X86_64_GOTPCREL 0000000000000000
sd_get_seats@LIBSYSTEMD_209 - 4
Relocation section '.rela.eh_frame' at offset 0x5a8 contains 1 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000000020 0000000200000002 R_X86_64_PC32 0000000000000000
.text + 0
[hjl@gnu-tools-1 pr16467]$ readelf -rW libgold.so
Relocation section '.rela.dyn' at offset 0x228 contains 1 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000001420 0000000100000006 R_X86_64_GLOB_DAT sd_get_seats()
sd_get_seats + 0
Relocation section '.rela.plt' at offset 0x240 contains 1 entries:
Offset Info Type Symbol's Value
Symbol's Name + Addend
0000000000001440 0000000100000007 R_X86_64_JUMP_SLOT sd_get_seats()
sd_get_seats + 0
[hjl@gnu-tools-1 pr16467]$
Where is run-time relocation against sd_get_seats@LIBSYSTEM_209?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils