dwarf.h 892 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com)
  3. *
  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. */
  8. #ifndef _ASM_ARC_DWARF_H
  9. #define _ASM_ARC_DWARF_H
  10. #ifdef __ASSEMBLY__
  11. #ifdef ARC_DW2_UNWIND_AS_CFI
  12. #define CFI_STARTPROC .cfi_startproc
  13. #define CFI_ENDPROC .cfi_endproc
  14. #define CFI_DEF_CFA .cfi_def_cfa
  15. #define CFI_REGISTER .cfi_register
  16. #define CFI_REL_OFFSET .cfi_rel_offset
  17. #define CFI_UNDEFINED .cfi_undefined
  18. #else
  19. #define CFI_IGNORE #
  20. #define CFI_STARTPROC CFI_IGNORE
  21. #define CFI_ENDPROC CFI_IGNORE
  22. #define CFI_DEF_CFA CFI_IGNORE
  23. #define CFI_REGISTER CFI_IGNORE
  24. #define CFI_REL_OFFSET CFI_IGNORE
  25. #define CFI_UNDEFINED CFI_IGNORE
  26. #endif /* !ARC_DW2_UNWIND_AS_CFI */
  27. #endif /* __ASSEMBLY__ */
  28. #endif /* _ASM_ARC_DWARF_H */