.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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils