Correct target selector in -mfentry tests
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 14 Jan 2015 21:51:09 +0000 (21:51 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 14 Jan 2015 21:51:09 +0000 (13:51 -0800)
commit541c58069135fe7c245eb706220fc9caf95a65f0
treeaad0a120258c03044827f8aa48f8ce98b1f40109
parent77df532784a1cf843a87c932b49e3062c5e84de5
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
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/fentry-override.c
gcc/testsuite/gcc.target/i386/fentry.c