Commit b5a6e96f by Francois-Xavier Coudert Committed by François-Xavier Coudert

darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov when -fprofile-generate* was passed.

	* config/darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov
	when -fprofile-generate* was passed.
	* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.

From-SVN: r148394
parent f9b09dec
2009-06-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
* config/darwin.h (LINK_COMMAND_SPEC): Adjust spec to link libcov
when -fprofile-generate* was passed.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
2009-06-11 Anthony Green <green@moxielogic.com> 2009-06-11 Anthony Green <green@moxielogic.com>
* config/moxie/moxie.md: Define length attribute for all * config/moxie/moxie.md: Define length attribute for all
......
...@@ -273,7 +273,7 @@ extern GTY(()) int darwin_ms_struct; ...@@ -273,7 +273,7 @@ extern GTY(()) int darwin_ms_struct;
%{o*}%{!o:-o a.out} \ %{o*}%{!o:-o a.out} \
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
%{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \
%(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
......
...@@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see
%{o*}%{!o:-o a.out} \ %{o*}%{!o:-o a.out} \
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
%{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \ %{L*} %{fopenmp:%:include(libgomp.spec)%(link_gomp)} \
%(link_libgcc) %o %{fprofile-arcs|fprofile-generate|coverage:-lgcov} \ %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \ %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %G %L}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ %{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment