about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLokathor <zefria@gmail.com>2020-07-18 21:57:37 -0600
committerLokathor <zefria@gmail.com>2020-07-18 21:57:37 -0600
commit4c8e62b43313136d41a55340032ba02a81ac941c (patch)
tree0d13428dec38896b67e652bcf52de337965806da /src
parent5c63bffe2d893123da0a54410fe7b9bad324c58c (diff)
Resolve https://github.com/rust-lang/rust/pull/74419#issuecomment-660518936
Diffstat (limited to 'src')
-rw-r--r--src/librustc_target/spec/thumbv4t_none_eabi.rs15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/librustc_target/spec/thumbv4t_none_eabi.rs b/src/librustc_target/spec/thumbv4t_none_eabi.rs
index 04a272cb4ae..1e55efbb59f 100644
--- a/src/librustc_target/spec/thumbv4t_none_eabi.rs
+++ b/src/librustc_target/spec/thumbv4t_none_eabi.rs
@@ -48,10 +48,6 @@ pub fn target() -> TargetResult {
             // minimum extra features, these cannot be disabled via -C
             features: "+soft-float,+strict-align".to_string(),
 
-            executables: true,
-
-            relocation_model: RelocModel::Static,
-
             main_needs_argc_argv: false,
 
             // No thread-local storage (just use a static Cell)
@@ -60,16 +56,7 @@ pub fn target() -> TargetResult {
             // don't have atomic compare-and-swap
             atomic_cas: false,
 
-            // always just abort
-            panic_strategy: PanicStrategy::Abort,
-
-            // ABIs to not use
-            unsupported_abis: super::arm_base::unsupported_abis(),
-
-            // this is turned off just like in the `thumb_base` module
-            emit_debug_gdb_scripts: false,
-
-            ..TargetOptions::default()
+            ..super::thumb_base::opts()
         },
     })
 }