[PATCH] RISC-V: Fix "withand" in LEB128 error messages
Nelson Chu
nelson@rivosinc.com
Thu Dec 7 01:28:39 GMT 2023
Just inform that this patch is committed. For other discussion about
uleb128 overflow checking, we can move to another reply thread and psabi.
Nelson
On Thu, Dec 7, 2023 at 1:53 AM Palmer Dabbelt <palmer@rivosinc.com> wrote:
> This was split over multiple lines and ended up missing a space.
>
> Reported-by: David Abdurachmanov <davidlt@rivosinc.com>
> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
> ---
> bfd/elfnn-riscv.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
> index 5c4bf4bc3cb..042266e791b 100644
> --- a/bfd/elfnn-riscv.c
> +++ b/bfd/elfnn-riscv.c
> @@ -2521,7 +2521,7 @@ riscv_elf_relocate_section (bfd *output_bfd,
> else
> {
> msg = ("Mismatched R_RISCV_SET_ULEB128, it must be paired
> with"
> - "and applied before R_RISCV_SUB_ULEB128");
> + " and applied before R_RISCV_SUB_ULEB128");
> r = bfd_reloc_dangerous;
> }
> break;
> @@ -2537,7 +2537,7 @@ riscv_elf_relocate_section (bfd *output_bfd,
> else
> {
> msg = ("Mismatched R_RISCV_SUB_ULEB128, it must be paired
> with"
> - "and applied after R_RISCV_SET_ULEB128");
> + " and applied after R_RISCV_SET_ULEB128");
> r = bfd_reloc_dangerous;
> }
> break;
> --
> 2.42.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20231207/77b5c5dc/attachment.htm>
More information about the Binutils
mailing list