]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
pr18841 tests on powerpc64
authorAlan Modra <amodra@gmail.com>
Thu, 9 Jul 2020 07:05:27 +0000 (16:35 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Jul 2020 13:28:16 +0000 (22:58 +0930)
commit470cd0faa7f433b47944683eee4fc3dad6ef7cdf
tree78c03fb7383a56ba50c056c31f4fbdc3c6dd0abe
parentefe497e587ca0454071dd20e5ad1aa63a1c6e006
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.
ld/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp