PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elf64-s390.c
index 9884da03b61482c907c93756193f375dfbfa613b..7d3e8821d93843ae7834a5279ee5b73fafe985b1 100644 (file)
@@ -2971,7 +2971,9 @@ elf_s390_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.022643 seconds and 4 git commands to generate.