1 use crate::abi::Endian;
2 use crate::spec::{LinkerFlavor, Target, TargetOptions};
4 pub fn target() -> Target {
5 let mut base = super::linux_musl_base::opts();
6 base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m32".to_string());
7 base.max_atomic_width = Some(32);
10 llvm_target: "powerpc-unknown-linux-musl".to_string(),
12 data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
13 arch: "powerpc".to_string(),
14 options: TargetOptions { endian: Endian::Big, mcount: "_mcount".to_string(), ..base },