summaryrefslogtreecommitdiff
path: root/gcc/config/darwin9.h
diff options
context:
space:
mode:
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-22 08:02:20 +0000
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>2010-07-22 08:02:20 +0000
commit9679c3b84617b9ae0c3e1bc16d5c0ff9dfffab8a (patch)
treed859ccd2c474a86596c55c6bd772acb80ba368c3 /gcc/config/darwin9.h
parente2e0ef923f875757e747e84fa729793bb1d88067 (diff)
downloadgcc-9679c3b84617b9ae0c3e1bc16d5c0ff9dfffab8a.tar.gz
* 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
Diffstat (limited to 'gcc/config/darwin9.h')
-rw-r--r--gcc/config/darwin9.h21
1 files changed, 5 insertions, 16 deletions
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