Commit 8537ff8a authored by Michael Hudson-Doyle's avatar Michael Hudson-Doyle

runtime/cgo: export _cgo_reginit on ppc64x

This is needed to make external linking work.

Change-Id: I4cf7edb4ea318849cab92a697952f8745eed40c4
Reviewed-on: https://go-review.googlesource.com/14237Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent c6f28058
// Copyright 2015 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 runtime
// +build ppc64 ppc64le
// crosscall_ppc64 calls into the runtime to set up the registers the
// Go runtime expects and so the symbol it calls needs to be exported
// for external linking to work.
//go:cgo_export_static _cgo_reginit
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment