• V
    ARC: dw2 unwind: add infrastructure for adding cfi pseudo ops to asm · 5a205a32
    Vineet Gupta 提交于
    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: NVineet Gupta <vgupta@synopsys.com>
    5a205a32
linkage.h 1.4 KB