summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authormeheff <meheff@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:44:53 +0000
committermeheff <meheff@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-22 17:44:53 +0000
commit57187d90a77fa29871fa5bbf1bffe9cdb35b8cfa (patch)
tree840228ef3e16705891d50981459aa7fed6153936 /gcc/gcc.c
parent2f1c2b417a5b96cb59459c6f4d876bd68c0d406b (diff)
downloadgcc-57187d90a77fa29871fa5bbf1bffe9cdb35b8cfa.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146605 138bc75d-0d04-0410-961f-82ee72b054a4
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 53325b23f39..af4081c4a17 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