* elf32-ppc.c (is_ppc_elf_target): New function.
authorAlan Modra <amodra@gmail.com>
Mon, 21 Mar 2005 11:22:24 +0000 (11:22 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 21 Mar 2005 11:22:24 +0000 (11:22 +0000)
commitd2663f46ec8d720007e3f817b7f6802e66f906e2
tree0b911f032854953a31f59a9cec29c6c978586944
parent6f19c13c2d5e5eb3bb189f00f80d8cd8f3169076
* elf32-ppc.c (is_ppc_elf_target): New function.
(ppc_elf_merge_private_bfd_data): Use it rather than just testing
for bfd_target_elf_flavour.  Do this test before endian check.
(ppc_elf_add_symbol_hook): Use is_pcc_elf_target.
(ppc_elf_size_dynamic_sections): Likewise.
bfd/ChangeLog
bfd/elf32-ppc.c