Set max-atomic-width for armv4 and armv5 to zero, to disable atomics
This commit is contained in:
parent
dbcb048e28
commit
99a393444c
4 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ pub(crate) fn target() -> Target {
|
|||
asm_args: cvs!["-mthumb-interwork", "-march=armv4t", "-mlittle-endian",],
|
||||
features: "+soft-float,+strict-align".into(),
|
||||
atomic_cas: false,
|
||||
max_atomic_width: Some(0),
|
||||
has_thumb_interworking: true,
|
||||
..base::arm_none::opts()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ pub(crate) fn target() -> Target {
|
|||
asm_args: cvs!["-mthumb-interwork", "-march=armv5te", "-mlittle-endian",],
|
||||
features: "+soft-float,+strict-align".into(),
|
||||
atomic_cas: false,
|
||||
max_atomic_width: Some(0),
|
||||
has_thumb_interworking: true,
|
||||
..base::arm_none::opts()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ pub(crate) fn target() -> Target {
|
|||
asm_args: cvs!["-mthumb-interwork", "-march=armv4t", "-mlittle-endian",],
|
||||
features: "+soft-float,+strict-align".into(),
|
||||
atomic_cas: false,
|
||||
max_atomic_width: Some(0),
|
||||
has_thumb_interworking: true,
|
||||
..base::arm_none::opts()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ pub(crate) fn target() -> Target {
|
|||
asm_args: cvs!["-mthumb-interwork", "-march=armv5te", "-mlittle-endian",],
|
||||
features: "+soft-float,+strict-align".into(),
|
||||
atomic_cas: false,
|
||||
max_atomic_width: Some(0),
|
||||
has_thumb_interworking: true,
|
||||
..base::arm_none::opts()
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue