OSDN Git Service

* config/i386/linux.h (ASM_SPEC): Pass -v as -v, not -V. Remove
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2010 00:35:35 +0000 (00:35 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2010 00:35:35 +0000 (00:35 +0000)
all of %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}.
* config/i386/linux64.h (ASM_SPEC): Likewise.
* config/i386/mingw-w64.h (ASM_SPEC): Likewise.
* config/i386/sol2-10.h (ASM_SPEC) [USE_GAS]: Likewise.
* config/i386/vxworks.h (ASM_SPEC): Likewise.
* config/i386/x86-64.h (ASM_SPEC): Likewise.
* config/i386/sol2.h (ASM_SPEC): Remove %{Wa,*:%*}.
* config/i386/sol2-10.h (ASM_SPEC) [!USE_GAS]: Likewise.

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

gcc/ChangeLog
gcc/config/i386/linux.h
gcc/config/i386/linux64.h
gcc/config/i386/mingw-w64.h
gcc/config/i386/sol2-10.h
gcc/config/i386/sol2.h
gcc/config/i386/vxworks.h
gcc/config/i386/x86-64.h

index d169fc9..735cde3 100644 (file)
@@ -1,10 +1,22 @@
+2010-11-30  Ian Lance Taylor  <iant@google.com>
+
+       * config/i386/linux.h (ASM_SPEC): Pass -v as -v, not -V.  Remove
+       all of %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}.
+       * config/i386/linux64.h (ASM_SPEC): Likewise.
+       * config/i386/mingw-w64.h (ASM_SPEC): Likewise.
+       * config/i386/sol2-10.h (ASM_SPEC) [USE_GAS]: Likewise.
+       * config/i386/vxworks.h (ASM_SPEC): Likewise.
+       * config/i386/x86-64.h (ASM_SPEC): Likewise.
+       * config/i386/sol2.h (ASM_SPEC): Remove %{Wa,*:%*}.
+       * config/i386/sol2-10.h (ASM_SPEC) [!USE_GAS]: Likewise.
+
 2010-11-30  Nicola Pero  <nicola.pero@meta-innovation.com>
 
        * c-decl.c (finish_function): Call objc_finish_function in
        Objective-C.
        * c-typeck.c (convert_for_assignment): Do not call
        objc_type_quals_match().
-       
+
 2010-11-30  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/46722
index 7564c70..bb4a72f 100644 (file)
@@ -104,8 +104,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef  ASM_SPEC
 #define ASM_SPEC \
-  "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} --32 \
-  %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
+  "%{v} --32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
 
 #undef  SUBTARGET_EXTRA_SPECS
 #define SUBTARGET_EXTRA_SPECS \
index 4a3e366..1181281 100644 (file)
@@ -71,8 +71,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #endif
 
 #undef ASM_SPEC
-#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
- %{Wa,*:%*} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
+#define ASM_SPEC "%{v} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
  %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
 
 #undef LINK_SPEC
index 3aafb93..3b8a1b1 100644 (file)
@@ -36,8 +36,7 @@ along with GCC; see the file COPYING3.  If not see
 /* Enable multilib.  */
 
 #undef ASM_SPEC
-#define ASM_SPEC "%{v:-v} %{n} %{T} %{Ym,*} %{Yd,*} \
- %{Wa,*:%*} %{m32:--32} %{m64:--64}"
+#define ASM_SPEC "%{v} %{m32:--32} %{m64:--64}"
 
 #undef SPEC_32
 #undef SPEC_64
index bd3416c..fc4ea2e 100644 (file)
@@ -26,11 +26,10 @@ along with GCC; see the file COPYING3.  If not see
    assembler requires -xarch=generic or -xarch=generic64 instead.  */
 #undef ASM_SPEC
 #ifdef USE_GAS
-#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
-                "%{Wa,*:%*} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
+#define ASM_SPEC "%{v} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
 #else
 #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \
-                "%{Wa,*:%*} %{m32:-xarch=generic} %{m64:-xarch=generic64} " \
+                "%{m32:-xarch=generic} %{m64:-xarch=generic64} " \
                 "-s %(asm_cpu)"
 #endif
 
index b86308f..ce469a7 100644 (file)
@@ -54,10 +54,7 @@ along with GCC; see the file COPYING3.  If not see
 /* FIXME: Removed -K PIC from generic Solaris 2 ASM_SPEC: the native assembler
    gives many warnings: R_386_32 relocation is used for symbol ".text".  */
 #undef ASM_SPEC
-#define ASM_SPEC "\
-%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
-%(asm_cpu) \
-"
+#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} -s %(asm_cpu)"
 
 #define ASM_CPU_SPEC ""
  
index f7f9298..4343695 100644 (file)
@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3.  If not see
 #define TARGET_VERSION fprintf (stderr, " (80586, VxWorks syntax)");
 
 #undef  ASM_SPEC
-#define ASM_SPEC "%{v:-v} %{Qy:} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
+#define ASM_SPEC "%{v}"
 
 #define TARGET_OS_CPP_BUILTINS()                       \
   do                                                   \
index 1b64813..61512b4 100644 (file)
@@ -52,8 +52,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
 
 #undef ASM_SPEC
-#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
- %{Wa,*:%*} %{m32:--32} %{m64:--64}"
+#define ASM_SPEC "%{v} %{m32:--32} %{m64:--64}"
 
 #undef ASM_OUTPUT_ALIGNED_BSS
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \