diff --git a/agb/src/agbabi/memcpy.s b/agb/src/agbabi/memcpy.s index 931d1a06..6eede8dc 100644 --- a/agb/src/agbabi/memcpy.s +++ b/agb/src/agbabi/memcpy.s @@ -11,8 +11,6 @@ =============================================================================== */ -.include "src/agbabi/macros.inc" - .arm .section .iwram.__aeabi_memcpy, "ax", %progbits diff --git a/agb/src/agbabi/mod.rs b/agb/src/agbabi/mod.rs index c6dede71..bfd4a385 100644 --- a/agb/src/agbabi/mod.rs +++ b/agb/src/agbabi/mod.rs @@ -1,5 +1,6 @@ use core::arch::global_asm; +global_asm!(include_str!("macros.inc")); global_asm!(include_str!("memcpy.s")); global_asm!(include_str!("memset.s"));