1 use crate::spec::{Target, TargetOptions};
3 // This target is for uclibc Linux on ARMv7 without NEON or
4 // thumb-mode. See the thumbv7neon variant for enabling both.
6 pub fn target() -> Target {
7 let base = super::linux_uclibc_base::opts();
9 llvm_target: "armv7-unknown-linux-gnueabihf".into(),
11 data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
14 options: TargetOptions {
15 // Info about features at https://wiki.debian.org/ArmHardFloatPort
16 features: "+v7,+vfp3,-d32,+thumb2,-neon".into(),
17 cpu: "generic".into(),
18 max_atomic_width: Some(64),
19 mcount: "_mcount".into(),