Skip to content
  • Tamar Christina's avatar
    Fix the read/write flag for these registers on AArch64 · 96e59904
    Tamar Christina authored
    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 cba05feb
    
    )
    Signed-off-by: default avatarTamar Christina <tamar.christina@arm.com>
    96e59904