[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils-bugs
Subject:    [Bug gas/3607] New: GAS errors on valid code complaining missing .cfi_endproc
From:       "raj dot khem at gmail dot com" <sourceware-bugzilla () sourceware ! org>
Date:       2006-11-28 19:02:36
Message-ID: 20061128190235.3607.raj.khem () gmail ! com
[Download RAW message or body]

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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic