diff options
author | Jim Wilson <jimw@sifive.com> | 2018-02-06 16:53:00 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2018-02-06 16:53:41 -0800 |
commit | ed01220cc81fac2f65abde945d9b77b11d004361 (patch) | |
tree | c8f045472950953b064091c72e13d5fe7fb30799 | |
parent | f3342ae0302f2059324a7b90bc466b0d15fdc2aa (diff) | |
download | fsf-binutils-gdb-ed01220cc81fac2f65abde945d9b77b11d004361.zip fsf-binutils-gdb-ed01220cc81fac2f65abde945d9b77b11d004361.tar.gz fsf-binutils-gdb-ed01220cc81fac2f65abde945d9b77b11d004361.tar.bz2 |
RISC-V: Eliminate spurious error w/ reloc truncated message
bfd/
* elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used
callback to report an error.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfnn-riscv.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 56c3feb..4a4167c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-02-06 Jim Wilson <jimw@sifive.com> + + * elfnn-riscv.c (riscv_elf_relocate_section): Return TRUE if used + callback to report an error. + 2018-02-06 Eric Botcazou <ebotcazou@adacore.com> PR ld/22263 diff --git a/bfd/elfnn-riscv.c b/bfd/elfnn-riscv.c index 3524fed..a37f4aa 100644 --- a/bfd/elfnn-riscv.c +++ b/bfd/elfnn-riscv.c @@ -2253,6 +2253,7 @@ riscv_elf_relocate_section (bfd *output_bfd, if (msg) info->callbacks->warning (info, msg, name, input_bfd, input_section, rel->r_offset); + ret = TRUE; goto out; } |