Fix the read/write flag for these registers on AArch64
authorTamar Christina <tamar.christina@arm.com>
Fri, 6 Jul 2018 15:15:41 +0000 (16:15 +0100)
committerTamar Christina <tamar.christina@arm.com>
Fri, 6 Jul 2018 15:17:17 +0000 (16:17 +0100)
commitcba05feb51cb97f75f9a7814b081ce45245ac7b2
tree509612430e3ddb3c38ed28cb928229c761182757
parente0e5e971ae89da1ded13013bb7378dc5f09363af
Fix the read/write flag for these registers on AArch64

The previous constraints were based on information already in opcodes and it
seems that a few of them were wrong.  I have now hand verified the ones changed
by the previous patch and corrected where needed.

This prevents a warning to be issued when one shouldn't be.

opcodes/

PR binutils/23369
* aarch64-opc.c (aarch64_sys_regs): Make read/write csselr_el1,
vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1.

gas/testsuite/

PR binutils/23369
* gas/aarch64/msr.d (csselr_el1,
vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1): New.
* gas/aarch64/msr.s: Likewise.
gas/ChangeLog
gas/testsuite/gas/aarch64/msr.d
gas/testsuite/gas/aarch64/msr.s
opcodes/ChangeLog
opcodes/aarch64-opc.c