summaryrefslogtreecommitdiff
path: root/asm/libagbsyscall.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-02 23:11:29 -0700
committerYamaArashi <shadow962@live.com>2016-09-02 23:11:29 -0700
commita05857f889631dd6e722f952475fb96382cdf999 (patch)
tree3e7b52a566406ba22a442e62d2b7fbdf99926e5c /asm/libagbsyscall.s
parentf910e326a16429f613e3b3814dd98bd69485dcd1 (diff)
make asm compatible with stock gas
Diffstat (limited to 'asm/libagbsyscall.s')
-rw-r--r--asm/libagbsyscall.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/libagbsyscall.s b/asm/libagbsyscall.s
index cdfc70350..41f3718b9 100644
--- a/asm/libagbsyscall.s
+++ b/asm/libagbsyscall.s
@@ -1,3 +1,9 @@
+ .include "asm/macros.s"
+
+ .syntax unified
+
+ .text
+
thumb_func_start ArcTan2
ArcTan2: @ 82E7078
swi 0xA
@@ -105,3 +111,5 @@ VBlankIntrWait: @ 82E70C8
swi 0x5
bx lr
thumb_func_end VBlankIntrWait
+
+ .align 2, 0 @ Don't pad with nop.