mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +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 {
|
||||
. = ORIGIN(rom);
|
||||
|
||||
.text : {
|
||||
.entrypoint : {
|
||||
*(.entrypoint.regular .entrypoint.common);
|
||||
. = ALIGN(4);
|
||||
} > rom
|
||||
|
||||
.text : {
|
||||
*(.text .text*);
|
||||
. = ALIGN(4);
|
||||
} > rom
|
||||
|
|
|
@ -19,9 +19,12 @@ MEMORY {
|
|||
SECTIONS {
|
||||
. = ORIGIN(ewram);
|
||||
|
||||
.text : {
|
||||
.entrypoint : {
|
||||
*(.entrypoint.multiboot .entrypoint.common);
|
||||
. = ALIGN(4);
|
||||
} > ewram
|
||||
|
||||
.text : {
|
||||
*(.text .text*);
|
||||
. = ALIGN(4);
|
||||
} > ewram
|
||||
|
|
Loading…
Reference in a new issue