aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stubs_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stubs_arm64.go')
-rw-r--r--src/runtime/stubs_arm64.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/stubs_arm64.go b/src/runtime/stubs_arm64.go
index df04e64291..f6cba6c2fa 100644
--- a/src/runtime/stubs_arm64.go
+++ b/src/runtime/stubs_arm64.go
@@ -7,6 +7,10 @@ package runtime
import "unsafe"
// Called from assembly only; declared for go vet.
+//
+// load_g is also called from runtime/cgo.
+//
+//go:linknamestd load_g
func load_g()
func save_g()
@@ -19,7 +23,11 @@ func emptyfunc()
//
// Spills/loads arguments in registers to/from an internal/abi.RegArgs
// respectively. Does not follow the Go ABI.
+//
+//go:linknamestd spillArgs
func spillArgs()
+
+//go:linknamestd unspillArgs
func unspillArgs()
// getfp returns the frame pointer register of its caller or 0 if not implemented.