OSDN Git Service

* elf32-ppc.c (struct plt_entry): Revise comments.
authorAlan Modra <amodra@bigpond.net.au>
Mon, 3 Aug 2009 12:10:46 +0000 (12:10 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 3 Aug 2009 12:10:46 +0000 (12:10 +0000)
commit2662dc03a10c1aefe4604c32f198b41aa670516c
tree0e327214eaa7b258d638db93eab7fb256c6c16ba
parentc7e4cbba0e3512e334e10d8d303b13cff6df0d84
* elf32-ppc.c (struct plt_entry): Revise comments.
(ppc_elf_check_relocs): Don't create needless plt_entry info
for non-pie executables.  Don't test info->pie when info->shared
already covers that case.
(ppc_elf_gc_sweep_hook): Adjust for above change.
(add_stub_sym): Don't test info->pie when info->shared tested.
(allocate_dynrelocs, ppc_elf_size_dynamic_sections): Likewise.
(write_glink_stub, ppc_elf_finish_dynamic_symbol): Likewise.
(ppc_elf_relax_section): Adjust find_plt_ent arguments.
(ppc_elf_relocate_section): Likewise.
bfd/ChangeLog
bfd/elf32-ppc.c