[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23937] powerpc64le local ifunc IRELATIVE relocs are wrong
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug ld/23937] powerpc64le local ifunc IRELATIVE relocs are wrong |
Date: |
Fri, 30 Nov 2018 05:50:37 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23937
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ba85c15dabe144e4bcee5a1b388b32bee10729e1
commit ba85c15dabe144e4bcee5a1b388b32bee10729e1
Author: Alan Modra <address@hidden>
Date: Fri Nov 30 15:34:11 2018 +1030
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.
--
You are receiving this mail because:
You are on the CC list for the bug.