summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2023-03-30 11:09:07 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2023-03-30 11:09:07 +0100
commitc1817dc2ee18c27087de913bc970a87e67374b57 (patch)
treedd1aee4e1bb22b526555ad6c7952e6ee9d92eaed /include
parente426521ed1f44468cf0d8418f3f29a856af70b25 (diff)
downloadbinutils-gdb-c1817dc2ee18c27087de913bc970a87e67374b57.tar.gz
aarch64: Update operand_mismatch_kind_names
The contents of operand_mismatch_kind_names were out of sync with the enum.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/aarch64.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index cc0ddf08989..60c77cab2a8 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -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
{