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.
This commit is contained in:
parent
f3342ae030
commit
ed01220cc8
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user