1 use crate::spec::{Target, TargetOptions};
3 pub fn target() -> Target {
4 let base = super::netbsd_base::opts();
6 llvm_target: "armv7-unknown-netbsdelf-eabihf".to_string(),
8 data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
9 arch: "arm".to_string(),
11 options: TargetOptions {
12 env: "eabihf".to_string(),
13 features: "+v7,+vfp3,-d32,+thumb2,-neon".to_string(),
14 cpu: "generic".to_string(),
15 max_atomic_width: Some(64),
16 unsupported_abis: super::arm_base::unsupported_abis(),
17 mcount: "__mcount".to_string(),