From 64321f1b4b50c46ae57f8c083bc110a75849dd9d Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Wed, 28 Oct 2026 16:05:43 -0500 Subject: --- _/arm64/common.S | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _/arm64/common.S (limited to '_/arm64/common.S') diff --git a/_/arm64/common.S b/_/arm64/common.S new file mode 100644 index 0000000..616af28 --- /dev/null +++ b/_/arm64/common.S @@ -0,0 +1,21 @@ +// ================================================================================================ +// Shared macros +// +// License: +// Copyright (c) 2026 Hunter Kvalevog +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +// WITH REGARD TO THIS SOFTWARE. +// ================================================================================================ + +#ifdef __APPLE__ +# define SYM(LABEL) _##LABEL +# define TEXT_SEGMENT .section __TEXT,__text +#else +# define SYM(LABEL) LABEL +# define TEXT_SEGMENT .section .text +#endif + -- cgit v1.2.3