https://sourceware.org/bugzilla/show_bug.cgi?id=17306
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
A small testcase:
[hjl@gnu-6 pr17306]$ cat foo.s
.data
.globl foo
foo:
.quad -1
.text
.globl _start
.type _start, @function
_start:
pushq foo@GOTPCREL(%rip)
[hjl@gnu-6 pr17306]$ cat lea.s
.text
.globl bar
.type bar, @function
bar:
movq foo@GOTPCREL(%rip), %rax
[hjl@gnu-6 pr17306]$ make
gcc -c -o lea.o lea.s
gcc -c -o foo.o foo.s
./ld -m elf_x86_64 --just-symbols=lea.o -Bsymbolic -shared -o libfoo.so foo.o
./ld: BFD (GNU Binutils) 2.24.51.20140826 internal error, aborting at
/export/gnu/import/git/sources/binutils-gdb/bfd/elf64-x86-64.c line 3824 in
elf_x86_64_relocate_section
./ld: Please report this bug.
make: *** [libfoo.so] Error 1
[hjl@gnu-6 pr17306]$
--
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