[Top][All Lists]

[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


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
    .globl foo
    .quad -1
    .globl    _start
    .type    _start, @function
    pushq    address@hidden(%rip)
address@hidden pr17306]$ cat lea.s 
    .globl    bar
    .type    bar, @function
    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) internal error, aborting at
/export/gnu/import/git/sources/binutils-gdb/bfd/elf64-x86-64.c line 3824 in

./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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]