xref: /isa-l/include/aarch64_label.h (revision 0234d629a4106b2ffa9cc1a6bb6020d8417e3912)
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