aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2007-05-24 21:36:20 +0000
committerMike Stump <mrs@gcc.gnu.org>2007-05-24 21:36:20 +0000
commit0f17a91f46ff2fe1c6ba75e02fe06993fa987eb2 (patch)
treed43543f965df97305eed677f6a4272f1937e04fd
parenta702045a246397c2d31e1671fc3140112e669ec6 (diff)
downloadgcc-0f17a91f46ff2fe1c6ba75e02fe06993fa987eb2.zip
gcc-0f17a91f46ff2fe1c6ba75e02fe06993fa987eb2.tar.gz
gcc-0f17a91f46ff2fe1c6ba75e02fe06993fa987eb2.tar.bz2
darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutil handling as well.
* config/darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutil handling as well. * config/darwin9.h (LINK_COMMAND_SPEC): Likewise. From-SVN: r125042
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/darwin.h2
-rw-r--r--gcc/config/darwin9.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28dcaec..eb66eff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -630,7 +630,7 @@
2007-05-21 Mike Stump <mrs@apple.com>
- * config/darwin.h (LINK_COMMAND_SPEC): Add .cxx for dsymutil
+ * config/darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutil
handling as well.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 497d761..339e53a 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -241,7 +241,7 @@ extern GTY(()) int darwin_ms_struct;
%{!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|.c++|.cxx|.CPP|.m|.mm: \
+ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \
%{gdwarf-2:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
#ifdef TARGET_SYSTEM_ROOT
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h
index 05bab51..bda03a6 100644
--- a/gcc/config/darwin9.h
+++ b/gcc/config/darwin9.h
@@ -15,7 +15,7 @@
%{!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|.c++|.cxx|.CPP|.m|.mm: \
+ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \
%{g*:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
/* The linker can generate branch islands. */