github.com/riscv/riscv-go@v0.0.0-20200123204226-124ebd6fcc8e/src/runtime/cgo_ppc64x.go (about)

     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  // +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  //go:cgo_export_static _cgo_reginit