2020-11-21 17:51:37 +01:00
|
|
|
#ifndef __AARCH64_LABEL_H__
|
|
|
|
#define __AARCH64_LABEL_H__
|
|
|
|
|
|
|
|
#ifdef __USER_LABEL_PREFIX__
|
|
|
|
#define CONCAT1(a, b) CONCAT2(a, b)
|
2024-04-19 18:09:27 +02:00
|
|
|
#define CONCAT2(a, b) a##b
|
|
|
|
#define cdecl(x) CONCAT1(__USER_LABEL_PREFIX__, x)
|
2020-11-21 17:51:37 +01:00
|
|
|
#else
|
|
|
|
#define cdecl(x) x
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
2024-04-19 18:09:27 +02:00
|
|
|
#define ASM_DEF_RODATA .section __TEXT, __const
|
2020-11-21 17:51:37 +01:00
|
|
|
#else
|
2024-04-19 18:09:27 +02:00
|
|
|
#define ASM_DEF_RODATA .section.rodata
|
2020-11-21 17:51:37 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|