clang-format: ignore aarch64_label.h

Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com>
This commit is contained in:
Marcel Cornu 2024-05-02 15:51:50 +01:00 committed by Tomasz Kantecki
parent 84ad119970
commit 0234d629a4
2 changed files with 5 additions and 4 deletions

View File

@ -1,2 +1,3 @@
include/aarch64_multibinary.h
include/aarch64_label.h
**/aarch64/*.h

View File

@ -3,16 +3,16 @@
#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)
#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
#define ASM_DEF_RODATA .section __TEXT,__const
#else
#define ASM_DEF_RODATA .section.rodata
#define ASM_DEF_RODATA .section .rodata
#endif
#endif