diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2015-12-14 16:28:46 +0000 |
---|---|---|
committer | Matthew Wahab <matthew.wahab@arm.com> | 2015-12-14 16:28:46 +0000 |
commit | 6351190792e586b5e80fe0efa0f254b4da0b6705 (patch) | |
tree | ad901d7df16cfb1d78865c3e05618c4c3e2ec2ab /gdb/annotate.c | |
parent | 132874d7e3c94d8cc6f865b57f286cf62e5ad0b8 (diff) | |
download | gdb-6351190792e586b5e80fe0efa0f254b4da0b6705.zip gdb-6351190792e586b5e80fe0efa0f254b4da0b6705.tar.gz gdb-6351190792e586b5e80fe0efa0f254b4da0b6705.tar.bz2 |
[AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch
A mistake with rebasing the ARMv8.2 AT instruction patch left this part
+ /* AT S1E1RP, AT S1E1WP. Values are from aarch64_sys_regs_at. */
+ if ((reg->value == CPENS (0, C7, C9, 0)
+ || reg->value == CPENS (0, C7, C9, 1))
+ && !AARCH64_CPU_HAS_FEATURE (features, AARCH64_FEATURE_V8_2))
+ return FALSE;
in aarch64_pstatefield_supported_p rather than in
aarch64_sys_ins_reg_supported_p, where it was supposed to be.
The patch adding support for id_aa64mmfr2_el1, also had the effect of
removing a conditional branch in aarch64_sys_reg_supported_p.
The effect of both of these is to suppress an error if some ARMv8.2
system registers are used with the wrong -march settings.
This patch fixes these mistakes.
opcodes/
2015-12-14 Matthew Wahab <matthew.wahab@arm.com>
* aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
removed statement.
(aarch64_pstatefield_supported_p): Move feature checks for AT
registers ..
(aarch64_sys_ins_reg_supported_p): .. to here.
Change-Id: I48783d118eaaf0f3312e8b08a8340ef7af4e36a4
Diffstat (limited to 'gdb/annotate.c')
0 files changed, 0 insertions, 0 deletions