diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2019-01-17 12:36:10 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2019-01-17 12:36:10 +0000 |
commit | 90eb9be6eb4a7286cf2864d7846103a66c7e3741 (patch) | |
tree | 60c4a4bdb778dea4a46ce6989d028623b0032606 /zlib | |
parent | 3f21b8e3f7be32dd2b3624a2ece12f84bed545bb (diff) | |
download | gcc-90eb9be6eb4a7286cf2864d7846103a66c7e3741.zip gcc-90eb9be6eb4a7286cf2864d7846103a66c7e3741.tar.gz gcc-90eb9be6eb4a7286cf2864d7846103a66c7e3741.tar.bz2 |
Testsuite: GCN is always PIE.
The GCN/HSA loader ignores the load address and uses a random location, so we
build all GCN binaries as PIE, by default.
This patch makes the necessary testsuite adjustments to make this work
correctly.
2019-01-17 Andrew Stubbs <ams@codesourcery.com>
gcc/testsuite/
* gcc.dg/graphite/scop-19.c: Check pie_enabled.
* gcc.dg/pic-1.c: Disable on amdgcn.
* gcc.dg/pic-2.c: Disable on amdgcn.
* gcc.dg/pic-3.c: Disable on amdgcn.
* gcc.dg/pic-4.c: Disable on amdgcn.
* gcc.dg/pie-3.c: Disable on amdgcn.
* gcc.dg/pie-4.c: Disable on amdgcn.
* gcc.dg/uninit-19.c: Check pie_enabled.
* lib/target-supports.exp (check_effective_target_pie): Add amdgcn.
From-SVN: r268026
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions