PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elf32-ppc.c
index cfb473479f9dc84f0d61fe71d0d9ebc1b3335d59..ab50f1a9ed25520248f4d68d5ca035c23369ef7a 100644 (file)
@@ -8150,7 +8150,9 @@ ppc_elf_relocate_section (bfd *output_bfd,
 
       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)
        {
          info->callbacks->einfo
            (_("%P: %H: unresolvable %s relocation against symbol `%s'\n"),
This page took 0.024348 seconds and 4 git commands to generate.