This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]