Skip to content

Commit 9c089f5

Browse files
authored
Update UnwindRegistersRestore.S
Previously, I accidently put lw instead of ld on the mips64 code. Fixed now
1 parent 0f46018 commit 9c089f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libunwind/src/UnwindRegistersRestore.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,9 +1087,9 @@ DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind21Registers_mips_newabi6jumptoEv)
10871087
ld $\i, (8 * \i)($4)
10881088
.endr
10891089
// load new pc into ra
1090-
lw $31, (4 * 32)($4)
1090+
ld $31, (4 * 32)($4)
10911091
//allow for load delay, so that ra address is new value when jumping
1092-
lw $30, (4 * 30)($4)
1092+
ld $30, (4 * 30)($4)
10931093
// jump to ra, load a0 in the delay slot
10941094
jr $31
10951095
ld $4, (8 * 4)($4)

0 commit comments

Comments
 (0)