src/runtime/cgo_ppc64x.go
raw| 1 | // Copyright 2015 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 | //go:build ppc64 || ppc64le |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | // crosscall_ppc64 calls into the runtime to set up the registers the |
| 10 | // Go runtime expects and so the symbol it calls needs to be exported |
| 11 | // for external linking to work. |
| 12 | // |
| 13 | //go:cgo_export_static _cgo_reginit |