[PATCH] gas/riscv: Fix grammar in error messages
Andreas Schwab
schwab@linux-m68k.org
Mon Jan 12 22:29:47 GMT 2026
---
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.52.0
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Binutils
mailing list