]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: always mark tlsg STLSBSS
authorDavid Crawshaw <crawshaw@golang.org>
Fri, 13 Feb 2015 19:52:07 +0000 (14:52 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Fri, 13 Feb 2015 21:27:21 +0000 (21:27 +0000)
commitae3229ae5c12a2bfce2961e21c299f286e8b8cb1
tree14ed7c2f84d0ff58e62179b5b9dc85a6cf1c945f
parent69937d213192b1a87d6ca8a71337b7aa05f3566e
cmd/ld: always mark tlsg STLSBSS

Android apps build again.

Defining TLSG in runtime/tls_arm.s gives it the type SNOPTRBSS, so its
type was never being set when GOOS=android. I considered modifying the
if statement, but I no longer understand the intention of the original
change (in d738c6b0cad). We were always setting it before, what
platform is this not valid for?

Fixes #9829

Change-Id: I3eaa4a9590893eff67695797eb22547a170cdbcd
Reviewed-on: https://go-review.googlesource.com/4834
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
src/cmd/ld/lib.c