PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elf64-x86-64.c
index 238c7bd29b6fc2f4e3c74210af7142a8764b51e9..092f447f495d2a39e61f1dd4d4bace34543f57b6 100644 (file)
@@ -4103,7 +4103,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,
This page took 0.026648 seconds and 4 git commands to generate.