Skip to content

Commit 4e00d7c

Browse files
committed
mips64: Fix calling of meminit() to new signature
1 parent fb7e2b5 commit 4e00d7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/runtime/rt0_noos_mips64.s

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,14 @@ TEXT runtime·rt0_go(SB),NOSPLIT|NOFRAME|TOPFRAME,$0
105105
MOVV $runtime·nodmaend(SB), R11
106106
SUB $SIGNAL_STACK_SIZE, R9
107107

108-
SUB $32, R29
108+
SUB $48, R29
109109
MOVV R8, 8(R29)
110110
MOVV R9, 16(R29)
111111
MOVV R10, 24(R29)
112112
MOVV R11, 32(R29)
113+
MOVV R0, 40(R29)
113114
JAL runtime·meminit(SB)
114-
ADD $32, R29
115+
ADD $48, R29
115116

116117
// initialize noos tasker and Go scheduler
117118
JAL runtime·taskerinit(SB)

0 commit comments

Comments
 (0)