mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
mips: stop backtraces at main()
Initialize ra=0 before calling main so backtraces don't walk through the startup code. Change-Id: Ia8796ce38b32d14025b47b3e00061267ee25cbaf
This commit is contained in:
parent
981e972839
commit
5ee9a45126
2 changed files with 2 additions and 2 deletions
|
|
@ -185,7 +185,7 @@ _irq_stack_loop:
|
|||
jal system_main /* Init clocks etc first */
|
||||
ssnop
|
||||
j main
|
||||
ssnop
|
||||
move ra, zero /* init backtrace root */
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue