aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-11-30 15:34:11 +1030
committerAlan Modra <amodra@gmail.com>2018-11-30 16:18:58 +1030
commitba85c15dabe144e4bcee5a1b388b32bee10729e1 (patch)
treeddf634de67d2a3d2c662c569788b3607b9995048 /bfd/elfcode.h
parentf746c08f26dd71fdd809bad8cb92a6cbb8336ec4 (diff)
downloadgdb-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 'bfd/elfcode.h')
0 files changed, 0 insertions, 0 deletions