[Patch, AArch64] Fix the check of the system register parsing result
Marcus Shawcroft
marcus.shawcroft@arm.com
Tue Jan 8 18:09:00 GMT 2013
On 08/01/13 17:58, Yufeng Zhang wrote:
> 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.
>
OK
/Marcus
More information about the Binutils
mailing list