asm: Allow using r9 (ARM) and x18 (AArch64) if they are not reserved by
the current target.
This commit is contained in:
parent
0b42deaccc
commit
8716f2780e
5 changed files with 72 additions and 9 deletions
|
@ -36,6 +36,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
|
|||
// #[target_feature].
|
||||
("thumb-mode", Some(sym::arm_target_feature)),
|
||||
("thumb2", Some(sym::arm_target_feature)),
|
||||
("reserve-r9", Some(sym::arm_target_feature)),
|
||||
];
|
||||
|
||||
const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue