[AArch64] Add support for GMID_EL1 register for +memtag
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 23 Jul 2019 14:54:54 +0000 (15:54 +0100)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 23 Jul 2019 14:54:54 +0000 (15:54 +0100)
commita028026d2f9bbeaa2217aa8aafa1463bd88463ba
treebcd55e238e79ebbe935dd5de85b2779ce708437c
parent9a618ef61593ea5103aaf17bbe968bf552aa3de0
[AArch64] Add support for GMID_EL1 register for +memtag

We're missing support for the GMID_EL1 system register from the Memory Tagging Extension in binutils.
This is specified at:
https://developer.arm.com/docs/ddi0595/latest/aarch64-system-registers/gmid_el1

This simple patch adds the support for this read-only register.
Tested make check on gas.
gas/ChangeLog
gas/testsuite/gas/aarch64/illegal-sysreg-4.l
gas/testsuite/gas/aarch64/sysreg-4.d
gas/testsuite/gas/aarch64/sysreg-4.s
opcodes/ChangeLog
opcodes/aarch64-opc.c