pc64: dont 4 byte align stack pointer for amd64 in sysexec()
This commit is contained in:
parent
c76243e7e5
commit
868a262bb8
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ sysexec(va_list list)
|
|||
* 8-byte align SP for those (e.g. sparc) that need it.
|
||||
* execregs() will subtract another 4 bytes for argc.
|
||||
*/
|
||||
if((ssize+4) & 7)
|
||||
if(BY2WD == 4 && (ssize+4) & 7)
|
||||
ssize += 4;
|
||||
|
||||
if(PGROUND(ssize) >= USTKSIZE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue