The following example caused gas to generate error and eventually segfault. I could reproduce this on ppc and x86. arm works ok.
xxx.s: Assembler messages: xxx.s:6: Error: previous CFI entry not closed (missing .cfi_endproc) Segmentation fault ==================================================== .text .globl __syscall_error .type __syscall_error,@function .align 1<<4 __syscall_error: .cfi_startproc negl %eax .globl errno .globl __syscall_error_1 .cfi_endproc .size __syscall_error,.-__syscall_error -- Summary: GAS errors on valid code complaining missing .cfi_endproc Product: binutils Version: 2.18 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: raj dot khem at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: powerpc-*-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=3607 ------- 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