diff options
author | Mark Heffernan <meheff@google.com> | 2009-04-22 17:44:53 +0000 |
---|---|---|
committer | Mark Heffernan <meheff@gcc.gnu.org> | 2009-04-22 17:44:53 +0000 |
commit | a123d17589827622c6c77681a2f5d16f0f492f8e (patch) | |
tree | 840228ef3e16705891d50981459aa7fed6153936 /gcc/gcc.c | |
parent | 1cae1c5fc051a5f8c6f68ce85513f0f061cc2912 (diff) | |
download | gcc-a123d17589827622c6c77681a2f5d16f0f492f8e.zip gcc-a123d17589827622c6c77681a2f5d16f0f492f8e.tar.gz gcc-a123d17589827622c6c77681a2f5d16f0f492f8e.tar.bz2 |
gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
2009-04-22 Mark Heffernan <meheff@google.com>
* gcc.c (LINK_COMMAND_SPEC): Link with gcov with -fprofile-generate=.
* gcc.dg/profile-generate-3.c: New test.
From-SVN: r146605
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -743,7 +743,7 @@ proper position among the other output files. */ %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}}\ %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib)\ - %{fprofile-arcs|fprofile-generate|coverage:-lgcov}\ + %{fprofile-arcs|fprofile-generate*|coverage:-lgcov}\ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}}\ %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}" #endif |