Ticket #68364: patch-force_emulate_tls.diff
File patch-force_emulate_tls.diff, 1010 bytes (added by Schamschula (Marius Schamschula), 10 months ago) |
---|
-
src/llvm-project/llvm/include/llvm/TargetParser/Triple.h
old new 960 960 961 961 /// Tests whether the target uses emulated TLS as default. 962 962 bool hasDefaultEmulatedTLS() const { 963 return isAndroid() || isOSOpenBSD() || isWindowsCygwinEnvironment();963 return true; 964 964 } 965 965 966 966 /// Tests whether the target uses -data-sections as default. -
compiler/rustc_target/src/spec/apple_base.rs
old new 122 122 // TLS is flagged as enabled if it looks to be supported. The architecture 123 123 // only matters for default deployment target which is 11.0 for ARM64 and 124 124 // 10.7 for everything else. 125 let has_thread_local = os == "macos" && macos_deployment_target(Arch::X86_64) >= (10, 7);125 let has_thread_local = false; 126 126 127 127 let abi = arch.target_abi(); 128 128