summaryrefslogtreecommitdiff
path: root/aarch64
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64')
-rw-r--r--aarch64/common.S25
-rw-r--r--aarch64/kusswurm_ch11.S2
-rw-r--r--aarch64/mariokartwii_ch07.S2
-rw-r--r--aarch64/mariokartwii_ch08.S2
4 files changed, 3 insertions, 28 deletions
diff --git a/aarch64/common.S b/aarch64/common.S
deleted file mode 100644
index 34bb529..0000000
--- a/aarch64/common.S
+++ /dev/null
@@ -1,25 +0,0 @@
-// ================================================================================================
-// Shared macros
-//
-// License:
-// SPDX-License-Identifier: 0BSD
-// 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.
-// ================================================================================================
-
-#define CONCAT_(A, B) A ## B
-#define CONCAT(A, B) CONCAT_(A, B)
-
-#ifdef __APPLE__
-# define SYM(LABEL) CONCAT(_, LABEL)
-# define TEXT_SEGMENT .section __TEXT,__text
-#else
-# define SYM(LABEL) LABEL
-# define TEXT_SEGMENT .section .text
-#endif
-
diff --git a/aarch64/kusswurm_ch11.S b/aarch64/kusswurm_ch11.S
index fab99db..29158af 100644
--- a/aarch64/kusswurm_ch11.S
+++ b/aarch64/kusswurm_ch11.S
@@ -12,7 +12,7 @@
// WITH REGARD TO THIS SOFTWARE.
// ================================================================================================
-#include "common.S"
+#include "../_common/aarch64/common.S"
TEXT_SEGMENT
diff --git a/aarch64/mariokartwii_ch07.S b/aarch64/mariokartwii_ch07.S
index 69794eb..fe1848d 100644
--- a/aarch64/mariokartwii_ch07.S
+++ b/aarch64/mariokartwii_ch07.S
@@ -13,7 +13,7 @@
// WITH REGARD TO THIS SOFTWARE.
// ================================================================================================
-#include "common.S"
+#include "../_common/aarch64/common.S"
TEXT_SEGMENT
diff --git a/aarch64/mariokartwii_ch08.S b/aarch64/mariokartwii_ch08.S
index 7713fe8..f2a62af 100644
--- a/aarch64/mariokartwii_ch08.S
+++ b/aarch64/mariokartwii_ch08.S
@@ -13,7 +13,7 @@
// WITH REGARD TO THIS SOFTWARE.
// ================================================================================================
-#include "common.S"
+#include "../_common/aarch64/common.S"
TEXT_SEGMENT