[binutils-gdb] gas/riscv: Fix grammar in error messages
Andreas Schwab
schwab@sourceware.org
Tue Jan 13 10:21:12 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4386db3c4cd4e40c6f2e18dd01d33beaff37b5fd
commit 4386db3c4cd4e40c6f2e18dd01d33beaff37b5fd
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Mon Dec 30 18:55:46 2024 +0100
gas/riscv: Fix grammar in error messages
Diff:
---
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;
More information about the Binutils-cvs
mailing list