* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
authorAlan Modra <amodra@gmail.com>
Fri, 30 Sep 2005 07:32:50 +0000 (07:32 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 30 Sep 2005 07:32:50 +0000 (07:32 +0000)
commit7fe2b9a6a674d57789207d7f14fb2f0573bcc8f5
treee918c12bc99e6fcb595969ce2b79618521baf4ab
parent288424419e640229183d4d4f4bdd0ffb45401670
* elf64-ppc.c (ppc_type_of_stub): Check both func desc and func
entry sym before deciding no stub is needed.
(ppc64_elf_size_stubs): When calculating branch destination,
don't use func desc sym for old ABI objects unless func entry
is undefined.
bfd/ChangeLog
bfd/elf64-ppc.c