* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
This commit is contained in:
parent
db3d81c996
commit
67f93c31bb
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-12 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
|
||||||
|
|
||||||
2005-12-10 Alan Modra <amodra@bigpond.net.au>
|
2005-12-10 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
|
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
|
||||||
|
|
|
@ -8912,6 +8912,9 @@ ppc64_elf_size_stubs (bfd *output_bfd,
|
||||||
asection *section;
|
asection *section;
|
||||||
Elf_Internal_Sym *local_syms = NULL;
|
Elf_Internal_Sym *local_syms = NULL;
|
||||||
|
|
||||||
|
if (!is_ppc64_elf_target (input_bfd->xvec))
|
||||||
|
continue;
|
||||||
|
|
||||||
/* We'll need the symbol table in a second. */
|
/* We'll need the symbol table in a second. */
|
||||||
symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
|
symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
|
||||||
if (symtab_hdr->sh_info == 0)
|
if (symtab_hdr->sh_info == 0)
|
||||||
|
|
Loading…
Reference in New Issue