PR ld/13177
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index 837568cef186ef3be0c9210409e0cbd3b91a3d63..dfe10fa28c705e5c9ee573cc8ff7b9179a786f0a 100644 (file)
@@ -13459,7 +13459,9 @@ ppc64_elf_relocate_section (bfd *output_bfd,
         not process them.  */
       if (unresolved_reloc
          && !((input_section->flags & SEC_DEBUGGING) != 0
-              && h->elf.def_dynamic))
+              && h->elf.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.028612 seconds and 4 git commands to generate.