From d86cb16645fbb8be6e92f8030e8bd885fe3ef44f Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Wed, 6 Dec 2023 09:52:31 -0800 Subject: [PATCH] RISC-V: Fix "withand" in LEB128 error messages This was split over multiple lines and ended up missing a space. Reported-by: David Abdurachmanov Signed-off-by: Palmer Dabbelt --- 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.39.5