bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18841] Data relocations with IFUNC symbols can lead to segfault


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18841] Data relocations with IFUNC symbols can lead to segfault
Date: Thu, 09 Jul 2020 13:28:42 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18841

--- Comment #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=470cd0faa7f433b47944683eee4fc3dad6ef7cdf

commit 470cd0faa7f433b47944683eee4fc3dad6ef7cdf
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jul 9 16:35:27 2020 +0930

    pr18841 tests on powerpc64

    The PR18841 test does cross-module calls from within an ifunc
    resolver, which is nasty, and not supported in general since the
    called function may not be relocated.  In this case the called
    function (zoo) is just a stub so doesn't need relocating, but on ppc64
    the function descriptor for zoo in the executable won't be relocated
    at the time the shared library ifunc resolver runs.  That means the
    test will fail if your compiler generates PIEs by default.

            PR 18841
            * testsuite/ld-ifunc/ifunc.exp: Run pr18841 tests non-pie.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]