[PATCH] gas/riscv: Fix grammar in error messages
Nelson Chu
nelson@rivosinc.com
Tue Jan 13 01:45:32 GMT 2026
Thanks, please commit.
Nelson
On Tue, Jan 13, 2026 at 6:31 AM Andreas Schwab <schwab@linux-m68k.org>
wrote:
> ---
> 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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20260113/61f49f95/attachment.htm>
More information about the Binutils
mailing list