]> Cypherpunks repositories - gostls13.git/commit
runtime: mark Windows' address-taken asm routines as ABIInternal
authorMichael Anthony Knyszek <mknyszek@google.com>
Mon, 15 Mar 2021 21:48:58 +0000 (21:48 +0000)
committerMichael Knyszek <mknyszek@google.com>
Fri, 19 Mar 2021 17:08:02 +0000 (17:08 +0000)
commit836dbdb15b766696eadd141ea2430f3549c58ec5
treeaf80cbf4fd4a46344124ed74818ca6a67b976054
parent4deaa6a178d89631302470f78574c1e957cf84a5
runtime: mark Windows' address-taken asm routines as ABIInternal

In the runtime there are Windows-specific assembly routines that are
address-taken via funcPC and are not intended to be called through a
wrapper. Mark them as ABIInternal so that we don't grab the wrapper,
because that will break in all sorts of contexts.

For #40724.
For #44065.

Change-Id: I12a728786786f423e5b229f8622e4a80ec27a31c
Reviewed-on: https://go-review.googlesource.com/c/go/+/302109
Trust: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s
src/runtime/sys_windows_arm.s
src/runtime/sys_windows_arm64.s
src/runtime/wincallback.go
src/runtime/zcallback_windows.s
src/runtime/zcallback_windows_arm.s
src/runtime/zcallback_windows_arm64.s