From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 508E03857C55 for ; Thu, 30 Mar 2023 10:24:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 508E03857C55 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 88DB12F4; Thu, 30 Mar 2023 03:25:17 -0700 (PDT) Received: from e121540-lin.manchester.arm.com (e121540-lin.manchester.arm.com [10.32.110.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BF9CB3F663; Thu, 30 Mar 2023 03:24:32 -0700 (PDT) From: Richard Sandiford To: binutils@sourceware.org Cc: Richard Sandiford Subject: [PATCH 26/43] aarch64: Update operand_mismatch_kind_names Date: Thu, 30 Mar 2023 11:23:42 +0100 Message-Id: <20230330102359.3327695-27-richard.sandiford@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230330102359.3327695-1-richard.sandiford@arm.com> References: <20230330102359.3327695-1-richard.sandiford@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-33.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The contents of operand_mismatch_kind_names were out of sync with the enum. --- 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 { -- 2.25.1