WIP FPC-III support
[linux/fpc-iii.git] / arch / arc / include / asm / dwarf.h
blob5f4de05bd4eed36cc2492fdb39aa704cb15d71be
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com)
4 */
6 #ifndef _ASM_ARC_DWARF_H
7 #define _ASM_ARC_DWARF_H
9 #ifdef __ASSEMBLY__
11 #ifdef ARC_DW2_UNWIND_AS_CFI
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
20 #else
22 #define CFI_IGNORE #
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
31 #endif /* !ARC_DW2_UNWIND_AS_CFI */
33 #endif /* __ASSEMBLY__ */
35 #endif /* _ASM_ARC_DWARF_H */