1 use crate::spec::{LinkerFlavor, Target, TargetOptions, TargetResult};
3 pub fn target() -> TargetResult {
4 let mut base = super::linux_base::opts();
5 base.max_atomic_width = Some(128);
8 llvm_target: "aarch64-unknown-linux-gnu".to_string(),
9 target_endian: "little".to_string(),
10 target_pointer_width: "64".to_string(),
11 target_c_int_width: "32".to_string(),
12 target_env: "gnu".to_string(),
13 data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".to_string(),
14 arch: "aarch64".to_string(),
15 target_os: "linux".to_string(),
16 target_vendor: "unknown".to_string(),
17 linker_flavor: LinkerFlavor::Gcc,
18 options: TargetOptions {
19 abi_blacklist: super::arm_base::abi_blacklist(),
20 target_mcount: "\u{1}_mcount".to_string(),