summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-10-29 09:58:56 -0700
committerSam Clegg <sbc@chromium.org>2021-10-29 13:26:35 -0700
commit182b72aa486f618907c2bb7581a9d123738767eb (patch)
tree4ab8c627d71f00d56209db7c0425a675f296f73f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentfe953b15cf08a4d25a16bdbda23dfefb3568540b (diff)
[lld][WebAssembly] Generate TLS relocation code also when linking statically
Previously relocations were only generated for PIC output, but relocations for TLS GOT entries are always needed when shared memory is enabled, not just in PIC mode. This means that the `__wasm_apply_global_tls_relocs` is now generated even for statically linked (non-PIC) output. Without this the globals that hold the addresses of TLS symbols are not set correctly. Differential Revision: https://reviews.llvm.org/D112833
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions