1 use crate::spec::{Target, TargetOptions};
3 // This target is for glibc Linux on ARMv7 without NEON or
4 // thumb-mode. See the thumbv7neon variant for enabling both.
6 pub fn target() -> Target {
8 llvm_target: "armv7-unknown-linux-gnueabihf".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 options: TargetOptions {
13 abi: "eabihf".to_string(),
14 // Info about features at https://wiki.debian.org/ArmHardFloatPort
15 features: "+v7,+vfp3,-d32,+thumb2,-neon".to_string(),
16 max_atomic_width: Some(64),
17 mcount: "\u{1}__gnu_mcount_nc".to_string(),
18 ..super::linux_gnu_base::opts()