darwin.h (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov.

2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (LINK_COMMAND_SPEC): Arrange
        -fprofile-generate to imply -lgcov.

From-SVN: r75038
This commit is contained in:
Andrew Pinski 2003-12-26 19:13:35 +00:00 committed by Andrew Pinski
parent 65ae26660a
commit 06fc4e4186
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-12-26 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.h (LINK_COMMAND_SPEC): Arrange
-fprofile-generate to imply -lgcov.
2003-12-26 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (ldm_h8300s_2_normal): Use HImode for

View File

@ -192,7 +192,7 @@ Boston, MA 02111-1307, USA. */
%{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %{u*} %{x} %{z}} \
%{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} \
%{!Zdynamiclib:%{!A:%{!nostdlib:%{!nostartfiles:%S}}}} \
%{L*} %(link_libgcc) %o %{fprofile-arcs:-lgcov} \
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate:-lgcov} \
%{!nostdlib:%{!nodefaultlibs:%G %L}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} \
%{!--help:%{!no-c++filt|c++filt:| c++filt3 }} }}}}}}}}"