1 use crate::abi::Endian;
2 use crate::spec::{LinkerFlavor, Target};
4 pub fn target() -> Target {
5 let mut base = super::openbsd_base::opts();
6 base.endian = Endian::Big;
7 base.cpu = "v9".to_string();
8 base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m64".to_string());
9 base.max_atomic_width = Some(64);
12 llvm_target: "sparc64-unknown-openbsd".to_string(),
14 data_layout: "E-m:e-i64:64-n32:64-S128".to_string(),
15 arch: "sparc64".to_string(),