about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-01-05 17:22:06 +0800
committerGitHub <noreply@github.com>2018-01-05 17:22:06 +0800
commit26d129ce3900df3536f29f84b955b6fe8d6b35d0 (patch)
tree91ccde0f30f2d69a35e5721fa3872297a896a5d4 /src/rustllvm/RustWrapper.cpp
parent016f7f49c24593e455c056f5cc8d047bd924a82b (diff)
parent05949b09a87e8753601441484e17aecc8438e3ce (diff)
downloadrust-26d129ce3900df3536f29f84b955b6fe8d6b35d0.tar.gz
rust-26d129ce3900df3536f29f84b955b6fe8d6b35d0.zip
Rollup merge of #47110 - EdSchouten:cloudabi-tls, r=kennytm
Use the right TLS model for CloudABI.

CloudABI doesn't do dynamic linking. For this reason, there is no need
to handle any other TLS model than local-exec. CloudABI's C library
doesn't provide a __tls_get_addr() function to do Dynamic TLS.

By forcing local-exec to be used here, we ensure that we don't generate
function calls to __tls_get_addr().
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions