mirror of
https://github.com/golang/go
synced 2024-11-24 12:50:11 -07:00
runtime: make sure windows/amd64 stack is 16-byte aligned on syscall entry (fixes build)
R=golang-dev, vcc.163 CC=golang-dev https://golang.org/cl/5445051
This commit is contained in:
parent
c32b607687
commit
fbdec642a9
@ -4,7 +4,9 @@
|
||||
|
||||
#include "amd64/asm.h"
|
||||
|
||||
#define maxargs 15
|
||||
// maxargs should be divisible by 2, as Windows stack
|
||||
// must be kept 16-byte aligned on syscall entry.
|
||||
#define maxargs 16
|
||||
|
||||
// void runtime·asmstdcall(void *c);
|
||||
TEXT runtime·asmstdcall(SB),7,$0
|
||||
|
Loading…
Reference in New Issue
Block a user