mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* cofflink.c (_bfd_coff_generic_relocate_section): Print an error
message for bfd_reloc_outofrange, rather than aborting. From Philippe De Muyter <phdm@info.ucl.ac.be>.
This commit is contained in:
@ -2495,6 +2495,13 @@ _bfd_coff_generic_relocate_section (output_bfd, info, input_bfd,
|
|||||||
abort ();
|
abort ();
|
||||||
case bfd_reloc_ok:
|
case bfd_reloc_ok:
|
||||||
break;
|
break;
|
||||||
|
case bfd_reloc_outofrange:
|
||||||
|
(*_bfd_error_handler)
|
||||||
|
("%s: bad reloc address in section `%s' at address 0x%lx",
|
||||||
|
bfd_get_filename (input_bfd),
|
||||||
|
bfd_get_section_name (input_bfd, input_section),
|
||||||
|
(unsigned long) rel->r_vaddr);
|
||||||
|
return false;
|
||||||
case bfd_reloc_overflow:
|
case bfd_reloc_overflow:
|
||||||
{
|
{
|
||||||
const char *name;
|
const char *name;
|
||||||
|
Reference in New Issue
Block a user