This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
-g on darwin for .cp files
- From: mrs at apple dot com (Mike Stump)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 May 2007 15:37:17 -0700 (PDT)
- Subject: -g on darwin for .cp files
Bill noticed that .cp isn't listed as well... This fixes it.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 124909)
+++ ChangeLog (working copy)
@@ -1,6 +1,6 @@
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.
Index: config/darwin.h
===================================================================
--- config/darwin.h (revision 124909)
+++ config/darwin.h (working copy)
@@ -241,7 +241,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: \
%{gdwarf-2:%{!gstabs*:%{!g0: dsymutil %{o*:%*}%{!o:a.out}}}}}}}}}}}}"
#ifdef TARGET_SYSTEM_ROOT
Index: config/darwin9.h
===================================================================
--- config/darwin9.h (revision 124909)
+++ config/darwin9.h (working copy)
@@ -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}}}}}}}}}}}}"