From 4386db3c4cd4e40c6f2e18dd01d33beaff37b5fd Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 30 Dec 2024 18:55:46 +0100 Subject: [PATCH] gas/riscv: Fix grammar in error messages --- gas/config/tc-riscv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c index 5f7683e8516..f1a48bfc0e4 100644 --- a/gas/config/tc-riscv.c +++ b/gas/config/tc-riscv.c @@ -5848,7 +5848,7 @@ s_riscv_attribute (int ignored ATTRIBUTE_UNUSED) if (!start_assemble) riscv_set_arch (attr[Tag_RISCV_arch].s); else - as_fatal (_("architecture elf attributes must set before " + as_fatal (_("architecture elf attributes must be set before " "any instructions")); if (old_xlen != xlen) @@ -5866,7 +5866,7 @@ s_riscv_attribute (int ignored ATTRIBUTE_UNUSED) case Tag_RISCV_priv_spec_minor: case Tag_RISCV_priv_spec_revision: if (start_assemble) - as_fatal (_("privileged elf attributes must set before " + as_fatal (_("privileged elf attributes must be set before " "any instructions")); break; -- 2.47.3