Using GNU ld (Linux/GNU Binutils) 2.17.50.0.17.20070615 with the following
snippet of linker script causes ld to segfault. Even though the SIZEOF
expression is dubious it shouldn't crash.

SECTIONS
{
    .text SIZEOF (.text) :
    {
        *(.text)
    }
}

-- 
           Summary: Segmentation fault when using SIZEOF
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: us15 at os dot inf dot tu-dresden dot de
                CC: bug-binutils at gnu dot org


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to