[PATCH, AArch64] Update pstate register table to have flags

Yufeng Zhang Yufeng.Zhang@arm.com
Wed Nov 20 11:12:00 GMT 2013


Hi,

This patch addresses the issue where error messages for deprecated 
system register names were issued when parsing a PSTATE value.  Nick 
patched the assembler by tweaking the parsing function here: 
http://sourceware.org/ml/binutils/2013-11/msg00216.html.  This stops the 
assembler to complain but the underlying issue is that the pstate 
register table needs an update to have the same element type as the 
general system register table.  This was overlooked when I prepared the 
patch to deprecate the alias system registers spsr_svc and spsr_hyp a 
couple of weeks ago: 
http://sourceware.org/ml/binutils/2013-11/msg00040.html.

OK to revert Nick's patch and commit this for the mainline and 2_24 branch?

Thanks,
Yufeng


gas/testsuite/

         * gas/aarch64/msr.s: Add tests.
         * gas/aarch64/msr.d: Update.

include/opcode

         * aarch64.h (aarch64_pstatefields): Change element type to
         aarch64_sys_reg.

opcodes/

         * aarch64-opc.c (aarch64_pstatefields): Update.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20131120/164951c4/attachment.ksh>


More information about the Binutils mailing list