bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry


From: hjl at lucon dot org
Subject: [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry
Date: 4 Sep 2006 21:59:08 -0000

------- Additional Comments From hjl at lucon dot org  2006-09-04 21:59 -------
Here is a very small testcase

address@hidden 3169]$ cat foo.s
        .proc   foo#
        .global foo#
foo#:
        .weak   _DYNAMIC#
        addl address@hidden(@fptr(_DYNAMIC#)),gp
        .endp foo
address@hidden 3169]$ cat bar.S
        .text
        .align 16
        .proc bar#
bar:
        addl r14 = @ltoff(@fptr(foo#)), gp
        .endp bar#

address@hidden 3169]$ make
cc -c bar.S
cc -c foo.s
./ld -o libfoo.so -shared bar.o foo.o
./ld: BFD 2.17.50 20060904 assertion fail elf64-ia64.c:4882
make: *** [libfoo.so] Segmentation fault
make: *** Deleting file `libfoo.so'
address@hidden 3169]$

_DYNAMIC is a special symbol. I don't think Osprey uses it correctly, if it
should be used by compiler at all.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3169

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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