96e5990 Fix the read/write flag for these registers on AArch64

Authored and Committed by Tamar Christina 5 years ago
    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.
    
    (cherry picked from commit cba05feb51cb97f75f9a7814b081ce45245ac7b2)
    Signed-off-by: Tamar Christina <tamar.christina@arm.com>
    
        
file modified
+7 -0
file modified
+6 -0
file modified
+5 -5