public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb] aarch64: Update operand_mismatch_kind_names
Date: Thu, 30 Mar 2023 10:12:50 +0000 (GMT)	[thread overview]
Message-ID: <20230330101250.EADDB3858C78@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c1817dc2ee18c27087de913bc970a87e67374b57

commit c1817dc2ee18c27087de913bc970a87e67374b57
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Mar 30 11:09:07 2023 +0100

    aarch64: Update operand_mismatch_kind_names
    
    The contents of operand_mismatch_kind_names were out of sync
    with the enum.

Diff:
---
 gas/config/tc-aarch64.c  | 2 ++
 include/opcode/aarch64.h | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index fac027ab7b8..8910872dbe4 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -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",
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
 {

                 reply	other threads:[~2023-03-30 10:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230330101250.EADDB3858C78@sourceware.org \
    --to=rsandifo@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).