diff options
author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-09-02 11:23:15 +1200 |
---|---|---|
committer | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-10-08 00:21:30 +0000 |
commit | a5cb76243af54a6729f5668317fb87baa242b9cc (patch) | |
tree | 17fec3b0ed013e7d1ed2865c89195d0ade9c6cfd /src/runtime/tls_arm.s | |
parent | 1ef9b5a5b90e6ea4dd5d9495cfe0d3d24446ff22 (diff) | |
download | go-a5cb76243af54a6729f5668317fb87baa242b9cc.tar.gz go-a5cb76243af54a6729f5668317fb87baa242b9cc.zip |
cmd/internal/obj, cmd/link, runtime: lots of TLS cleanup
It's particularly nice to get rid of the android special cases in the linker.
Change-Id: I516363af7ce8a6b2f196fe49cb8887ac787a6dad
Reviewed-on: https://go-review.googlesource.com/14197
Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/tls_arm.s')
-rw-r--r-- | src/runtime/tls_arm.s | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/tls_arm.s b/src/runtime/tls_arm.s index 4ff0ae4ccc..00ca46993f 100644 --- a/src/runtime/tls_arm.s +++ b/src/runtime/tls_arm.s @@ -58,9 +58,6 @@ TEXT runtimeĀ·load_g(SB),NOSPLIT,$0 // See save_g MRC 15, 0, R0, C13, C0, 3 // fetch TLS base pointer BIC $3, R0 // Darwin/ARM might return unaligned pointer - // $runtime.tlsg(SB) is a special linker symbol. - // It is the offset from the TLS base pointer to our - // thread-local storage for g. MOVW runtimeĀ·tls_g(SB), R11 ADD R11, R0 MOVW 0(R0), g |