]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/powerpc_unknown_openbsd.rs
Auto merge of #2680 - RalfJung:rustup, r=RalfJung
[rust.git] / compiler / rustc_target / src / spec / powerpc_unknown_openbsd.rs
1 use crate::abi::Endian;
2 use crate::spec::{StackProbeType, Target};
3
4 pub fn target() -> Target {
5     let mut base = super::openbsd_base::opts();
6     base.endian = Endian::Big;
7     base.max_atomic_width = Some(32);
8     base.stack_probes = StackProbeType::Inline;
9
10     Target {
11         llvm_target: "powerpc-unknown-openbsd".into(),
12         pointer_width: 32,
13         data_layout: "E-m:e-p:32:32-i64:64-n32".into(),
14         arch: "powerpc".into(),
15         options: base,
16     }
17 }