mirror of https://github.com/golang/go.git
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:
parent
4480d6a927
commit
c091d4cd25
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#ifdef GOOS_android
|
||||
#define TLS_linux
|
||||
#define TLSG_IS_VARIABLE
|
||||
#endif
|
||||
#ifdef GOOS_linux
|
||||
#define TLS_linux
|
||||
|
|
|
|||
Loading…
Reference in New Issue