PowerPC64 GOT reloc reserving PLT entry for ifunc
authorAlan Modra <amodra@gmail.com>
Thu, 16 Apr 2020 03:15:30 +0000 (12:45 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Apr 2020 06:13:19 +0000 (15:43 +0930)
commit2165dc8d90ef9618a1db9bc596f433b02b7cc54a
tree0f4bd8f28e59a30db58e017e7faf69b68b2c6df9
parent06507dab6172582d3924a3d7dc92a9e7d4ab60ff
PowerPC64 GOT reloc reserving PLT entry for ifunc

I can't see any reason why ELFv2 should create a PLT entry for ifuncs
referenced by GOT relocs as long as the GOT entry remains.  The GOT
entry ought to be resolved by ld.so to the value returned by the ifunc
resolver, or if there is global entry stub created for some other
reason, by the linker to the stub address.

* elf64-ppc.c (ppc64_elf_check_relocs): Don't create plt entries
for GOT relocs against ifuncs.
bfd/elf64-ppc.c
This page took 0.027082 seconds and 4 git commands to generate.