http://sourceware.org/bugzilla/show_bug.cgi?id=14788
Bug #: 14788
Summary: trying to link simple ifunc test causes the linker to
segfault with s390x targets
Product: binutils
Version: 2.23
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Target: s390x-linux-gnu
$ cat test.s
.type foo,%gnu_indirect_function
foo:
.globl _start
_start:
.data
.quad foo
$ ./gas/as-new test.s -o test.o
$ gdb --args ./ld/ld-new test.o -o test
(gdb) r
Starting program:
/usr/local/gentoo/src/patchsets/binutils/binutils-2.23/build/ld/ld-new test.o
-o test
Program received signal SIGSEGV, Segmentation fault.
s390_elf_create_ifunc_sections (abfd=0x0, info=info@entry=0x709ac0 <link_info>)
at ../../bfd/elf-s390-common.c:41
41 const struct elf_backend_data *bed = get_elf_backend_data (abfd);
this is vanilla binutils-2.23 built with `./configure --target=s390x-linux-gnu`
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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