Message ID | cf9fc950116aefcc4cf1ed310e42aef38d2f8de7.camel@mengyan1223.wang |
---|---|
State | New |
Headers | show |
Series | mips: increase stack alignment in clone to match the ABI | expand |
diff --git a/sysdeps/unix/sysv/linux/mips/clone.S b/sysdeps/unix/sysv/linux/mips/clone.S index 43a5ad3a40..81d814ba4d 100644 --- a/sysdeps/unix/sysv/linux/mips/clone.S +++ b/sysdeps/unix/sysv/linux/mips/clone.S @@ -57,9 +57,9 @@ NESTED(__clone,4*SZREG,sp) /* Align stack to 4/8 bytes per the ABI. */ #if _MIPS_SIM == _ABIO32 - li t0,-4 -#else li t0,-8 +#else + li t0,-16 #endif and a1,a1,t0