]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj, runtime: implement IE model TLS on ppc64le
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Fri, 16 Oct 2015 08:15:18 +0000 (21:15 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Thu, 12 Nov 2015 23:50:27 +0000 (23:50 +0000)
commita35c85c0cc518b89e0318bf8b6c2c584c61090bb
tree76077564ebebf056df81787bfe5e6738e069c4f6
parentbd329d47d9f4ebf6f627372ed28315030d05f7b7
cmd/internal/obj, runtime: implement IE model TLS on ppc64le

This requires changing the tls access code to match the patterns documented in
the ABI documentation or the system linker will "optimize" it into ridiculousness.

With this change, -buildmode=pie works, although as it is tested in testshared,
the tests are not run yet.

Change-Id: I1efa6687af0a5b8db3385b10f6542a49056b2eb3
Reviewed-on: https://go-review.googlesource.com/15971
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/ppc64/a.out.go
src/cmd/internal/obj/ppc64/anames9.go
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ppc64/asm.go
src/runtime/tls_ppc64x.s