]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
[aarch64] GAS doesn't validate the architecture version for any tlbi registers. ...
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 10 Aug 2020 15:20:17 +0000 (16:20 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 10 Aug 2020 15:20:17 +0000 (16:20 +0100)
commitf7cb161ea6ffee167de3126023b2ce0fffd84076
tree9dc058c4d67de093d16167ae1cc16930daa240bb
parentf8e3fe0d2764e2976fec6a0ac48921893dc62bbf
[aarch64] GAS doesn't validate the architecture version for any tlbi registers.  Fixed with this patch.

* gas/config/tc-aarch64.c (parse_sys_reg): Call to
aarch64_sys_ins_reg_supported_p instead of aarch64_sys_reg_supported_p.
(parse_sys_ins_reg): Add aarch64_sys_reg_deprecated_p check.
* include/opcode/aarch64.h (aarch64_sys_reg_deprecated_p): Functions
paramaters changed.
(aarch64_sys_reg_supported_p): Function removed.
(aarch64_sys_ins_reg_supported_p): Functions paramaters changed.
* opcodes/aarch64-opc.c (aarch64_print_operand):
(aarch64_sys_reg_deprecated_p): Functions paramaters changed.
(aarch64_sys_reg_supported_p): Function removed.
(aarch64_sys_ins_reg_supported_p): Functions paramaters changed.
(aarch64_sys_ins_reg_supported_p): Merged aarch64_sys_reg_supported_p
into this function.
* gas/testsuite/gas/aarch64/illegal-sysreg-5.d: New test.
* gas/testsuite/gas/aarch64/illegal-sysreg-5.l: New test.
* gas/testsuite/gas/aarch64/sysreg-5.s: New test.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/illegal-sysreg-5.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sysreg-5.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/sysreg-5.s [new file with mode: 0644]
include/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-opc.c