fix mips clone() on real linux kernel
authorRich Felker <dalias@aerifal.cx>
Thu, 12 Jul 2012 02:59:43 +0000 (22:59 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 12 Jul 2012 02:59:43 +0000 (22:59 -0400)
commitb58f738bcb5877c83aef49129b40827a1d5ae4c7
treecc439c14a5bf7b0c3d61920fd1d4a536c323a4cc
parent2b3cc04a8d383a56a7031e98a7e4da36958d943a
fix mips clone() on real linux kernel

the old code worked in qemu app-level emulation, but not on real
kernels where the clone syscall does not copy the register values to
the new thread. save arguments on the new thread stack instead.
src/thread/mips/clone.s