PR23123, PowerPC32 ifunc regression
authorAlan Modra <amodra@gmail.com>
Fri, 27 Apr 2018 06:16:40 +0000 (15:46 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 27 Apr 2018 07:42:32 +0000 (17:12 +0930)
commit04383fd15b3b82d824df9c72e3ade88c43bfb5ac
treee61f7ca05cb6fb083adf17f802176c5b234ab8c5
parentced8ce28a4f72cfd8eaee0d17cf090997cc2fab7
PR23123, PowerPC32 ifunc regression

Two of the gcc ifunc tests fail for ppc32, due to my pr22374 fix being
a little too enthusiastic in trimming PLT entries.  ppc64 doesn't have
the same failures because ppc64_elf_check_relocs happens to set
needs_plt for any ifunc reloc.

PR 23123
PR 22374
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Don't drop plt
relocs for ifuncs.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Comment fixes.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c