modify linker scripts

This commit is contained in:
Corwin 2022-06-16 22:59:17 +01:00
parent 0be9da755c
commit 3a66aacc0c
2 changed files with 4 additions and 10 deletions

View file

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

View file

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