aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/syscall_windows.go
diff options
context:
space:
mode:
authorqiulaidongfeng <2645477756@qq.com>2025-02-12 16:25:23 +0800
committerGopher Robot <gobot@golang.org>2025-08-06 14:28:12 -0700
commitdc54d7b607488e71776ba0fa3d09398d65daf033 (patch)
tree8bcce9de1ef183c015853f5676c0bb69420a07f4 /src/runtime/syscall_windows.go
parente0a1ea431c960c3ed740f9b32754e7c31737035c (diff)
downloadgo-dc54d7b607488e71776ba0fa3d09398d65daf033.tar.xz
all: remove support for windows/arm
Also CL 690655 for golang.org/x/sys. For #71671 Change-Id: Iceb369dec5affb944a39d07cdabfd7add6f1f319 Reviewed-on: https://go-review.googlesource.com/c/go/+/648795 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/syscall_windows.go')
-rw-r--r--src/runtime/syscall_windows.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/syscall_windows.go b/src/runtime/syscall_windows.go
index b3c3d8c0d5..e86ebf41c7 100644
--- a/src/runtime/syscall_windows.go
+++ b/src/runtime/syscall_windows.go
@@ -236,7 +236,7 @@ func callbackasm()
// and we want callback to arrive at
// correspondent call instruction instead of start of
// runtime.callbackasm.
-// On ARM, runtime.callbackasm is a series of mov and branch instructions.
+// On ARM64, runtime.callbackasm is a series of mov and branch instructions.
// R12 is loaded with the callback index. Each entry is two instructions,
// hence 8 bytes.
func callbackasmAddr(i int) uintptr {
@@ -246,8 +246,8 @@ func callbackasmAddr(i int) uintptr {
panic("unsupported architecture")
case "386", "amd64":
entrySize = 5
- case "arm", "arm64":
- // On ARM and ARM64, each entry is a MOV instruction
+ case "arm64":
+ // On ARM64, each entry is a MOV instruction
// followed by a branch instruction
entrySize = 8
}