aarch64_label.h 361 B

123456789101112131415161718
  1. #ifndef __AARCH64_LABEL_H__
  2. #define __AARCH64_LABEL_H__
  3. #ifdef __USER_LABEL_PREFIX__
  4. #define CONCAT1(a, b) CONCAT2(a, b)
  5. #define CONCAT2(a, b) a ## b
  6. #define cdecl(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
  7. #else
  8. #define cdecl(x) x
  9. #endif
  10. #ifdef __APPLE__
  11. #define ASM_DEF_RODATA .section __TEXT,__const
  12. #else
  13. #define ASM_DEF_RODATA .section .rodata
  14. #endif
  15. #endif