aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/isa-l/include/aarch64_label.h
blob: a4e6d0609c6f526b8a20368ef212005997f80544 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __AARCH64_LABEL_H__
#define __AARCH64_LABEL_H__

#ifdef __USER_LABEL_PREFIX__
#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a ## b
#define cdecl(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
#else
#define cdecl(x) x
#endif

#ifdef __APPLE__
#define ASM_DEF_RODATA .section	__TEXT,__const
#else
#define ASM_DEF_RODATA .section .rodata
#endif

#endif