]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo, runtime/cgo: support ppc64
authorAustin Clements <austin@google.com>
Tue, 16 Dec 2014 23:34:55 +0000 (18:34 -0500)
committerAustin Clements <austin@google.com>
Wed, 7 Jan 2015 20:36:27 +0000 (20:36 +0000)
commitaf7ca8dce4991860263d5e0d0322461cfd00c599
treed590342faa9de3ff44ed3f50dffd1e94abf29fc4
parentf1c4444dfcca5967543d43190b6c80c9254b99ac
cmd/cgo, runtime/cgo: support ppc64

This implements support for calls to and from C in the ppc64 C ABI, as
well as supporting functionality such as an entry point from the
dynamic linker.

Change-Id: I68da6df50d5638cb1a3d3fef773fb412d7bf631a
Reviewed-on: https://go-review.googlesource.com/2009
Reviewed-by: Russ Cox <rsc@golang.org>
14 files changed:
src/cmd/cgo/out.go
src/go/build/build.go
src/run.bash
src/runtime/asm_ppc64x.s
src/runtime/cgo/asm_ppc64x.s [new file with mode: 0644]
src/runtime/cgo/gcc_linux_ppc64x.c [new file with mode: 0644]
src/runtime/cgo/gcc_ppc64x.S [new file with mode: 0644]
src/runtime/cgocall.go
src/runtime/crash_cgo_test.go
src/runtime/rt0_linux_ppc64.s
src/runtime/rt0_linux_ppc64le.s
src/runtime/runtime1.go
src/runtime/sys_linux_ppc64x.s
src/runtime/tls_ppc64x.s