Update gba.ld in the-hat-chooses-the-wizard

This commit is contained in:
GBA bot 2022-01-01 22:16:53 +00:00
parent 5704531ecb
commit 0c8ca166f5

View file

@ -2,6 +2,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm) OUTPUT_ARCH(arm)
ENTRY(__start) ENTRY(__start)
EXTERN(__RUST_INTERRUPT_HANDLER)
MEMORY { MEMORY {
ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K
@ -101,6 +102,8 @@ SECTIONS {
.debug_typenames 0 : { *(.debug_typenames) } .debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) } .debug_varnames 0 : { *(.debug_varnames) }
.debug_ranges 0 : { *(.debug_ranges) }
/* discard anything not already mentioned */ /* discard anything not already mentioned */
/DISCARD/ : { *(*) } /DISCARD/ : { *(*) }
} }