From: Andi Kleen Date: Sat, 27 Sep 2014 18:50:59 +0000 (+0000) Subject: Run new mcount tests only on Linux and not on PIC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8447fa68c1009bfdae29ffae6366defd55991ad;p=gcc.git Run new mcount tests only on Linux and not on PIC gcc/testsuite/: 2014-09-27 Andi Kleen * gcc.target/i386/nop-mcount.c: Only run on Linux. * gcc.target/i386/record-mcount.c: dito. Signed-off-by: Andi Kleen From-SVN: r215659 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3396c54a81..30893283f40 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-09-27 Andi Kleen + + * gcc.target/i386/nop-mcount.c: Only run on Linux. + * gcc.target/i386/record-mcount.c: dito. + 2014-09-26 Jan Hubicka PR ipa/62121 diff --git a/gcc/testsuite/gcc.target/i386/nop-mcount.c b/gcc/testsuite/gcc.target/i386/nop-mcount.c index 25922315604..561792ffe74 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 dae413e9b0e..72f10627e0d 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 */