PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elfxx-tilegx.c
index c484562da922e8eac44fca3dadc13e697bb1e23d..2aaa3d317570a6172cd351cda540a28182bde4d6 100644 (file)
@@ -3493,7 +3493,9 @@ tilegx_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
         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.026659 seconds and 4 git commands to generate.