fusee-primary: fix reboot-to-self for decompressed code

This commit is contained in:
Michael Scire
2020-11-29 18:17:51 -08:00
parent 7ed9bdd374
commit dc52610bd8
3 changed files with 108 additions and 1 deletions

View File

@@ -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)