From: Jim Wilson Date: Thu, 8 Feb 2018 21:15:10 +0000 (-0800) Subject: RISC-V: Add comment for previous change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f48fe4a95ec0e67b81d5d606762c91ad9a6b799;p=binutils-gdb.git RISC-V: Add comment for previous change. bfd/ * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7462f914c6c..0cd219ba64c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-02-08 Jim Wilson + + * elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous + change. + 2018-02-08 Nick Clifton PR 22788 diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c index a37f4aac761..dd9c300b5ee 100644 --- a/bfd/elfnn-riscv.c +++ b/bfd/elfnn-riscv.c @@ -2253,6 +2253,8 @@ riscv_elf_relocate_section (bfd *output_bfd, if (msg) info->callbacks->warning (info, msg, name, input_bfd, input_section, rel->r_offset); + /* We already reported the error via a callback, so don't try to report + it again by returning false. That leads to spurious errors. */ ret = TRUE; goto out; }