Correct target selector in -mfentry tests
-fprofile -mfentry works with PIE if gcrt1.o is compiled with -fPIC. A glibc has been filed, PR 17836, and a glibc patch has been submitted. * gcc.target/i386/fentry-override.c: Properly place {} in target selector. Remove nonpic. * gcc.target/i386/fentry.c: Likewise. From-SVN: r219616
This commit is contained in:
parent
77df532784
commit
541c580691
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-01-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* gcc.target/i386/fentry-override.c: Properly place {} in target
|
||||
selector. Remove nonpic.
|
||||
* gcc.target/i386/fentry.c: Likewise.
|
||||
|
||||
2015-01-14 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gcc.dg/atomic-invalid.c: Check for invalid memory model
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Test -mfentry override */
|
||||
/* { dg-do compile { target { *-*-linux* } && { nonpic || ! { ia32 } } } } */
|
||||
/* { dg-do compile { target { { *-*-linux* } && { ! { ia32 } } } } } */
|
||||
/* { dg-options "-mfentry" } */
|
||||
/* { dg-final { scan-assembler-not "__fentry__" } } */
|
||||
/* Origin: Andi Kleen */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Test -mfentry */
|
||||
/* { dg-do compile { target { *-*-linux* } && { nonpic || ! { ia32 } } } } */
|
||||
/* { dg-do compile { target { { *-*-linux* } && { ! { ia32 } } } } } */
|
||||
/* { dg-options "-fprofile -mfentry" } */
|
||||
/* { dg-final { scan-assembler "__fentry__" } } */
|
||||
/* Origin: Andi Kleen */
|
||||
|
|
Loading…
Add table
Reference in a new issue