]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86, cmd/link/internal/x86: support IE model TLS on linux/386
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Tue, 27 Oct 2015 22:40:22 +0000 (11:40 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Wed, 18 Nov 2015 01:57:01 +0000 (01:57 +0000)
commit3bf61fb2e53afaaec4386376c4d6e677767cfff4
tree72a643d95c24c0c76130fb4c1f87e74ffa8e16b6
parent61da0e92d06137dec73c736ab93213ac652a06fe
cmd/internal/obj/x86, cmd/link/internal/x86: support IE model TLS on linux/386

This includes the first parts of the general approach to PIC: load PC into CX
whenever it is needed. This is going to lead to large binaries and poor
performance but it's a start and easy to get right.

Change-Id: Ic8bf1d0a74284cca0d94a68cf75024e8ab063b4e
Reviewed-on: https://go-review.googlesource.com/16383
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/obj/x86/asm6.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/x86/asm.go
src/cmd/link/internal/x86/obj.go