runtime: set TLSG_IS_VARIABLE for android/arm64.

On android, runtime.tls_g is a normal variable.
TLS offset is computed in x_cgo_inittls.

Change-Id: I18bc9a736d5fb2a89d0f798956c754e3c10d10e2
Reviewed-on: https://go-review.googlesource.com/17246
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Rahul Chaudhry 2015-11-25 17:35:44 -08:00 committed by Ian Lance Taylor
parent 4480d6a927
commit c091d4cd25
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#ifdef GOOS_android
#define TLS_linux
#define TLSG_IS_VARIABLE
#endif
#ifdef GOOS_linux
#define TLS_linux