1
2
3
4
5
6 #ifndef _ASM_ARC_DWARF_H
7 #define _ASM_ARC_DWARF_H
8
9 #ifdef __ASSEMBLY__
10
11 #ifdef ARC_DW2_UNWIND_AS_CFI
12
13 #define CFI_STARTPROC .cfi_startproc
14 #define CFI_ENDPROC .cfi_endproc
15 #define CFI_DEF_CFA .cfi_def_cfa
16 #define CFI_REGISTER .cfi_register
17 #define CFI_REL_OFFSET .cfi_rel_offset
18 #define CFI_UNDEFINED .cfi_undefined
19
20 #else
21
22 #define CFI_IGNORE #
23
24 #define CFI_STARTPROC CFI_IGNORE
25 #define CFI_ENDPROC CFI_IGNORE
26 #define CFI_DEF_CFA CFI_IGNORE
27 #define CFI_REGISTER CFI_IGNORE
28 #define CFI_REL_OFFSET CFI_IGNORE
29 #define CFI_UNDEFINED CFI_IGNORE
30
31 #endif
32
33 #endif
34
35 #endif