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
This commit is contained in:
parent
f9b09dec19
commit
b5a6e96fa0
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
* config/moxie/moxie.md: Define length attribute for all
|
||||
|
|
|
@ -273,7 +273,7 @@ extern GTY(()) int darwin_ms_struct;
|
|||
%{o*}%{!o:-o a.out} \
|
||||
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
|
||||
%{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}} \
|
||||
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
|
||||
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
|
||||
|
|
|
@ -32,7 +32,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
%{o*}%{!o:-o a.out} \
|
||||
%{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
|
||||
%{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}} \
|
||||
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\
|
||||
%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
|
||||
|
|
Loading…
Reference in New Issue