bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/31654] New: gas: Bad SFrame information when assembling with li


From: jremus at linux dot ibm.com
Subject: [Bug gas/31654] New: gas: Bad SFrame information when assembling with listing
Date: Thu, 18 Apr 2024 09:31:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31654

            Bug ID: 31654
           Summary: gas: Bad SFrame information when assembling with
                    listing
           Product: binutils
           Version: 2.43 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: jremus at linux dot ibm.com
  Target Milestone: ---

The assembler generates bad SFrame information when assembling the following
CFI directive sequence with option "-Wa,-a" to generate a listing on a SFrame
enabled target that uses FP and RA tracking:

.cfi_offset <fp-regno>, <fp-offset>
.cfi_offset <ra-regno>, <ra-offset> 

This causes multiple SFrame FREs for the same PC start address to be generated.

The reason is that with listings enabled there is an additional DWARF
DW_CFA_advance_loc CFI instruction with zero advance between both DW_CFA_offset
instructions, that the DWARF .eh_frame generator is able to process correctly,
but causes the .sframe generator to choke.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]