* elf64-ppc.c (struct ppc_dyn_relocs): New.
authorAlan Modra <amodra@gmail.com>
Thu, 28 Mar 2013 13:36:32 +0000 (13:36 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Mar 2013 13:36:32 +0000 (13:36 +0000)
commit19e08130eec4abee547e82c5485603423deea193
treeb2ea2b92811daf8bfd72336fae8fbaad98d499eb
parent7f7cc26500d04c09295d1229706c4fc35697fc8a
* elf64-ppc.c (struct ppc_dyn_relocs): New.
(ppc64_elf_check_relocs): Separate dynrel counts for local syms
into ifunc and non-ifunc.
(dec_dynrel_count): Pass in sym rather than sym_sec.  Handle
separate ifunc/non-ifunc dynrel counts.
(allocate_got): Always use reliplt for ifunc.
(allocate_dynrelocs): Likewise.
(ppc64_elf_size_dynamic_sections): Likewise.
(ppc64_elf_layout_multitoc): Likewise.
(ppc64_elf_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf64-ppc.c