From: ak 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: http://git.ipfire.org/?a=commitdiff_plain;h=2a29e601f055d8b81653c2058718c968de3db41b;p=thirdparty%2Fgcc.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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215659 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3396c54a81e..30893283f40d 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 25922315604f..561792ffe742 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 dae413e9b0ea..72f10627e0d1 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 */