]> 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>
Mon, 13 Jul 2020 14:11:01 +0000 (23:41 +0930)
commit3d186ccca35dfd7e9e5ae1eaba3015d0ae17e247
tree22d1690b450d6a91230dcc0e5b00b832cba799c5
parenta0af250a0e5efb0a54441e58f2ce69db318cd083
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.

(cherry picked from commit 470cd0faa7f433b47944683eee4fc3dad6ef7cdf)
ld/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp