aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2023-12-06 09:52:31 -0800
committerNelson Chu <nelson@rivosinc.com>2023-12-07 09:23:25 +0800
commitd86cb16645fbb8be6e92f8030e8bd885fe3ef44f (patch)
tree791f7fe9d318387a0378b276d00c0ce21c24bd28
parentfce5866a1cb60afaa9d17d088cdc073b22082096 (diff)
downloadgdb-d86cb16645fbb8be6e92f8030e8bd885fe3ef44f.zip
gdb-d86cb16645fbb8be6e92f8030e8bd885fe3ef44f.tar.gz
gdb-d86cb16645fbb8be6e92f8030e8bd885fe3ef44f.tar.bz2
RISC-V: Fix "withand" in LEB128 error messages
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>
-rw-r--r--bfd/elfnn-riscv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
index 5c4bf4b..042266e 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;