Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
  • Loading branch information
Lokathor committed Jul 19, 2020
commit 4c8e62b43313136d41a55340032ba02a81ac941c
15 changes: 1 addition & 14 deletions src/librustc_target/spec/thumbv4t_none_eabi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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()
},
})
}