aarch64: Update operand_mismatch_kind_names
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:07 +0000 (11:09 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:07 +0000 (11:09 +0100)
The contents of operand_mismatch_kind_names were out of sync
with the enum.

gas/config/tc-aarch64.c
include/opcode/aarch64.h

index fac027ab7b8e8f02319be2cc32bd1bfd59f929ab..8910872dbe40795805115a547ff9ce1a5b8bc1c4 100644 (file)
@@ -5051,6 +5051,8 @@ const char* operand_mismatch_kind_names[] =
   "AARCH64_OPDE_SYNTAX_ERROR",
   "AARCH64_OPDE_FATAL_SYNTAX_ERROR",
   "AARCH64_OPDE_INVALID_VARIANT",
+  "AARCH64_OPDE_UNTIED_IMMS",
+  "AARCH64_OPDE_UNTIED_OPERAND",
   "AARCH64_OPDE_OUT_OF_RANGE",
   "AARCH64_OPDE_UNALIGNED",
   "AARCH64_OPDE_REG_LIST",
index cc0ddf08989607bc44f8571da743e32e7a31a90c..60c77cab2a8cde5847b2cc58c102df5dd90409c6 100644 (file)
@@ -1316,7 +1316,10 @@ struct aarch64_inst
    The enumerators have an increasing severity.  This is helpful when there are
    multiple instruction templates available for a given mnemonic name (e.g.
    FMOV); this mechanism will help choose the most suitable template from which
-   the generated diagnostics can most closely describe the issues, if any.  */
+   the generated diagnostics can most closely describe the issues, if any.
+
+   This enum needs to be kept up-to-date with operand_mismatch_kind_names
+   in tc-aarch64.c.  */
 
 enum aarch64_operand_error_kind
 {