mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
Add proper linkscript...
...adapted from @fincs' own linkscripts
This commit is contained in:
parent
c4789a5a11
commit
b0cb819b06
2 changed files with 237 additions and 11 deletions
|
@ -64,7 +64,7 @@
|
|||
.endm
|
||||
|
||||
.align 6
|
||||
.section .text.cold.start, "ax", %progbits
|
||||
.section .cold_crt0.text.start, "ax", %progbits
|
||||
.global __start_cold
|
||||
__start_cold:
|
||||
ERRATUM_INVALIDATE_BTB_AT_BOOT
|
||||
|
@ -77,7 +77,7 @@ __start_cold:
|
|||
br x16
|
||||
|
||||
.align 6
|
||||
.section .text.warm.start, "ax", %progbits
|
||||
.section .warm_crt0.text.start, "ax", %progbits
|
||||
.global __start_warm
|
||||
__start_warm:
|
||||
ERRATUM_INVALIDATE_BTB_AT_BOOT
|
||||
|
@ -90,6 +90,7 @@ __start_warm:
|
|||
ldr x16, =__jump_to_main_warm
|
||||
br x16
|
||||
|
||||
.align 4
|
||||
.section .text.__jump_to_main_cold, "ax", %progbits
|
||||
__jump_to_main_cold:
|
||||
bl __set_exception_entry_stack_pointer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue