]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: add port for aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 15:05:23 +0000 (16:05 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Mar 2019 05:07:54 +0000 (05:07 +0000)
commit53d859bdf570699c7d581f6ba3cdc45d0ad102f3
treef2baf1826e28470e5de79d2402f3d7a728cd2158
parent312bfc5d55994aaef5910716e096a675aa3bce39
runtime/cgo: add port for aix/ppc64

This commit add port of runtime/cgo for aix/ppc64.
AIX assembly is different from Linux assembly, therefore gcc_ppc64.S
must be redone for AIX.

Change-Id: I780ebab4ef9c4ce912f4c4d521d8c135b1eebf6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/164002
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/cgo/asm_ppc64x.s
src/runtime/cgo/gcc_aix_ppc64.S [new file with mode: 0644]
src/runtime/cgo/gcc_context.c
src/runtime/cgo/gcc_fatalf.c
src/runtime/cgo/gcc_libinit.c
src/runtime/cgo/gcc_linux_ppc64x.S [moved from src/runtime/cgo/gcc_ppc64x.S with 99% similarity]
src/runtime/cgo/gcc_ppc64x.c [moved from src/runtime/cgo/gcc_linux_ppc64x.c with 100% similarity]
src/runtime/cgo/gcc_setenv.c
src/runtime/cgo/setenv.go