Update all the gba.ld files

This commit is contained in:
Gwilym Kuiper 2022-06-16 23:33:09 +01:00
parent 90b5e39b42
commit 28513335fb
4 changed files with 7 additions and 19 deletions

View file

@ -12,11 +12,7 @@ MEMORY {
__text_start = ORIGIN(rom); __text_start = ORIGIN(rom);
INPUT ( INPUT (agb.a)
crt0.o
interrupt_handler.o
mixer.o
)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;

View file

@ -12,11 +12,7 @@ MEMORY {
__text_start = ORIGIN(rom); __text_start = ORIGIN(rom);
INPUT ( INPUT (agb.a)
crt0.o
interrupt_handler.o
mixer.o
)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;

View file

@ -12,11 +12,7 @@ MEMORY {
__text_start = ORIGIN(rom); __text_start = ORIGIN(rom);
INPUT ( INPUT (agb.a)
crt0.o
interrupt_handler.o
mixer.o
)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;

View file

@ -12,15 +12,15 @@ MEMORY {
__text_start = ORIGIN(rom); __text_start = ORIGIN(rom);
INPUT (agb.a)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;
.crt0 : {
KEEP (crt0.o(.text));
. = ALIGN(4);
} > rom
.text : { .text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*); *(.text .text*);
. = ALIGN(4); . = ALIGN(4);
} > rom } > rom