PowerPC fix for ifunc broken by d1eca1e4
authorAlan Modra <amodra@gmail.com>
Mon, 18 Aug 2014 08:44:56 +0000 (18:14 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 18 Aug 2014 11:30:46 +0000 (21:00 +0930)
commit1009ef284f3932c41cff1158818c87821fe511fa
treeb1f2efcc6332ddf96cdc4aa3a6c82ffe2ebfdd7f
parent1240be6b7d0a5604c4e3efe12c9e1d08ebc246be
PowerPC fix for ifunc broken by d1eca1e4

This probably could be fixed by making changes in relocate_section for
ifunc, but it's simpler to disable the optimisation for ifunc.

* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't attempt to
use dynrelocs for ifunc.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Similarly.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c