mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-04 06:01:35 +11:00
Don't put the entrypoint in the .text section
This commit is contained in:
parent
1c0e9f9a2a
commit
c9c8d9e879
|
@ -20,9 +20,12 @@ MEMORY {
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
. = ORIGIN(rom);
|
. = ORIGIN(rom);
|
||||||
|
|
||||||
.text : {
|
.entrypoint : {
|
||||||
*(.entrypoint.regular .entrypoint.common);
|
*(.entrypoint.regular .entrypoint.common);
|
||||||
|
. = ALIGN(4);
|
||||||
|
} > rom
|
||||||
|
|
||||||
|
.text : {
|
||||||
*(.text .text*);
|
*(.text .text*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} > rom
|
} > rom
|
||||||
|
|
|
@ -19,9 +19,12 @@ MEMORY {
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
. = ORIGIN(ewram);
|
. = ORIGIN(ewram);
|
||||||
|
|
||||||
.text : {
|
.entrypoint : {
|
||||||
*(.entrypoint.multiboot .entrypoint.common);
|
*(.entrypoint.multiboot .entrypoint.common);
|
||||||
|
. = ALIGN(4);
|
||||||
|
} > ewram
|
||||||
|
|
||||||
|
.text : {
|
||||||
*(.text .text*);
|
*(.text .text*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} > ewram
|
} > ewram
|
||||||
|
|
Loading…
Reference in a new issue