summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/dwarf.h
AgeCommit message (Collapse)AuthorFilesLines
2016-10-01ARC: dw2 unwind: add infrastructure for adding cfi pseudo ops to asmVineet Gupta1-0/+38
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: Vineet Gupta <vgupta@synopsys.com>