OSDN Git Service

2004-07-20 Andrew Pinski <apinski@apple.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 01:35:01 +0000 (01:35 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 2004 01:35:01 +0000 (01:35 +0000)
        PR target/16557
        * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ...
        (ASM_SPEC): here.

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

gcc/ChangeLog
gcc/config/i386/darwin.h

index f581fcd..f4c2022 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-20  Andrew Pinski  <apinski@apple.com>
+
+       PR target/16557
+       * config/i386/darwin.h (CC1_SPEC): Move the -g SPECs from ...
+       (ASM_SPEC): here.
+
 2004-07-21  Paul brook  <paul@codesourcery.com>
 
        * config/arm/arm.c (thumb_expand_prologue): Remove bogus GEN_INT.
index b0e2f01..030f866 100644 (file)
@@ -39,13 +39,13 @@ Boston, MA 02111-1307, USA.  */
    the kernel or some such.  */
 
 #undef CC1_SPEC
-#define CC1_SPEC "%{!static:-fPIC}"
+#define CC1_SPEC "%{!static:-fPIC}\
+  %{gused: -g -feliminate-unused-debug-symbols %<gused }\
+  %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
+  %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}"
 
 #define ASM_SPEC "-arch i686 \
   -force_cpusubtype_ALL \
-  %{gused: -g -feliminate-unused-debug-symbols %<gused }\
-  %{gfull: -g -fno-eliminate-unused-debug-symbols %<gfull }\
-  %{g: %{!gfull: -feliminate-unused-debug-symbols %<gfull }}\
   %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
   %{!Zforce_cpusubtype_ALL:%{mmmx:-force_cpusubtype_ALL}\
                           %{msse:-force_cpusubtype_ALL}\