Change information
Commit message:
all: turn on cgo/external linking for linux/ppc64
ppc64/linux has been switched to the ELFv2 abi, the same as
ppc64le/linux. Turn on cgo features and remove many of the
hacks which disabled external linking. There should be no
difference between ppc64le and ppc64 linux beyond endianness.
The ppc64x Go to ELF relocation code is cleaned up to simplify
and enable bi-endian support.
Cq-Include-Trybots: luci.golang.try:gotip-linux-ppc64_power10,gotip-linux-ppc64_power8,gotip-linux-ppc64le_power8,gotip-linux-ppc64le_power10,gotip-linux-ppc64le_power9,gotip-openbsd-ppc64
Change-Id: I8f553a8eae067f93ee395c219e20eabd4aeb67c3
Files:
- R src/cmd/cgo/internal/test/callstub_linux_ppc64x.go
- R src/cmd/cgo/internal/test/linux_ppc64x_test.go
- R src/cmd/cgo/internal/test/stubtest_linux_ppc64x.S
- M src/cmd/compile/internal/noder/reader.go
- M src/cmd/compile/internal/ssa/regalloc.go
- M src/cmd/compile/internal/ssagen/abi.go
- M src/cmd/dist/build.go
- M src/cmd/dist/test.go
- M src/cmd/link/internal/ld/config.go
- M src/cmd/link/internal/ld/dwarf_test.go
- M src/cmd/link/internal/ppc64/asm.go
- M src/cmd/link/internal/ppc64/obj.go
- M src/cmd/link/link_test.go
- M src/internal/platform/supported.go
- M src/internal/platform/zosarch.go
- M src/runtime/asm_ppc64x.s
- M src/runtime/cgo/gcc_sigaction.c
- M src/runtime/cgo/sigaction.go
- M src/runtime/cgo_sigaction.go
- M src/runtime/crash_cgo_test.go
- M src/runtime/debug_test.go
- M src/runtime/debugcall.go
- R src/runtime/export_debug_ppc64x_test.go
- M src/runtime/export_debug_test.go
- M src/runtime/sigaction.go
- D src/runtime/stubs_ppc64.go
- M src/runtime/sys_linux_ppc64x.s
Change size: M
Delta: 27 files changed, 106 insertions(+), 135 deletions(-)
Branch: refs/heads/master