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)
commit8d159dbe5b059b6ef04a8cc78ce5a4048341040f
treecfba509f2c7a20c0767d8a9a86e5827caab93982
parente0c29d7a2c7bd8ca8f98021c24d3e87c17309aa1
* 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