]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
RISC-V: Fix "withand" in LEB128 error messages
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 6 Dec 2023 17:52:31 +0000 (09:52 -0800)
committerNelson Chu <nelson@rivosinc.com>
Thu, 7 Dec 2023 01:23:25 +0000 (09:23 +0800)
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

index 5c4bf4bc3cbc11ad69ee9e41664574700f6cb5e9..042266e791b453e7ef9b91153e29cc88e3f83a3f 100644 (file)
@@ -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;