]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/riscv: Fix grammar in error messages
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Dec 2024 17:55:46 +0000 (18:55 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 13 Jan 2026 10:20:02 +0000 (11:20 +0100)
gas/config/tc-riscv.c

index 5f7683e85166c388c8a186fb30e2a9bacb66013f..f1a48bfc0e45634c205739b7070466b0fbbe62f9 100644 (file)
@@ -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;