Revert "Inline TLS access. (mono/mono#16882)" (mono/mono#17092)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 26 Sep 2019 21:10:51 +0000 (23:10 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2019 21:10:51 +0000 (23:10 +0200)
commitfdcec9fd931b974df08e055f5684d61268c11ef5
tree7c65770977084370c0362a60c9c4190eba3d2f39
parentba1b2cc8d34273d3a707d3e593bdb567086982c1
Revert "Inline TLS access. (mono/mono#16882)" (mono/mono#17092)

Reverts mono/monomono/mono#16882

This broke the Mono Android SDKs build in master though for some reason it doesn't show up in the PR build:

```
[2019-09-26T03:19:55.366Z] Undefined symbols for architecture x86_64:
[2019-09-26T03:19:55.366Z]   "_mono_tls_key_jit_tls", referenced from:
[2019-09-26T03:19:55.366Z]       _mono_tls_get_jit_tls in libmain_a-main-sgen.o
[2019-09-26T03:19:55.366Z]   "_mono_tls_key_lmf_addr", referenced from:
[2019-09-26T03:19:55.366Z]       _mono_tls_get_lmf_addr in libmain_a-main-sgen.o
[2019-09-26T03:19:55.366Z] ld: symbol(s) not found for architecture x86_64
[2019-09-26T03:19:55.366Z] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2019-09-26T03:19:55.366Z] gmake[6]: *** [Makefile:1634: mono-sgen] Error 1
[2019-09-26T03:19:55.366Z] gmake[6]: Leaving directory '/Users/builder/jenkins/workspace/archive-mono/master/android/debug/sdks/builds/android-host-Darwin-debug/mono/mini'
```.

Commit migrated from https://github.com/mono/mono/commit/bffd4c6b99213a0b154d7efac9b0581df67775e8
src/mono/mono/metadata/jit-icall-reg.h
src/mono/mono/mini/exceptions-amd64.c
src/mono/mono/mini/mini-arm.c
src/mono/mono/mini/mini-ppc.c
src/mono/mono/mini/mini-runtime.c
src/mono/mono/mini/mini-s390x.c
src/mono/mono/utils/mono-tls.c
src/mono/mono/utils/mono-tls.h