[AArch64] Fix missing architecture checks for ARMv8.2 system registers.

Matthew Wahab matthew.wahab@foss.arm.com
Mon Jan 11 15:25:00 GMT 2016


Hello,

Some of the RAS system registers added to binutils as part of the ARMv8.2
support are missing the feature checks to warn when they aren't
supported by the target.

This patch adds the missing feature checks with a test to check that
the correct warnings are given for all the ARMv8.2 system registers.

Tested for aarch64-none-linux with cross-compiled check-binutils and check-gas.

Ok for trunk?
Matthew

gas/testsuite
2016-01-11  Matthew Wahab  <matthew.wahab@arm.com>

	* gas/aarch64/illegal-sysreg-2.l: New.
	* gas/aarch64/illegal-sysreg-2.d: New.

opcodes/
2016-01-11  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_reg_supported_p): Merge conditionals
	testing for RAS support.  Add checks for erxfr_el1, erxctlr_el1,
	erxtatus_el1 and erxaddr_el1.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch64-Fix-missing-feature-checks-for-ARMv8.2-syste.patch
Type: text/x-patch
Size: 6988 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160111/aac79572/attachment.bin>


More information about the Binutils mailing list