* elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
authorAlan Modra <amodra@gmail.com>
Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)
commit91e21fb75f551371192d1138db38b0ee73d59b71
treea3ed837bc51a279b5a7e424c2f70cfee9e29c675
parent952b2d6368151e609e6312e2e83f3ac40433ba41
* elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
info for STT_GNU_IFUNC.
* elf32-ppc.c (ppc_elf_check_relocs): Count a needed plt entry
on got refs in case the symbol turns out to be ifunc.
(ppc_elf_gc_sweep_hook): Similarly.
(ppc_elf_adjust_dynamic_symbol): Adjust assertion.
(allocate_dynrelocs): Don't specially allocate got relocs for ifunc.
(ppc_elf_size_dynamic_sections): Likewise.
(ppc_elf_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elflink.c