mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
fusee-primary: fix reboot-to-self for decompressed code
This commit is contained in:
parent
ff7e52a1c1
commit
2b81ed7315
3 changed files with 108 additions and 1 deletions
|
@ -32,6 +32,11 @@ SECTIONS
|
|||
KEEP( *(.text.start) )
|
||||
KEEP( *(.init) )
|
||||
. = ALIGN(32);
|
||||
PROVIDE (__reboot_start__ = ABSOLUTE(.));
|
||||
KEEP( *(.reboot*) )
|
||||
. = ALIGN(4);
|
||||
PROVIDE (__reboot_end__ = ABSOLUTE(.));
|
||||
. = ALIGN(32);
|
||||
} >main :crt0
|
||||
|
||||
.chainloader_loadable :
|
||||
|
@ -59,6 +64,7 @@ SECTIONS
|
|||
{
|
||||
. = ALIGN(32);
|
||||
/* .text */
|
||||
*(.text.reboot_to_self)
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
*(.glue_7)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue