Commit c091d4cd authored by Rahul Chaudhry's avatar Rahul Chaudhry Committed by Ian Lance Taylor

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/17246Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
parent 4480d6a9
......@@ -4,6 +4,7 @@
#ifdef GOOS_android
#define TLS_linux
#define TLSG_IS_VARIABLE
#endif
#ifdef GOOS_linux
#define TLS_linux
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment