summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/thread/mips/clone.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/mips/clone.s b/src/thread/mips/clone.s
index 826716ab..6c2e7908 100644
--- a/src/thread/mips/clone.s
+++ b/src/thread/mips/clone.s
@@ -3,6 +3,7 @@
.type __clone,@function
__clone:
# Save function pointer and argument pointer on new thread stack
+ and $5, $5, -8
subu $5, $5, 16
sw $4, 0($5)
sw $7, 4($5)