aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/lm32/crt.S
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/lm32/crt.S')
-rw-r--r--tests/tcg/lm32/crt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcg/lm32/crt.S b/tests/tcg/lm32/crt.S
index 5f9cfd95d3..fc437a3de1 100644
--- a/tests/tcg/lm32/crt.S
+++ b/tests/tcg/lm32/crt.S
@@ -8,9 +8,9 @@ _reset_handler:
ori r1, r1, lo(_start)
wcsr eba, r1
wcsr deba, r1
+ mvhi sp, hi(_fstack)
+ ori sp, sp, lo(_fstack)
bi _main
- nop
- nop
_breakpoint_handler:
ori r25, r25, 1