From a03f69d4456d3ac5120cc07a22af8ecb631444bb Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 11 Jul 2012 23:01:09 -0400 Subject: mips clone: don't free stack space used to copy arg the mips abi reserves stack space equal to the size of the in-register args for the callee to save the args, if desired. this would cause the beginning of the thread structure to be clobbered... --- src/thread/mips/clone.s | 1 - 1 file changed, 1 deletion(-) diff --git a/src/thread/mips/clone.s b/src/thread/mips/clone.s index fab90dc3..826716ab 100644 --- a/src/thread/mips/clone.s +++ b/src/thread/mips/clone.s @@ -25,5 +25,4 @@ __clone: 1: lw $25, 0($sp) lw $4, 4($sp) jr $25 - addu $sp, $sp, 16 nop -- cgit v1.2.1