Skip to content

Commit 4897093

Browse files
committed
armebv7r-none-eabihf: default to ARM mode
- remove +thumb2 that has not effect - remove -mthumb Tested on TMS570LS3137
1 parent d1e7ab9 commit 4897093

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ci/docker/disabled/dist-armebv7r-none-eabihf/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV PATH=$PATH:/$GCC_LINARO/bin
2929
ENV TARGET=armebv7r-none-eabihf
3030

3131
ENV CC_armebv7r_none_eabihf=armeb-eabi-gcc \
32-
CFLAGS_armebv7r_none_eabihf="-mthumb -march=armv7-r"
32+
CFLAGS_armebv7r_none_eabihf="-march=armv7-r"
3333

3434
ENV RUST_CONFIGURE_ARGS --disable-docs
3535

src/librustc_target/spec/armebv7r_none_eabihf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn target() -> TargetResult {
3030
executables: true,
3131
relocation_model: "static".to_string(),
3232
panic_strategy: PanicStrategy::Abort,
33-
features: "+v7,+thumb2,+vfp3,+d16,+fp-only-sp".to_string(),
33+
features: "+v7,+vfp3,+d16,+fp-only-sp".to_string(),
3434
max_atomic_width: Some(32),
3535
abi_blacklist: super::arm_base::abi_blacklist(),
3636
emit_debug_gdb_scripts: false,

0 commit comments

Comments
 (0)