diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2019-09-10 10:10:41 +0200 |
---|---|---|
committer | Christophe Lyon <clyon@gcc.gnu.org> | 2019-09-10 10:10:41 +0200 |
commit | 18ab88559067266d602b43b4d594a21eddae0f8a (patch) | |
tree | af7ae6c69cf26204bfc9c84a85c93088d5c32ef7 /gcc/testsuite/lib | |
parent | fec08d85b0f38c46ef72606fb04ed05bc4821ffa (diff) | |
download | gcc-18ab88559067266d602b43b4d594a21eddae0f8a.zip gcc-18ab88559067266d602b43b4d594a21eddae0f8a.tar.gz gcc-18ab88559067266d602b43b4d594a21eddae0f8a.tar.bz2 |
[ARM/FDPIC v6 22/24] [ARM][testsuite] FDPIC: Skip tests that require -static support
Since FDPIC does not support -static, skip the related tests.
2019-09-10 Christophe Lyon <christophe.lyon@st.com>
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_static): Disable
for ARM FDPIC target.
From-SVN: r275583
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 51677cc..4f7d6cb 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -1087,6 +1087,9 @@ proc check_effective_target_pe_aligned_commons {} { # Return 1 if the target supports -static proc check_effective_target_static {} { + if { [istarget arm*-*-uclinuxfdpiceabi] } { + return 0; + } return [check_no_compiler_messages static executable { int main (void) { return 0; } } "-static"] |