-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add built-in support for the armv5te-unknown-linux-uclibceabi target
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
compiler/rustc_target/src/spec/armv5te_unknown_linux_uclibceabi.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
use crate::spec::{Target, TargetOptions}; | ||
|
||
pub fn target() -> Target { | ||
Target { | ||
llvm_target: "armv5te-unknown-linux-uclibcgnueabi".to_string(), | ||
pointer_width: 32, | ||
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".to_string(), | ||
arch: "arm".to_string(), | ||
options: TargetOptions { | ||
features: "+soft-float,+strict-align".to_string(), | ||
// Atomic operations provided by compiler-builtins | ||
max_atomic_width: Some(32), | ||
unsupported_abis: super::arm_base::unsupported_abis(), | ||
mcount: "\u{1}__gnu_mcount_nc".to_string(), | ||
has_thumb_interworking: true, | ||
|
||
..super::linux_uclibc_base::opts() | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters