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:
Alex Brainman 2011-11-29 12:57:20 +11:00
parent c32b607687
commit fbdec642a9

View File

@ -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