From 070387a43cbe003423a38d77c618a8bf681cd4fd Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 22 Jun 2011 13:16:16 +0200 Subject: [PATCH] run-le.c: Skip for -pie on alpha*-*-linux*. * gcc.dg/torture/tls/run-le.c: Skip for -pie on alpha*-*-linux*. * gcc.dg/torture/tls/tls-test.c: Ditto. * gcc.dg/torture/tls/thr-init-1.c: Ditto. * gcc.dg/torture/tls/thr-init-1.c: Ditto. From-SVN: r175291 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/torture/tls/run-le.c | 1 + gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c | 1 + gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c | 1 + gcc/testsuite/gcc.dg/torture/tls/tls-test.c | 1 + 5 files changed, 11 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 883d355903d..a102060360b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2011-06-22 Uros Bizjak + + * gcc.dg/torture/tls/run-le.c: Skip for -pie on alpha*-*-linux*. + * gcc.dg/torture/tls/tls-test.c: Ditto. + * gcc.dg/torture/tls/thr-init-1.c: Ditto. + * gcc.dg/torture/tls/thr-init-2.c: Ditto. + 2011-06-22 Nathan Sidwell * gcc.target/arm/tlscall.c: New. diff --git a/gcc/testsuite/gcc.dg/torture/tls/run-le.c b/gcc/testsuite/gcc.dg/torture/tls/run-le.c index 0c340f30e15..f57d698cb73 100644 --- a/gcc/testsuite/gcc.dg/torture/tls/run-le.c +++ b/gcc/testsuite/gcc.dg/torture/tls/run-le.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target tls_runtime } */ /* { dg-add-options tls } */ +/* { dg-skip-if "TLS local exec code cannot be linked into shared objects" { alpha*-*-linux* } { "-pie" } { "" } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c b/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c index ff3338ffbe5..03da9be781f 100644 --- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c +++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target tls_runtime } */ /* { dg-add-options tls } */ +/* { dg-skip-if "TLS local exec code cannot be linked into shared objects" { alpha*-*-linux* } { "-pie" } { "" } } */ extern int printf (char *,...); extern void abort() ; diff --git a/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c b/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c index 44156232cf3..211afdcfae1 100644 --- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c +++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c @@ -1,6 +1,7 @@ /* { dg-do run } */ /* { dg-require-effective-target tls_runtime } */ /* { dg-add-options tls } */ +/* { dg-skip-if "TLS local exec code cannot be linked into shared objects" { alpha*-*-linux* } { "-pie" } { "" } } */ extern int printf (char *,...); extern void abort() ; diff --git a/gcc/testsuite/gcc.dg/torture/tls/tls-test.c b/gcc/testsuite/gcc.dg/torture/tls/tls-test.c index 8a23e77c179..f772b802e03 100644 --- a/gcc/testsuite/gcc.dg/torture/tls/tls-test.c +++ b/gcc/testsuite/gcc.dg/torture/tls/tls-test.c @@ -2,6 +2,7 @@ /* { dg-require-effective-target tls } */ /* { dg-require-effective-target pthread } */ /* { dg-options "-pthread" } */ +/* { dg-skip-if "TLS local exec code cannot be linked into shared objects" { alpha*-*-linux* } { "-pie" } { "" } } */ #include extern int printf (char *,...); -- 2.30.2