1
Fork 0

Enable inline stack probes on PowerPC and SystemZ

This commit is contained in:
Josh Stone 2022-09-26 13:40:24 -07:00
parent e1d7dec558
commit ad8f519ed7
23 changed files with 107 additions and 48 deletions

View file

@ -1,5 +1,5 @@
use crate::abi::Endian;
use crate::spec::Target;
use crate::spec::{StackProbeType, Target};
pub fn target() -> Target {
let mut base = super::linux_musl_base::opts();
@ -13,6 +13,7 @@ pub fn target() -> Target {
base.max_atomic_width = Some(64);
base.min_global_align = Some(16);
base.static_position_independent_executables = true;
base.stack_probes = StackProbeType::Inline;
Target {
llvm_target: "s390x-unknown-linux-musl".into(),