go/src/cmd/internal
Michael Hudson-Doyle c9b8cab16c cmd/internal/obj, cmd/link, runtime: handle TLS more like a platform linker on ppc64
On ppc64x, the thread pointer, held in R13, points 0x7000 bytes past where
thread-local storage begins (presumably to maximize the amount of storage that
can be accessed with a 16-bit signed displacement). The relocations used to
indicate thread-local storage to the platform linker account for this, so to be
able to support external linking we need to change things so the linker applies
this offset instead of the runtime assembly.

Change-Id: I2556c249ab2d802cae62c44b2b4c5b44787d7059
Reviewed-on: https://go-review.googlesource.com/14233
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
2015-10-29 22:24:29 +00:00
..
gcprog runtime: replace GC programs with simpler encoding, faster decoder 2015-05-16 00:38:17 +00:00
goobj cmd/internal/goobj: permit 0 bytes in export data (prep. for new export format) 2015-10-22 18:05:49 +00:00
obj cmd/internal/obj, cmd/link, runtime: handle TLS more like a platform linker on ppc64 2015-10-29 22:24:29 +00:00
objfile cmd/internal/objfile: use golang.org/x/arch instead of rsc.io 2015-08-28 16:34:39 +00:00