]> Cypherpunks repositories - gostls13.git/commit
cmd/link, runtime: allow external linking for aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 15:16:38 +0000 (16:16 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Mar 2019 15:32:25 +0000 (15:32 +0000)
commit80f10965ee9f6063f587baffce9c1fa8fc80a5ba
tree822314736af480d9f1793616d7420e0073048c1b
parent0ff0df8be3b2e532de6a18ba4040d2a7ebaee37f
cmd/link, runtime: allow external linking for aix/ppc64

This commit adds external linking in cmd/link for aix/ppc64.
As relocations on .text data aren't possible on AIX, Segrelrodata is
used to move all these datas to .data section.

Change-Id: I4d1361c1fc9290e11e6f5560864460c76551dbeb
Reviewed-on: https://go-review.googlesource.com/c/go/+/164003
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/link/internal/ld/config.go
src/cmd/link/internal/ld/data.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/xcoff.go
src/cmd/link/internal/ppc64/asm.go
src/cmd/link/internal/ppc64/obj.go
src/runtime/asm_ppc64x.s
src/runtime/rt0_aix_ppc64.s