aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2021-04-01 19:22:12 -0400
committerCherry Zhang <cherryyz@google.com>2021-04-02 16:30:18 +0000
commit759116b3ace07f431103d65a7ce6cf4f314203bf (patch)
tree0224c04f67c61b942602b7f038f9f6ce95b07b79 /src/syscall
parent2d88f8f21e71f73dc3aa846cdc8c413f1bb584b8 (diff)
downloadgo-759116b3ace07f431103d65a7ce6cf4f314203bf.tar.gz
go-759116b3ace07f431103d65a7ce6cf4f314203bf.zip
syscall: delete asm_windows.s
asm_windows.s contains dummy references of syscall.loadlibrary and syscall.getprocaddress, to trigger ABI wrapper/alias generation to get ABI0 symbols for them. The comment says they are called from assembly in other packages, but I couldn't find where. They are defined in Go and only referenced in Go. CL 179862 removed dummy references in the runtime. This CL is similar, for the syscall package. Also, with CL 306609, they will have ABI0 definitions anyway. Change-Id: I5c7b0efb9762e4ad9c94f0beea8d053d8c8b2cd1 Reviewed-on: https://go-review.googlesource.com/c/go/+/306709 Trust: Cherry Zhang <cherryyz@google.com> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/asm_windows.s11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/syscall/asm_windows.s b/src/syscall/asm_windows.s
deleted file mode 100644
index e965914330..0000000000
--- a/src/syscall/asm_windows.s
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright 2018 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#include "textflag.h"
-
-// abi0Syms is a dummy symbol that creates ABI0 wrappers for Go
-// functions called from assembly in other packages.
-TEXT abi0Syms<>(SB),NOSPLIT,$0-0
- CALL ·getprocaddress(SB)
- CALL ·loadlibrary(SB)