mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
Also provide stubs to call loadlibrary and getprocaddress, which are implemented for package syscall by runtime/syscall_windows.goc. Should get the windows go.sys build closer to green. LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews https://golang.org/cl/126170043
14 lines
381 B
ArmAsm
14 lines
381 B
ArmAsm
// Copyright 2009 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.
|
|
|
|
//
|
|
// System calls for amd64, Windows are implemented in runtime/syscall_windows.goc
|
|
//
|
|
|
|
TEXT ·getprocaddress(SB), 7, $0-32
|
|
JMP syscall·getprocaddress(SB)
|
|
|
|
TEXT ·loadlibrary(SB), 7, $0-8
|
|
JMP syscall·loadlibrary(SB)
|