bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/994] New: section switch in function causes segfault


From: rth at gcc dot gnu dot org
Subject: [Bug gas/994] New: section switch in function causes segfault
Date: 7 Jun 2005 22:07:10 -0000

.text
        .proc get_fileinfo#
get_fileinfo:
        .prologue 12, 35
[.LVL0:]
        .mmi
        .save ar.pfs, r36
        alloc r36 = ar.pfs, 1, 5, 3, 0
        addl r34 = @gprel(file_info_tree#), gp
        .save rp, r35
        mov r35 = b0
        .mmi
        mov r37 = r1
        .body
        ;;
        .section        .text.unlikely, "ax", @progbits
        .mmi
        nop 0
        ;;
        .text
        .endp get_fileinfo#


This is not unlike what gcc -freorder-blocks-and-partition would like to 
create.  Whether or not you consider section switching legal, the assembler
shouldn't crash.

-- 
           Summary: section switch in function causes segfault
           Product: binutils
           Version: 2.17 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rth at gcc dot gnu dot org
                CC: bug-binutils at gnu dot org
GCC target triplet: ia64-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=994

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