diff options
Diffstat (limited to 'bfd/elf-m10300.c')
-rw-r--r-- | bfd/elf-m10300.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c index 8276a2f..c2dc583 100644 --- a/bfd/elf-m10300.c +++ b/bfd/elf-m10300.c @@ -1499,7 +1499,10 @@ mn10300_elf_relocate_section (bfd *output_bfd, obscure cases sec->output_section will be NULL. */ relocation = 0; - else if (!info->relocatable && unresolved_reloc) + else if (!info->relocatable && unresolved_reloc + && _bfd_elf_section_offset (output_bfd, info, input_section, + rel->r_offset) != (bfd_vma) -1) + (*_bfd_error_handler) (_("%B(%A+0x%lx): unresolvable %s relocation against symbol `%s'"), input_bfd, |