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

This commit is contained in:
Michael Scire 2020-11-29 18:17:51 -08:00 committed by SciresM
parent ff7e52a1c1
commit 2b81ed7315
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)