PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elfxx-sparc.c
index 9a151247d1b40e369ec519d8241dac5935d0f5c8..fe18a62cc99a87f45acdf5f80b3eace521367396 100644 (file)
@@ -3828,7 +3828,9 @@ _bfd_sparc_elf_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.025863 seconds and 4 git commands to generate.