aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2014-09-27 18:50:59 +0000
committerAndi Kleen <ak@gcc.gnu.org>2014-09-27 18:50:59 +0000
commite8447fa68c1009bfdae29ffae6366defd55991ad (patch)
tree040b91388221db4022cf25ec054b72deff8ff8bc /gcc
parent3f6bb7e59175096b5b02478b0080a2efcabeed37 (diff)
downloadgcc-e8447fa68c1009bfdae29ffae6366defd55991ad.zip
gcc-e8447fa68c1009bfdae29ffae6366defd55991ad.tar.gz
gcc-e8447fa68c1009bfdae29ffae6366defd55991ad.tar.bz2
Run new mcount tests only on Linux and not on PIC
gcc/testsuite/: 2014-09-27 Andi Kleen <ak@linux.intel.com> * gcc.target/i386/nop-mcount.c: Only run on Linux. * gcc.target/i386/record-mcount.c: dito. Signed-off-by: Andi Kleen <ak@linux.intel.com> From-SVN: r215659
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/i386/nop-mcount.c2
-rw-r--r--gcc/testsuite/gcc.target/i386/record-mcount.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e3396c5..3089328 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-27 Andi Kleen <ak@linux.intel.com>
+
+ * gcc.target/i386/nop-mcount.c: Only run on Linux.
+ * gcc.target/i386/record-mcount.c: dito.
+
2014-09-26 Jan Hubicka <hubicka@ucw.cz>
PR ipa/62121
diff --git a/gcc/testsuite/gcc.target/i386/nop-mcount.c b/gcc/testsuite/gcc.target/i386/nop-mcount.c
index 2592231..561792f 100644
--- a/gcc/testsuite/gcc.target/i386/nop-mcount.c
+++ b/gcc/testsuite/gcc.target/i386/nop-mcount.c
@@ -1,5 +1,5 @@
/* Test -mnop-mcount */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
/* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
/* { dg-final { scan-assembler-not "__fentry__" } } */
/* Origin: Andi Kleen */
diff --git a/gcc/testsuite/gcc.target/i386/record-mcount.c b/gcc/testsuite/gcc.target/i386/record-mcount.c
index dae413e..72f1062 100644
--- a/gcc/testsuite/gcc.target/i386/record-mcount.c
+++ b/gcc/testsuite/gcc.target/i386/record-mcount.c
@@ -1,5 +1,5 @@
/* Test -mrecord-mcount */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
/* { dg-options "-pg -mrecord-mcount" } */
/* { dg-final { scan-assembler "mcount_loc" } } */
/* Origin: Andi Kleen */