* elf64-ppc.c (is_ppc64_target): New function, extracted from..
authorAlan Modra <amodra@gmail.com>
Mon, 6 Sep 2004 12:37:12 +0000 (12:37 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 6 Sep 2004 12:37:12 +0000 (12:37 +0000)
commit7b53ace3e99c019e1372b4fcf8c152902c9c85e6
tree2e7a12485ee9068caf6854313a69f03e040470e6
parent9cbe82da8b4ee2ff487e75995389a431eba5fc05
* elf64-ppc.c (is_ppc64_target): New function, extracted from..
(ppc64_elf_check_directives): ..here.
(ppc64_elf_size_dynamic_sections): Use it here to check bfd type
before accessing ppc64_elf_tdata.
(ppc64_elf_finish_dynamic_sections): And here too.
bfd/ChangeLog
bfd/elf64-ppc.c