summaryrefslogtreecommitdiffstats
path: root/src/syscall/asm_windows.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/asm_windows.s')
-rw-r--r--src/syscall/asm_windows.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/syscall/asm_windows.s b/src/syscall/asm_windows.s
new file mode 100644
index 0000000..e965914
--- /dev/null
+++ b/src/syscall/asm_windows.s
@@ -0,0 +1,11 @@
+// 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)