* elf64-ppc.c (is_ppc64_target): New function, extracted from..
commitaa9ad64891161b790d1c2b6d55368e24b6abf90c
authorAlan Modra <amodra@bigpond.net.au>
Mon, 6 Sep 2004 12:37:12 +0000 (6 12:37 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 6 Sep 2004 12:37:12 +0000 (6 12:37 +0000)
treed4ff85f2680dee40fa8fb835fb5092ace593ab2a
parentc0c2b3539f612d329d4de188fef301fc0453ac1f
* 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