Rollup merge of #110377 - chrisnc:armv7-atomic-64, r=cjgillot
Update max_atomic_width of armv7r and armv7_sony_vita targets to 64. All armv7a and armv7r implementations support `ldrexd`/`strexd`, only armv7m does not.
This commit is contained in:
commit
c9b4c63e01
5 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ pub fn target() -> Target {
|
||||||
linker: Some("rust-lld".into()),
|
linker: Some("rust-lld".into()),
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(64),
|
||||||
emit_debug_gdb_scripts: false,
|
emit_debug_gdb_scripts: false,
|
||||||
// GCC and Clang default to 8 for arm-none here
|
// GCC and Clang default to 8 for arm-none here
|
||||||
c_enum_min_bits: Some(8),
|
c_enum_min_bits: Some(8),
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub fn target() -> Target {
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
features: "+vfp3,-d32,-fp16".into(),
|
features: "+vfp3,-d32,-fp16".into(),
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(64),
|
||||||
emit_debug_gdb_scripts: false,
|
emit_debug_gdb_scripts: false,
|
||||||
// GCC and Clang default to 8 for arm-none here
|
// GCC and Clang default to 8 for arm-none here
|
||||||
c_enum_min_bits: Some(8),
|
c_enum_min_bits: Some(8),
|
||||||
|
|
|
@ -33,7 +33,7 @@ pub fn target() -> Target {
|
||||||
pre_link_args,
|
pre_link_args,
|
||||||
exe_suffix: ".elf".into(),
|
exe_suffix: ".elf".into(),
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(64),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ pub fn target() -> Target {
|
||||||
linker: Some("rust-lld".into()),
|
linker: Some("rust-lld".into()),
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(64),
|
||||||
emit_debug_gdb_scripts: false,
|
emit_debug_gdb_scripts: false,
|
||||||
// GCC and Clang default to 8 for arm-none here
|
// GCC and Clang default to 8 for arm-none here
|
||||||
c_enum_min_bits: Some(8),
|
c_enum_min_bits: Some(8),
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub fn target() -> Target {
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
features: "+vfp3,-d32,-fp16".into(),
|
features: "+vfp3,-d32,-fp16".into(),
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(64),
|
||||||
emit_debug_gdb_scripts: false,
|
emit_debug_gdb_scripts: false,
|
||||||
// GCC and Clang default to 8 for arm-none here
|
// GCC and Clang default to 8 for arm-none here
|
||||||
c_enum_min_bits: Some(8),
|
c_enum_min_bits: Some(8),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue