summaryrefslogtreecommitdiffstats
path: root/src/runtime/cgo/callbacks_aix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/cgo/callbacks_aix.go')
-rw-r--r--src/runtime/cgo/callbacks_aix.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/runtime/cgo/callbacks_aix.go b/src/runtime/cgo/callbacks_aix.go
new file mode 100644
index 0000000..f4b6fe2
--- /dev/null
+++ b/src/runtime/cgo/callbacks_aix.go
@@ -0,0 +1,11 @@
+// Copyright 2019 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.
+
+package cgo
+
+// These functions must be exported in order to perform
+// longcall on cgo programs (cf gcc_aix_ppc64.c).
+//go:cgo_export_static __cgo_topofstack
+//go:cgo_export_static runtime.rt0_go
+//go:cgo_export_static _rt0_ppc64_aix_lib