Rename has_elf_tls to has_thread_local

This commit is contained in:
Chris Denton
2021-12-17 20:56:38 +00:00
parent 9ca26f111a
commit 391332c5d9
15 changed files with 21 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ pub fn opts() -> TargetOptions {
.push("-Wl,--allow-multiple-definition".to_string());
base.dwarf_version = Some(2);
base.position_independent_executables = true;
base.has_elf_tls = false;
base.has_thread_local = false;
// This is for backward compatibility, see https://github.com/rust-lang/rust/issues/49867
// for context. (At that time, there was no `-C force-unwind-tables`, so the only solution
// was to always emit `uwtable`).