diff --git a/agb/src/agbabi/memcpy.s b/agb/src/agbabi/memcpy.s index 08baab52..056df5d0 100644 --- a/agb/src/agbabi/memcpy.s +++ b/agb/src/agbabi/memcpy.s @@ -14,9 +14,9 @@ .include "src/agbabi/macros.inc" .arm - .align 2 .section .iwram.__aeabi_memcpy, "ax", %progbits + .align 2 .global __agbabi_memcpy __agbabi_memcpy: .global __aeabi_memcpy @@ -115,6 +115,7 @@ __agbabi_memcpy1: bx lr .section .iwram.memcpy, "ax", %progbits + .align 2 .global memcpy memcpy: push {r0, lr} diff --git a/agb/src/agbabi/memset.s b/agb/src/agbabi/memset.s index be51ced2..d4f481e5 100644 --- a/agb/src/agbabi/memset.s +++ b/agb/src/agbabi/memset.s @@ -16,9 +16,9 @@ */ .arm - .align 2 .section .iwram.__aeabi_memset, "ax", %progbits + .align 2 .global __aeabi_memclr __aeabi_memclr: mov r2, #0 @@ -109,6 +109,7 @@ __agbabi_wordset4: bx lr .section .iwram.memset, "ax", %progbits + .align 2 .global memset memset: mov r3, r1