]> Cypherpunks repositories - gostls13.git/commit
runtime: fix windows-amd64-2012 build
authorRuss Cox <rsc@golang.org>
Fri, 10 May 2019 15:13:06 +0000 (11:13 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 10 May 2019 16:16:30 +0000 (16:16 +0000)
commitef4666eccedd457b33baa5b7d4bff95680e60741
tree4843cfa9e303df50a17ae8a499734472137f1a52
parent1d1ff469660437e4d4992b421beb6e31b19e1970
runtime: fix windows-amd64-2012 build

I forgot that in Go assembly, x+16(SP) is not the same as 16(SP).
The former is the virtual stack pointer (one word below FP on x86)
while the latter is the actual stack pointer.

Change-Id: Ibb7012bb97261949f5e1a0dc70869d9a6f50aa99
Reviewed-on: https://go-review.googlesource.com/c/go/+/176557
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/os_windows.go
src/runtime/sys_windows_amd64.s