From a5cb76243af54a6729f5668317fb87baa242b9cc Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Wed, 2 Sep 2015 11:23:15 +1200 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/cmd/internal/obj/arm64/asm7.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/cmd/internal/obj/arm64') diff --git a/src/cmd/internal/obj/arm64/asm7.go b/src/cmd/internal/obj/arm64/asm7.go index 3a56018985..a78c37e87d 100644 --- a/src/cmd/internal/obj/arm64/asm7.go +++ b/src/cmd/internal/obj/arm64/asm7.go @@ -631,9 +631,6 @@ func span7(ctxt *obj.Link, cursym *obj.LSym) { /* * lay out the code, emitting code and data relocations. */ - if ctxt.Tlsg == nil { - ctxt.Tlsg = obj.Linklookup(ctxt, "runtime.tlsg", 0) - } obj.Symgrow(ctxt, cursym, cursym.Size) bp := cursym.P psz := int32(0) -- cgit v1.3-5-g9baa