Rollup merge of #62808 - crlf0710:gnux32_stack_probe, r=nikic

Revert "Disable stack probing for gnux32."

This reverts commit 42d652ecd6. (#59686)

Closes #59674.
This commit is contained in:
Mark Rousskov 2019-07-23 12:51:10 -04:00 committed by GitHub
commit 66c2965ac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,7 @@ pub fn target() -> TargetResult {
base.cpu = "x86-64".to_string();
base.max_atomic_width = Some(64);
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-mx32".to_string());
// BUG: temporarily workaround #59674
base.stack_probes = false;
base.stack_probes = true;
base.has_elf_tls = false;
// BUG(GabrielMajeri): disabling the PLT on x86_64 Linux with x32 ABI
// breaks code gen. See LLVM bug 36743