OSDN Git Service

* elf64-ppc.c (toc_adjusting_stub_needed): New function.
authoramodra <amodra>
Thu, 19 Jun 2003 11:49:01 +0000 (11:49 +0000)
committeramodra <amodra>
Thu, 19 Jun 2003 11:49:01 +0000 (11:49 +0000)
commit29bc81a51cb64115aae99f9645fa49a58415a471
tree81067bb5b4c096207c69a3d8a02c9e7b10b7ea47
parent63231c6f8b7e078906e3010eb8a8ce43812e0443
* elf64-ppc.c (toc_adjusting_stub_needed): New function.
(ppc64_elf_next_input_section): Use it here to set has_gp_reloc.
Return error condition.
(ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections
that have has_gp_reloc set.
(struct ppc_link_hash_table): Add stub_count.
(ppc_build_one_stub): Increment it.
(ppc64_elf_link_hash_table_create): zmalloc rather than clearing
individual fields.
* elf64-ppc.h (ppc64_elf_next_input_section): Update prototype.
bfd/ChangeLog
bfd/elf64-ppc.c
bfd/elf64-ppc.h