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
|
rom (rx) : ORIGIN = 0x08000000, LENGTH = 32M
|
||||||
}
|
}
|
||||||
|
|
||||||
__text_start = ORIGIN(rom);
|
|
||||||
|
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
. = __text_start;
|
. = ORIGIN(rom);
|
||||||
|
|
||||||
.text : {
|
.text : {
|
||||||
KEEP(*(.crt0));
|
KEEP(*(.entrypoint));
|
||||||
*(.crt0 .crt0*);
|
|
||||||
*(.text .text*);
|
*(.text .text*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
} > rom
|
} > rom
|
||||||
__text_end = .;
|
|
||||||
|
|
||||||
.rodata : {
|
.rodata : {
|
||||||
*(.rodata .rodata.*);
|
*(.rodata .rodata.*);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
.arm
|
.arm
|
||||||
.global __start
|
.global __start
|
||||||
.section .crt0
|
.section .entrypoint
|
||||||
.align
|
.align
|
||||||
__start:
|
__start:
|
||||||
b .Initialise
|
b .Initialise
|
||||||
|
|
Loading…
Reference in a new issue