src/runtime/cgo/callbacks_aix.go
raw| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package cgo |
| 6 | |
| 7 | // These functions must be exported in order to perform |
| 8 | // longcall on cgo programs (cf gcc_aix_ppc64.c). |
| 9 | // |
| 10 | //go:cgo_export_static __cgo_topofstack |
| 11 | //go:cgo_export_static runtime.rt0_go |
| 12 | //go:cgo_export_static _rt0_ppc64_aix_lib |