OSDN Git Service

* config/darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutil
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 May 2007 21:36:20 +0000 (21:36 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 May 2007 21:36:20 +0000 (21:36 +0000)
handling as well.
* config/darwin9.h (LINK_COMMAND_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125042 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.h
gcc/config/darwin9.h

index 28dcaec..eb66eff 100644 (file)
 
 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 497d761..339e53a 100644 (file)
@@ -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
index 05bab51..bda03a6 100644 (file)
@@ -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.  */