diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-28 16:05:43 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-10-28 16:06:50 -0500 |
| commit | 5a0619780e4ae647307136f533d666be15bb9843 (patch) | |
| tree | 017225eba0fe70a0e0c24eef35d3cfb73d7e9812 /_/arm64 | |
| parent | 20b5138d377f81aa642c2537c64ff711ff954157 (diff) | |
| download | demos-5a0619780e4ae647307136f533d666be15bb9843.tar.gz demos-5a0619780e4ae647307136f533d666be15bb9843.zip | |
aarch64 -> arm64
Diffstat (limited to '_/arm64')
| -rw-r--r-- | _/arm64/common.S | 21 |
1 files changed, 21 insertions, 0 deletions
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 + |
