Hi,
This simple patch fixes in the AArch64 GAS the check of the system
register parsing result. With this fix, GAS can correctly issue
diagnostics on unrecognized system registers in instructions like MSR,
MRS, etc.
OK to commit?
Thanks,
Yufeng
gas/
2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
* config/tc-aarch64.c (parse_operands): Change to compare the
result
of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of
'FALSE'.
gas/testsuite/
2013-01-08 Yufeng Zhang <yufeng.zhang@arm.com>
* gas/aarch64/diagnostic.s: Add test.
* gas/aarch64/diagnostic.l: Update.