staging: erofs: fix warning Comparison to bool
[linux/fpc-iii.git] / arch / arc / include / asm / dwarf.h
blobbb7bdbc59a44d4aa061ee2431278c207830e884d
1 /*
2 * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef _ASM_ARC_DWARF_H
10 #define _ASM_ARC_DWARF_H
12 #ifdef __ASSEMBLY__
14 #ifdef ARC_DW2_UNWIND_AS_CFI
16 #define CFI_STARTPROC .cfi_startproc
17 #define CFI_ENDPROC .cfi_endproc
18 #define CFI_DEF_CFA .cfi_def_cfa
19 #define CFI_REGISTER .cfi_register
20 #define CFI_REL_OFFSET .cfi_rel_offset
21 #define CFI_UNDEFINED .cfi_undefined
23 #else
25 #define CFI_IGNORE #
27 #define CFI_STARTPROC CFI_IGNORE
28 #define CFI_ENDPROC CFI_IGNORE
29 #define CFI_DEF_CFA CFI_IGNORE
30 #define CFI_REGISTER CFI_IGNORE
31 #define CFI_REL_OFFSET CFI_IGNORE
32 #define CFI_UNDEFINED CFI_IGNORE
34 #endif /* !ARC_DW2_UNWIND_AS_CFI */
36 #endif /* __ASSEMBLY__ */
38 #endif /* _ASM_ARC_DWARF_H */