diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 17:50:24 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-11-30 17:50:24 +0000 |
commit | 1864b6578bd96bee057ed4ce5f69917c9ad9abc9 (patch) | |
tree | 6dc19b9e2e0f6f5b33c26f5d65f36f86730e958c /gdb/utils.c | |
parent | 31a8056f2f519fda71682cffd0eac6ba87a59c8e (diff) | |
download | binutils-1864b6578bd96bee057ed4ce5f69917c9ad9abc9.zip binutils-1864b6578bd96bee057ed4ce5f69917c9ad9abc9.tar.gz binutils-1864b6578bd96bee057ed4ce5f69917c9ad9abc9.tar.bz2 |
aarch64: Mark PMSIDR_EL1 as read-only
We were incorrectly allowing writes to PMSIDR_EL1, which is
a read-only register.
[https://developer.arm.com/documentation/ddi0595/2021-09/AArch64-Registers/PMSIDR-EL1--Sampling-Profiling-ID-Register?lang=en]
opcodes/
* aarch64-opc.c (aarch64_sys_regs): Make pmsidr_el1 as F_REG_READ.
gas/
* testsuite/gas/aarch64/msr.s: Remove write to pmsidr_el1.
* testsuite/gas/aarch64/msr.d: Update accordingly.
* testsuite/gas/aarch64/illegal-sysreg-2.s,
* testsuite/gas/aarch64/illegal-sysreg-2.d,
* testsuite/gas/aarch64/illegal-sysreg-2.l: New test.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions