From 9679c3b84617b9ae0c3e1bc16d5c0ff9dfffab8a Mon Sep 17 00:00:00 2001 From: iains Date: Thu, 22 Jul 2010 08:02:20 +0000 Subject: * config/darwin.h (LINK_COMMAND_SPEC): Split into... (LINK_COMMAND_SPEC_A): New. (DSYMUTIL): New. (DSYMUTIL_SPEC): New. * config/darwin9.h (LINK_COMMAND_SPEC): Remove. (DSYMUTIL_SPEC): Update for darwin >= 9 requirements. -This line, and those below, will be ignored-- M ChangeLog M config/darwin.h M config/darwin9.h git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162403 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/darwin9.h | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'gcc/config/darwin9.h') diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index f1527105dee..c9f33ea739b 100644 --- a/gcc/config/darwin9.h +++ b/gcc/config/darwin9.h @@ -24,22 +24,11 @@ along with GCC; see the file COPYING3. If not see #define DARWIN_PREFER_DWARF /* Since DWARF2 is default, conditions for running dsymutil are different. */ -#undef LINK_COMMAND_SPEC -#define LINK_COMMAND_SPEC "\ -%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ - %(linker) %l %X %{d} %{s} %{t} %{Z} \ - %{A} %{e*} %{m} %{r} %{x} \ - %{o*}%{!o:-o a.out} \ - %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ - %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ - %{flto} %{fwhopr} \ - %{fopenmp|ftree-parallelize-loops=*: \ - %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \ - %{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \ - %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} %{F*} }}}}}}}\n\ -%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ - %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \ - %{g*:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}" +#undef DSYMUTIL_SPEC +#define DSYMUTIL_SPEC \ + "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ + %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s: \ + %{g*:%{!gstabs*:%{!g0: " DSYMUTIL " %{o*:%*}%{!o:a.out}}}}}}}}}}}}" /* libSystem contains unwind information for signal frames. */ #define DARWIN_LIBSYSTEM_HAS_UNWIND -- cgit v1.2.1