]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/x86: implement -shared computation of TLS base
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Mon, 9 Mar 2015 00:21:51 +0000 (13:21 +1300)
committerIan Lance Taylor <iant@golang.org>
Thu, 12 Mar 2015 03:18:21 +0000 (03:18 +0000)
commit14fbec49dce3b655fe667be98e8d3186f786eec1
treebd50db90eef997e3d502a7b873d06c16aa973f47
parent4f489f59c28aa9d8e6114132869e49b0734bc6ec
cmd/internal/obj/x86: implement -shared computation of TLS base

Somehow, terribly embarrassingly, I lost part of the "re-enable
-shared on amd64" patch when rebasing before it got submitted.
This restores it and also fixes the addend to be the necessary -4.

Now updated so that Git will not put the new case into the wrong
switch.

Change-Id: I1d628232771a6d6ce6d085adf379f94a377822c5
Reviewed-on: https://go-review.googlesource.com/7126
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/obj/x86/asm6.go