Enable inline stack probes on PowerPC and SystemZ
This commit is contained in:
parent
e1d7dec558
commit
ad8f519ed7
23 changed files with 107 additions and 48 deletions
|
@ -1,10 +1,11 @@
|
|||
use crate::abi::Endian;
|
||||
use crate::spec::{LinkerFlavor, Target, TargetOptions};
|
||||
use crate::spec::{LinkerFlavor, StackProbeType, Target, TargetOptions};
|
||||
|
||||
pub fn target() -> Target {
|
||||
let mut base = super::linux_gnu_base::opts();
|
||||
base.add_pre_link_args(LinkerFlavor::Gcc, &["-mspe"]);
|
||||
base.max_atomic_width = Some(32);
|
||||
base.stack_probes = StackProbeType::Inline;
|
||||
|
||||
Target {
|
||||
llvm_target: "powerpc-unknown-linux-gnuspe".into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue