]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | use crate::spec::{Target, TargetOptions}; |
476ff2be | 2 | |
29967ef6 | 3 | pub fn target() -> Target { |
29967ef6 | 4 | Target { |
476ff2be | 5 | llvm_target: "armv5te-unknown-linux-gnueabi".to_string(), |
29967ef6 | 6 | pointer_width: 32, |
416331ca | 7 | data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), |
476ff2be | 8 | arch: "arm".to_string(), |
476ff2be | 9 | options: TargetOptions { |
136023e0 | 10 | abi: "eabi".to_string(), |
7cac9316 | 11 | features: "+soft-float,+strict-align".to_string(), |
ff7c6d11 | 12 | // Atomic operations provided by compiler-builtins |
ea8adc8c | 13 | max_atomic_width: Some(32), |
29967ef6 XL |
14 | mcount: "\u{1}__gnu_mcount_nc".to_string(), |
15 | has_thumb_interworking: true, | |
136023e0 | 16 | ..super::linux_gnu_base::opts() |
dfeec247 | 17 | }, |
29967ef6 | 18 | } |
476ff2be | 19 | } |