diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-16 19:51:49 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-16 19:51:49 -0500 |
| commit | 9c4575d9b179d1904fb6525bf068b2736ad9fecd (patch) | |
| tree | 3ac93e6d39268d28d6306ab7c69e4197f628b59b /_/aarch64/common.S | |
| parent | 9c784954ad0c017aa0c15b4277dfc297da725470 (diff) | |
| download | demos-9c4575d9b179d1904fb6525bf068b2736ad9fecd.tar.gz demos-9c4575d9b179d1904fb6525bf068b2736ad9fecd.zip | |
Diffstat (limited to '_/aarch64/common.S')
| -rw-r--r-- | _/aarch64/common.S | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/_/aarch64/common.S b/_/aarch64/common.S new file mode 100644 index 0000000..616af28 --- /dev/null +++ b/_/aarch64/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 + |
