xref: /isa-l/include/aarch64_label.h (revision 9ab5a9e579c4fb4e2a3c92d73ccd6d97291d0e80)
1 #ifndef __AARCH64_LABEL_H__
2 #define __AARCH64_LABEL_H__
3 
4 #ifdef __USER_LABEL_PREFIX__
5 #define CONCAT1(a, b) CONCAT2(a, b)
6 #define CONCAT2(a, b) a##b
7 #define cdecl(x)      CONCAT1(__USER_LABEL_PREFIX__, x)
8 #else
9 #define cdecl(x) x
10 #endif
11 
12 #ifdef __APPLE__
13 #define ASM_DEF_RODATA .section __TEXT, __const
14 #else
15 #define ASM_DEF_RODATA .section.rodata
16 #endif
17 
18 #endif
19