Skip to content

Commit

Permalink
Rollup merge of rust-lang#59686 - crlf0710:disable_gnux32_stackprobe,…
Browse files Browse the repository at this point in the history
… r=luqmana

Temporarily disable stack probing for gnux32.
  • Loading branch information
Centril authored Apr 4, 2019
2 parents 4954cae + 42d652e commit 31c2f5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustc_target/spec/x86_64_unknown_linux_gnux32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ 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());
base.stack_probes = true;
// BUG: temporarily workaround #59674
base.stack_probes = false;
base.has_elf_tls = false;
// BUG(GabrielMajeri): disabling the PLT on x86_64 Linux with x32 ABI
// breaks code gen. See LLVM bug 36743
Expand Down

0 comments on commit 31c2f5d

Please sign in to comment.