1 use crate::spec::{LinkerFlavor, Target, TargetOptions, TargetResult};
3 pub fn target() -> TargetResult {
4 let base = super::linux_base::opts();
6 llvm_target: "armv4t-unknown-linux-gnueabi".to_string(),
7 target_endian: "little".to_string(),
8 target_pointer_width: "32".to_string(),
9 target_c_int_width: "32".to_string(),
10 data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
11 arch: "arm".to_string(),
12 target_os: "linux".to_string(),
13 target_env: "gnu".to_string(),
14 target_vendor: "unknown".to_string(),
15 linker_flavor: LinkerFlavor::Gcc,
17 options: TargetOptions {
18 features: "+soft-float,+strict-align".to_string(),
19 // Atomic operations provided by compiler-builtins
20 max_atomic_width: Some(32),
21 abi_blacklist: super::arm_base::abi_blacklist(),
22 target_mcount: "\u{1}__gnu_mcount_nc".to_string(),