[AArch64] Use "must" rather than "should" in error messages
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 16:11:04 +0000 (17:11 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Wed, 21 Sep 2016 16:11:04 +0000 (17:11 +0100)
commitab3b8fcfdb06695d27eaec4eedb019ada4a5713e
tree4812f6a2733a32bbeed7a79df63645d47bdcbdf9
parentbb7eff5206e4795ac79c177a80fe9f4630aaf730
[AArch64] Use "must" rather than "should" in error messages

One of the review comments from the SVE series was that it would
be better to use "must" rather than "should" in error messages.
I think this patch fixes all cases in the AArch64 code.
It also uses "must be" instead of "expected to be".

opcodes/
* aarch64-opc.c (operand_general_constraint_met_p): Use "must be"
rather than "should be" or "expected to be" in error messages.

gas/
* config/tc-aarch64.c (output_operand_error_record): Use "must be"
rather than "should be" or "expected to be" in error messages.
(parse_operands): Likewise.
* testsuite/gas/aarch64/diagnostic.l: Likewise.
* testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
* testsuite/gas/aarch64/sve-invalid.l: Likewise.
* testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/diagnostic.l
gas/testsuite/gas/aarch64/legacy_reg_names.l
gas/testsuite/gas/aarch64/sve-invalid.l
gas/testsuite/gas/aarch64/sve-reg-diagnostic.l
opcodes/ChangeLog
opcodes/aarch64-opc.c
This page took 0.044733 seconds and 4 git commands to generate.