Skip to content
Commit 5a205a32 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: dw2 unwind: add infrastructure for adding cfi pseudo ops to asm



1. detect whether binutils supports the cfi pseudo ops
2. define conditional macros to generate the ops
3. define new ENTRY_CFI/END_CFI to annotate hand asm code.
   - Needed because we don't want to emit dwarf info in general ENTRY/END
     used by lowest level trap/exception/interrutp handlers as unwinder
     gets confused trying to unwind out of them. We want unwinder to
     instead stop when it hits onfo those routines
   - These provide minimal start/end cfi ops assuming routine doesn't
     touch stack memory/regs

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 2dad1122
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment