Skip to content
  • Alan Modra's avatar
    PR23937, powerpc64le local ifunc IRELATIVE relocs are wrong · ba85c15d
    Alan Modra authored
    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.
    ba85c15d
To find the state of this project's repository at the time of any of these versions, check out the tags.