* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
[deliverable/binutils-gdb.git] / bfd / elf64-ppc.c
index 65b9c2162b1fb1a30529001deca3941f3b26980d..b72c6bd143dfd4b70be8f647e1242f4b3a25d1df 100644 (file)
@@ -8912,6 +8912,9 @@ ppc64_elf_size_stubs (bfd *output_bfd,
          asection *section;
          Elf_Internal_Sym *local_syms = NULL;
 
+         if (!is_ppc64_elf_target (input_bfd->xvec))
+           continue;
+
          /* We'll need the symbol table in a second.  */
          symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
          if (symtab_hdr->sh_info == 0)
This page took 0.031065 seconds and 4 git commands to generate.