https://sourceware.org/bugzilla/show_bug.cgi?id=19807
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING --- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> --- [hjl@gnu-6 ld-x86-64]$ cat pr19807a.s .globl _start .type _start, @function _start: movq $foo, %rax .size _start, .-_start [hjl@gnu-6 ld-x86-64]$ cat pr19807b.s .globl foo .type foo, @object foo = 0x145e000 [hjl@gnu-6 ld-x86-64]$ ... hjl@gnu-6 ld]$ ./ld-new -pie pr19807a.o pr19807b.o ./ld-new: pr19807a.o: relocation R_X86_64_32S against `foo' can not be used when making a shared object; recompile with -fPIC pr19807a.o: error adding symbols: Bad value [hjl@gnu-6 ld]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils