bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14788] New: trying to link simple ifunc test causes the linker t


From: vapier at gentoo dot org
Subject: [Bug ld/14788] New: trying to link simple ifunc test causes the linker to segfault with s390x targets
Date: Tue, 30 Oct 2012 22:01:51 +0000

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: address@hidden
        ReportedBy: address@hidden
    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, address@hidden <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.



reply via email to

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