OSDN Git Service

* elflink.c (_bfd_elf_adjust_dynamic_symbol): Don't clear plt
authorAlan Modra <amodra@bigpond.net.au>
Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 10 Aug 2009 06:14:04 +0000 (06:14 +0000)
commit58f854b26d67ea51f27a36e83975ed438b77ee79
treef2261898b99f8cbc5205063e844f2f8d8ae88de2
parentf582d93d21adf6b9b033f18de593b9826af61da8
* 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