RISC-V: Add comment for previous change.

bfd/
	* elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
	change.
This commit is contained in:
Jim Wilson 2018-02-08 13:15:10 -08:00
parent 9a897d43f0
commit 3f48fe4a95
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2018-02-08 Jim Wilson <jimw@sifive.com>
* elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
change.
2018-02-08 Nick Clifton <nickc@redhat.com>
PR 22788

View File

@ -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;
}