diff options
Diffstat (limited to 'binutils-2.22/bfd/elf64-x86-64.c')
-rw-r--r-- | binutils-2.22/bfd/elf64-x86-64.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils-2.22/bfd/elf64-x86-64.c b/binutils-2.22/bfd/elf64-x86-64.c index 3a2444b..42ed936 100644 --- a/binutils-2.22/bfd/elf64-x86-64.c +++ b/binutils-2.22/bfd/elf64-x86-64.c @@ -4086,7 +4086,9 @@ elf_x86_64_relocate_section (bfd *output_bfd, not process them. */ if (unresolved_reloc && !((input_section->flags & SEC_DEBUGGING) != 0 - && h->def_dynamic)) + && h->def_dynamic) + && _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, |