[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17306] ld aborts when linking with --just-symbols
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/17306] ld aborts when linking with --just-symbols |
Date: |
Tue, 26 Aug 2014 17:27:01 +0000 |
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:
address@hidden pr17306]$ cat foo.s
.data
.globl foo
foo:
.quad -1
.text
.globl _start
.type _start, @function
_start:
pushq address@hidden(%rip)
address@hidden pr17306]$ cat lea.s
.text
.globl bar
.type bar, @function
bar:
movq address@hidden(%rip), %rax
address@hidden 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
address@hidden pr17306]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/17306] New: ld aborts when linking with --just-symbols, famcool at gmail dot com, 2014/08/25
- [Bug ld/17306] ld aborts when linking with --just-symbols, hjl.tools at gmail dot com, 2014/08/25
- [Bug ld/17306] ld aborts when linking with --just-symbols, hjl.tools at gmail dot com, 2014/08/25
- [Bug ld/17306] ld aborts when linking with --just-symbols, famcool at gmail dot com, 2014/08/25
- [Bug ld/17306] ld aborts when linking with --just-symbols, famcool at gmail dot com, 2014/08/25
- [Bug ld/17306] ld aborts when linking with --just-symbols, hjl.tools at gmail dot com, 2014/08/26
- [Bug ld/17306] ld aborts when linking with --just-symbols, hjl.tools at gmail dot com, 2014/08/26
- [Bug ld/17306] ld aborts when linking with --just-symbols,
hjl.tools at gmail dot com <=
- [Bug ld/17306] ld aborts when linking with --just-symbols, cvs-commit at gcc dot gnu.org, 2014/08/27
- [Bug ld/17306] ld aborts when linking with --just-symbols, hjl.tools at gmail dot com, 2014/08/27
- [Bug ld/17306] ld aborts when linking with --just-symbols, famcool at gmail dot com, 2014/08/27