update all other gba_mb.ld

This commit is contained in:
Corwin 2022-06-16 23:38:47 +01:00
parent 13df836b91
commit bd3f2f4d59
3 changed files with 15 additions and 18 deletions

View file

@ -11,18 +11,17 @@ MEMORY {
__text_start = ORIGIN(ewram); __text_start = ORIGIN(ewram);
INPUT (agb.a)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;
.crt0 : {
KEEP (crt0.o(.text));
. = ALIGN(4);
} > ewram
.text : { .text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*); *(.text .text*);
. = ALIGN(4); . = ALIGN(4);
} > ewram } > rom
__text_end = .; __text_end = .;
.rodata : { .rodata : {

View file

@ -11,18 +11,17 @@ MEMORY {
__text_start = ORIGIN(ewram); __text_start = ORIGIN(ewram);
INPUT (agb.a)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;
.crt0 : {
KEEP (crt0.o(.text));
. = ALIGN(4);
} > ewram
.text : { .text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*); *(.text .text*);
. = ALIGN(4); . = ALIGN(4);
} > ewram } > rom
__text_end = .; __text_end = .;
.rodata : { .rodata : {

View file

@ -11,18 +11,17 @@ MEMORY {
__text_start = ORIGIN(ewram); __text_start = ORIGIN(ewram);
INPUT (agb.a)
SECTIONS { SECTIONS {
. = __text_start; . = __text_start;
.crt0 : {
KEEP (crt0.o(.text));
. = ALIGN(4);
} > ewram
.text : { .text : {
KEEP(*(.crt0));
*(.crt0 .crt0*);
*(.text .text*); *(.text .text*);
. = ALIGN(4); . = ALIGN(4);
} > ewram } > rom
__text_end = .; __text_end = .;
.rodata : { .rodata : {