Dan Willemsen | 38f2dba | 2016-07-08 14:54:35 -0700 | [diff] [blame] | 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 | |
Dan Willemsen | cc753b7 | 2021-08-31 13:25:42 -0700 | [diff] [blame] | 5 | //go:build ppc64 || ppc64le |
Dan Willemsen | 38f2dba | 2016-07-08 14:54:35 -0700 | [diff] [blame] | 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 | //go:cgo_export_static _cgo_reginit |