Commit 3b14df1d by Ian Lance Taylor Committed by Ian Lance Taylor

linux.h (ASM_SPEC): Pass -v as -v, not -V.

	* 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.

From-SVN: r167323
parent bf07274e
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> 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
* c-decl.c (finish_function): Call objc_finish_function in * c-decl.c (finish_function): Call objc_finish_function in
Objective-C. Objective-C.
* c-typeck.c (convert_for_assignment): Do not call * c-typeck.c (convert_for_assignment): Do not call
objc_type_quals_match(). objc_type_quals_match().
2010-11-30 Richard Guenther <rguenther@suse.de> 2010-11-30 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46722 PR tree-optimization/46722
...@@ -104,8 +104,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -104,8 +104,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} --32 \ "%{v} --32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
#undef SUBTARGET_EXTRA_SPECS #undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \ #define SUBTARGET_EXTRA_SPECS \
......
...@@ -71,8 +71,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -71,8 +71,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#endif #endif
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ #define ASM_SPEC "%{v} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
%{Wa,*:%*} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
#undef LINK_SPEC #undef LINK_SPEC
......
...@@ -36,8 +36,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -36,8 +36,7 @@ along with GCC; see the file COPYING3. If not see
/* Enable multilib. */ /* Enable multilib. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v:-v} %{n} %{T} %{Ym,*} %{Yd,*} \ #define ASM_SPEC "%{v} %{m32:--32} %{m64:--64}"
%{Wa,*:%*} %{m32:--32} %{m64:--64}"
#undef SPEC_32 #undef SPEC_32
#undef SPEC_64 #undef SPEC_64
......
...@@ -26,11 +26,10 @@ along with GCC; see the file COPYING3. If not see ...@@ -26,11 +26,10 @@ along with GCC; see the file COPYING3. If not see
assembler requires -xarch=generic or -xarch=generic64 instead. */ assembler requires -xarch=generic or -xarch=generic64 instead. */
#undef ASM_SPEC #undef ASM_SPEC
#ifdef USE_GAS #ifdef USE_GAS
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \ #define ASM_SPEC "%{v} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
"%{Wa,*:%*} %{m32:--32} %{m64:--64} -s %(asm_cpu)"
#else #else
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \ #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)" "-s %(asm_cpu)"
#endif #endif
......
...@@ -54,10 +54,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -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 /* 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". */ gives many warnings: R_386_32 relocation is used for symbol ".text". */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} -s %(asm_cpu)"
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
%(asm_cpu) \
"
#define ASM_CPU_SPEC "" #define ASM_CPU_SPEC ""
......
...@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -22,7 +22,7 @@ along with GCC; see the file COPYING3. If not see
#define TARGET_VERSION fprintf (stderr, " (80586, VxWorks syntax)"); #define TARGET_VERSION fprintf (stderr, " (80586, VxWorks syntax)");
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v:-v} %{Qy:} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}" #define ASM_SPEC "%{v}"
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
do \ do \
......
...@@ -52,8 +52,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -52,8 +52,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define CC1_SPEC "%(cc1_cpu) %{profile:-p}" #define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \ #define ASM_SPEC "%{v} %{m32:--32} %{m64:--64}"
%{Wa,*:%*} %{m32:--32} %{m64:--64}"
#undef ASM_OUTPUT_ALIGNED_BSS #undef ASM_OUTPUT_ALIGNED_BSS
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment