aboutsummaryrefslogtreecommitdiffstats
path: root/microshmup/microshmup_core.S
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-11-14 18:38:26 -0600
committerHunter Kvalevog <hunter@kvog.sh>2026-11-14 18:38:26 -0600
commitc12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3 (patch)
tree7d07f454d406408354cb67132244574f44a77b97 /microshmup/microshmup_core.S
parent64321f1b4b50c46ae57f8c083bc110a75849dd9d (diff)
downloaddemos-c12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3.tar.gz
demos-c12d946e4e8c8e42a6f6a71f6e7cd557aa59c5d3.zip
Diffstat (limited to 'microshmup/microshmup_core.S')
-rw-r--r--microshmup/microshmup_core.S29
1 files changed, 0 insertions, 29 deletions
diff --git a/microshmup/microshmup_core.S b/microshmup/microshmup_core.S
deleted file mode 100644
index cbb8bfb..0000000
--- a/microshmup/microshmup_core.S
+++ /dev/null
@@ -1,29 +0,0 @@
-// ================================================================================================
-// Macros
-// ================================================================================================
-
-#ifdef __APPLE__
-# define LBL(name) L ## name
-# define SYM(name) _##name
-# define SECTION_BSS .section __DATA,__bss
-# define SECTION_RODATA .section __TEXT,__const
-# define SECTION_TEXT .section __TEXT,__text
-#else
-# define LBL(name) .L ## name
-# define SYM(name) name
-# define SECTION_BSS .section .bss
-# define SECTION_RODATA .section .rodata
-# define SECTION_TEXT .section .text
-#endif
-
-.macro LOADADDR reg, sym
-#ifdef __APPLE__
- adrp \reg, \sym\()@PAGE
- add \reg, \reg, \sym\()@PAGEOFF
-#else
- adrp \reg, \sym
- add \reg, \reg, :lo12:\sym
-#endif
-.endm
-
-