Looks like S8 and SP are reversed in setjmp, so longjmp doesn't work
as well as one would hope.... Submitted by: Arten Belevich
This commit is contained in:
parent
7afe3d9288
commit
9b0f2419c1
@ -1474,8 +1474,8 @@ LEAF(setjmp)
|
||||
STORE s5, (RSIZE * PREG_S5)(a0)
|
||||
STORE s6, (RSIZE * PREG_S6)(a0)
|
||||
STORE s7, (RSIZE * PREG_S7)(a0)
|
||||
STORE s8, (RSIZE * PREG_SP)(a0)
|
||||
STORE sp, (RSIZE * PREG_S8)(a0)
|
||||
STORE s8, (RSIZE * PREG_S8)(a0)
|
||||
STORE sp, (RSIZE * PREG_SP)(a0)
|
||||
STORE ra, (RSIZE * PREG_RA)(a0)
|
||||
STORE v0, (RSIZE * PREG_SR)(a0)
|
||||
jr ra
|
||||
|
Loading…
Reference in New Issue
Block a user