fusee: attempt reboot to self if possible, better abort/fatal handlers

This commit is contained in:
Michael Scire 2021-09-05 20:57:04 -07:00 committed by SciresM
parent 005aac5a2b
commit dda7ea6ac2
4 changed files with 71 additions and 46 deletions

View file

@ -22,11 +22,12 @@ SECTIONS
FILL(0x00000000)
KEEP(*(.text._ZN3ams4util15GetMicroSecondsEv))
KEEP(*(.text._ZN3ams4util16WaitMicroSecondsEi))
KEEP(*(.text._ZN3ams6nxboot14ShowFatalErrorEPKcz))
KEEP(*(.text._ZN3ams6nxboot10UncompressEPvjPKvj))
KEEP(*(.text.memcpy))
KEEP(*(.text.memset))
KEEP(*(.text.memcmp))
KEEP(*(.text._ZN3ams6nxboot14ShowFatalErrorEPKcz))
KEEP(*(.text._ZN3ams6nxboot10UncompressEPvjPKvj))
KEEP(*(.text._ZN3ams6nxboot12RebootToSelfEv))
_*.o(SORT(.text*))
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
*(.text.exit .text.exit.*)