bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/6058] New: Linker segfaults with undefined weak function descrip


From: drow at sources dot redhat dot com
Subject: [Bug ld/6058] New: Linker segfaults with undefined weak function descriptors.
Date: 8 Apr 2008 19:17:40 -0000

This test file segfaults ld:

        .text
        .globl  _start
_start: ret
        .weak   foo
        .weak   foow
        .hidden foow

        # These should both end up zero.
        .data
        .picptr funcdesc(foo)
        .picptr funcdesc(foow)

sec is NULL at the top of _frvfdpic_emit_got_relocs_plt_entries.  Discovered
while cribbing from the FRV port for SH FDPIC - presumably both should be zero
and have no relocations.  That's what happens for the non-hidden one.

-- 
           Summary: Linker segfaults with undefined weak function
                    descriptors.
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: drow at sources dot redhat dot com
                CC: aoliva at sourceware dot org,bug-binutils at gnu dot org


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

------- 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]