This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] RISC-V: Add comment for previous change.
- From: Jim Wilson <wilson at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Feb 2018 21:17:07 -0000
- Subject: [binutils-gdb] RISC-V: Add comment for previous change.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3f48fe4a95ec0e67b81d5d606762c91ad9a6b799
commit 3f48fe4a95ec0e67b81d5d606762c91ad9a6b799
Author: Jim Wilson <jimw@sifive.com>
Date: Thu Feb 8 13:15:10 2018 -0800
RISC-V: Add comment for previous change.
bfd/
* elfnn-riscv.c (riscv_elf_relocate_section): Add comment for previous
change.
Diff:
---
bfd/ChangeLog | 5 +++++
bfd/elfnn-riscv.c | 2 ++
2 files changed, 7 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7462f91..0cd219b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c
index a37f4aa..dd9c300 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;
}