mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Rename crt0 section to entrypoint
This commit is contained in:
parent
7afa19965c
commit
243e810150
|
@ -17,18 +17,15 @@ MEMORY {
|
|||
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
|
||||
}
|
||||
|
||||
__text_start = ORIGIN(rom);
|
||||
|
||||
SECTIONS {
|
||||
. = __text_start;
|
||||
. = ORIGIN(rom);
|
||||
|
||||
.text : {
|
||||
KEEP(*(.crt0));
|
||||
*(.crt0 .crt0*);
|
||||
KEEP(*(.entrypoint));
|
||||
|
||||
*(.text .text*);
|
||||
. = ALIGN(4);
|
||||
} > rom
|
||||
__text_end = .;
|
||||
|
||||
.rodata : {
|
||||
*(.rodata .rodata.*);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
.arm
|
||||
.global __start
|
||||
.section .crt0
|
||||
.section .entrypoint
|
||||
.align
|
||||
__start:
|
||||
b .Initialise
|
||||
|
|
Loading…
Reference in a new issue