mirror of
git://git.musl-libc.org/musl
synced 2025-03-09 21:27:38 +00:00
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...
This commit is contained in:
parent
b58f738bcb
commit
a03f69d445
@ -25,5 +25,4 @@ __clone:
|
|||||||
1: lw $25, 0($sp)
|
1: lw $25, 0($sp)
|
||||||
lw $4, 4($sp)
|
lw $4, 4($sp)
|
||||||
jr $25
|
jr $25
|
||||||
addu $sp, $sp, 16
|
|
||||||
nop
|
nop
|
||||||
|
Loading…
Reference in New Issue
Block a user