summaryrefslogtreecommitdiff
path: root/asm/libagbbackup.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/libagbbackup.s
parentf910e326a16429f613e3b3814dd98bd69485dcd1 (diff)
make asm compatible with stock gas
Diffstat (limited to 'asm/libagbbackup.s')
-rw-r--r--asm/libagbbackup.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/libagbbackup.s b/asm/libagbbackup.s
index e5a48a721..01e972431 100644
--- a/asm/libagbbackup.s
+++ b/asm/libagbbackup.s
@@ -1,3 +1,9 @@
+ .include "asm/macros.s"
+
+ .syntax unified
+
+ .text
+
thumb_func_start SwitchFlashBank
SwitchFlashBank: @ 82E185C
lsls r0, 24
@@ -1069,3 +1075,5 @@ _082E2146:
pop {r1}
bx r1
thumb_func_end ProgramFlashSector
+
+ .align 2, 0 @ Don't pad with nop.