aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorMark Heffernan <meheff@google.com>2009-04-22 17:44:53 +0000
committerMark Heffernan <meheff@gcc.gnu.org>2009-04-22 17:44:53 +0000
commita123d17589827622c6c77681a2f5d16f0f492f8e (patch)
tree840228ef3e16705891d50981459aa7fed6153936 /gcc/gcc.c
parent1cae1c5fc051a5f8c6f68ce85513f0f061cc2912 (diff)
downloadgcc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 53325b2..af4081c 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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