diff --git a/template/gba.ld b/template/gba.ld index 7e2907be..ba54bc5a 100644 --- a/template/gba.ld +++ b/template/gba.ld @@ -2,6 +2,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(__start) +EXTERN(__RUST_INTERRUPT_HANDLER) MEMORY { ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K diff --git a/template/gba_mb.ld b/template/gba_mb.ld index df1a784a..9fdd23c1 100644 --- a/template/gba_mb.ld +++ b/template/gba_mb.ld @@ -2,6 +2,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) ENTRY(__start) +EXTERN(__RUST_INTERRUPT_HANDLER) MEMORY { ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K