diff options
author | Alan Modra <amodra@gmail.com> | 2018-11-30 15:34:11 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-11-30 16:18:58 +1030 |
commit | ba85c15dabe144e4bcee5a1b388b32bee10729e1 (patch) | |
tree | ddf634de67d2a3d2c662c569788b3607b9995048 /config.sub | |
parent | f746c08f26dd71fdd809bad8cb92a6cbb8336ec4 (diff) | |
download | gdb-ba85c15dabe144e4bcee5a1b388b32bee10729e1.zip gdb-ba85c15dabe144e4bcee5a1b388b32bee10729e1.tar.gz gdb-ba85c15dabe144e4bcee5a1b388b32bee10729e1.tar.bz2 |
PR23937, powerpc64le local ifunc IRELATIVE relocs are wrong
IFUNC resolvers must always be called via their global entry point.
They will be called from ld.so rather than from the local executable.
PR 23937
bfd/
* elf64-ppc.c (write_plt_relocs_for_local_syms): Don't add local
entry offset for ifuncs.
ld/
* testsuite/ld-powerpc/pr23937.d,
* testsuite/ld-powerpc/pr23937.s: New test.
* testsuite/ld-powerpc/powerpc.exp: Run it.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions