Commit 78a14252 by Joseph Myers Committed by Joseph Myers

arc.h (ASM_SPEC): Remove %{v}.

	* config/arc/arc.h (ASM_SPEC): Remove %{v}.
	* config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
	* config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
	* config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
	* config/frv/frv.h (ASM_SPEC): Remove %{v}.
	* config/i386/linux.h (ASM_SPEC): Remove %{v}.
	* config/i386/linux64.h (ASM_SPEC): Remove %{v}.
	* config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
	* config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
	* config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
	* config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
	* config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
	* config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
	* config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
	* config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
	* config/mips/mips.h (ASM_SPEC): Remove %{v}.
	* config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
	* config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
	* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
	* config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
	* config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
	* config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
	* config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
	* config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
	* config/xtensa/linux.h (ASM_SPEC): Remove %{v}.

From-SVN: r167636
parent 7aed7dfc
2010-12-09 Joseph Myers <joseph@codesourcery.com> 2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/arc/arc.h (ASM_SPEC): Remove %{v}.
* config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
* config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
* config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
* config/frv/frv.h (ASM_SPEC): Remove %{v}.
* config/i386/linux.h (ASM_SPEC): Remove %{v}.
* config/i386/linux64.h (ASM_SPEC): Remove %{v}.
* config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
* config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
* config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
* config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
* config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
* config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
* config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
* config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
* config/mips/mips.h (ASM_SPEC): Remove %{v}.
* config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
* config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
* config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
* config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
* config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
* config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
* config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
* config/xtensa/linux.h (ASM_SPEC): Remove %{v}.
2010-12-09 Joseph Myers <joseph@codesourcery.com>
* config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}. * config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}. * config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
* config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not * config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
...@@ -62,7 +62,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -62,7 +62,7 @@ along with GCC; see the file COPYING3. If not see
%{EB:-mbig-endian} %{EL:-mlittle-endian} \ %{EB:-mbig-endian} %{EL:-mlittle-endian} \
" "
#define ASM_SPEC "%{v} %{EB} %{EL}" #define ASM_SPEC "%{EB} %{EL}"
#define LINK_SPEC "%{v} %{EB} %{EL}" #define LINK_SPEC "%{v} %{EB} %{EL}"
......
...@@ -248,7 +248,7 @@ extern unsigned int bfin_workarounds; ...@@ -248,7 +248,7 @@ extern unsigned int bfin_workarounds;
Defined in svr4.h. */ Defined in svr4.h. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{v} %{Ym,*} %{Yd,*} \ %{Ym,*} %{Yd,*} \
%{mno-fdpic:-mnopic} %{mfdpic}" %{mno-fdpic:-mnopic} %{mfdpic}"
#define LINK_SPEC "\ #define LINK_SPEC "\
......
...@@ -192,8 +192,7 @@ extern int cris_cpu_version; ...@@ -192,8 +192,7 @@ extern int cris_cpu_version;
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
MAYBE_AS_NO_MUL_BUG_ABORT \ MAYBE_AS_NO_MUL_BUG_ABORT \
"%{v:-v}\ "%(asm_subtarget)\
%(asm_subtarget)\
%{march=*:%{cpu=*:%edo not specify both -march=... and -mcpu=...}}\ %{march=*:%{cpu=*:%edo not specify both -march=... and -mcpu=...}}\
%{march=v32:--march=v32} %{mcpu=v32:--march=v32}" %{march=v32:--march=v32} %{mcpu=v32:--march=v32}"
......
...@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see
/*{{{ Run-time target specifications. */ /*{{{ Run-time target specifications. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v}" #define ASM_SPEC ""
/* Define this to be a string constant containing `-D' options to define the /* Define this to be a string constant containing `-D' options to define the
predefined macros that identify this machine and system. These macros will predefined macros that identify this machine and system. These macros will
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
Defined in svr4.h. */ Defined in svr4.h. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{G*} %{v} %{Ym,*} %{Yd,*} \ %{G*} %{Ym,*} %{Yd,*} \
%{mtomcat-stats} \ %{mtomcat-stats} \
%{!mno-eflags: \ %{!mno-eflags: \
%{mcpu=*} \ %{mcpu=*} \
......
...@@ -96,7 +96,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -96,7 +96,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{v} --32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" "--32 %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
#undef SUBTARGET_EXTRA_SPECS #undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \ #define SUBTARGET_EXTRA_SPECS \
......
...@@ -71,7 +71,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -71,7 +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} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \ #define ASM_SPEC "%{" 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
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
hosting on Windows 32/64 via mingw-w64 runtime, using GNU tools and hosting on Windows 32/64 via mingw-w64 runtime, using GNU tools and
the Windows API Library. the Windows API Library.
Copyright (C) 2009, Copyright (C) 2009,
2009 Free Software Foundation, Inc. 2010 Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -36,7 +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} %{m32:--32} %{m64:--64}" #define ASM_SPEC "%{m32:--32} %{m64:--64}"
#undef SPEC_32 #undef SPEC_32
#undef SPEC_64 #undef SPEC_64
......
...@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -26,7 +26,7 @@ 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} %{m32:--32} %{m64:--64} -s %(asm_cpu)" #define ASM_SPEC "%{m32:--32} %{m64:--64} -s %(asm_cpu)"
#else #else
#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} " \ #define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} " \
"%{m32:-xarch=generic} %{m64:-xarch=generic64} " \ "%{m32:-xarch=generic} %{m64:-xarch=generic64} " \
......
...@@ -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}" #define ASM_SPEC ""
#define TARGET_OS_CPP_BUILTINS() \ #define TARGET_OS_CPP_BUILTINS() \
do \ do \
......
...@@ -52,7 +52,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -52,7 +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} %{m32:--32} %{m64:--64}" #define ASM_SPEC "%{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) \
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
%{mbarrel-shift-enabled} \ %{mbarrel-shift-enabled} \
%{msign-extend-enabled} \ %{msign-extend-enabled} \
%{muser-extend-enabled} \ %{muser-extend-enabled} \
%{v} \
" "
/* Let link script define all link options. /* Let link script define all link options.
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
/* Options to pass on to the assembler. */ /* Options to pass on to the assembler. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic|fpie:-K PIC} %{fPIC|fPIE:-K PIC}" #define ASM_SPEC "%(asm_cpu) %(relax) %{fpic|fpie:-K PIC} %{fPIC|fPIE:-K PIC}"
#define LINK_SPEC "%{v} %(link_cpu) %(relax)" #define LINK_SPEC "%{v} %(link_cpu) %(relax)"
......
...@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see
/* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */ /* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \ #define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \
%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}" %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}"
#undef PREFERRED_STACK_BOUNDARY #undef PREFERRED_STACK_BOUNDARY
#define PREFERRED_STACK_BOUNDARY 32 #define PREFERRED_STACK_BOUNDARY 32
......
...@@ -74,7 +74,7 @@ extern enum pipeline_type microblaze_pipe; ...@@ -74,7 +74,7 @@ extern enum pipeline_type microblaze_pipe;
/* Assembler specs. */ /* Assembler specs. */
#define TARGET_ASM_SPEC "%{v}" #define TARGET_ASM_SPEC ""
#define ASM_SPEC "\ #define ASM_SPEC "\
%{microblaze1} \ %{microblaze1} \
......
...@@ -1141,7 +1141,7 @@ enum mips_code_readable_setting { ...@@ -1141,7 +1141,7 @@ enum mips_code_readable_setting {
%{mfp32} %{mfp64} \ %{mfp32} %{mfp64} \
%{mshared} %{mno-shared} \ %{mshared} %{mno-shared} \
%{msym32} %{mno-sym32} \ %{msym32} %{mno-sym32} \
%{mtune=*} %{v} \ %{mtune=*} \
%(subtarget_asm_spec)" %(subtarget_asm_spec)"
/* Extra switches sometimes passed to the linker. */ /* Extra switches sometimes passed to the linker. */
......
...@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3. If not see
%(subtarget_asm_debugging_spec) \ %(subtarget_asm_debugging_spec) \
%{mabi=*} %{!mabi*: %(asm_abi_default_spec)} \ %{mabi=*} %{!mabi*: %(asm_abi_default_spec)} \
%{mgp32} %{mgp64} %{march=*} %{mxgot:-xgot} \ %{mgp32} %{mgp64} %{march=*} %{mxgot:-xgot} \
%{mtune=*} %{v} \ %{mtune=*} \
%(subtarget_asm_spec)" %(subtarget_asm_spec)"
#undef LINK_SPEC #undef LINK_SPEC
......
...@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -33,7 +33,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} %{Ym,*} %{Yd,*}" "%{Ym,*} %{Yd,*}"
/* Define this for shared library support because it isn't in the main /* Define this for shared library support because it isn't in the main
linux.h file. */ linux.h file. */
......
...@@ -71,4 +71,4 @@ ...@@ -71,4 +71,4 @@
#define ASM_APP_OFF "#NO_APP\n" #define ASM_APP_OFF "#NO_APP\n"
/* Define SVR4_ASM_SPEC, we use GAS by default. See svr4.h for details. */ /* Define SVR4_ASM_SPEC, we use GAS by default. See svr4.h for details. */
#define SVR4_ASM_SPEC \ #define SVR4_ASM_SPEC \
"%{v:-V}" ""
...@@ -207,7 +207,7 @@ extern int dot_symbols; ...@@ -207,7 +207,7 @@ extern int dot_symbols;
#define ASM_SPEC_COMMON "%(asm_cpu) \ #define ASM_SPEC_COMMON "%(asm_cpu) \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
%{v:-V} %{Qy:} %{!Qn:-Qy} \ %{Qy:} %{!Qn:-Qy} \
%{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian}" %{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian}"
#undef SUBSUBTARGET_EXTRA_SPECS #undef SUBSUBTARGET_EXTRA_SPECS
......
...@@ -87,7 +87,7 @@ VXWORKS_ADDITIONAL_CPP_SPEC ...@@ -87,7 +87,7 @@ VXWORKS_ADDITIONAL_CPP_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%(asm_cpu) \ "%(asm_cpu) \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
%{v:-v} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} \ %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} \
%{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} -mbig" %{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} -mbig"
#undef LIB_SPEC #undef LIB_SPEC
......
...@@ -55,7 +55,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -55,7 +55,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} -s %{fpic|fPIC|fpie|fPIE:-K PIC} \ -s %{fpic|fPIC|fpie|fPIE:-K PIC} \
%{mlittle-endian:-EL} \ %{mlittle-endian:-EL} \
%(asm_cpu) %(asm_arch) \ %(asm_cpu) %(asm_arch) \
" "
......
...@@ -63,7 +63,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -63,7 +63,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifdef USE_GAS #ifdef USE_GAS
#define SVR4_ASM_SPEC \ #define SVR4_ASM_SPEC \
"%{v:-V}" ""
#else #else
#define SVR4_ASM_SPEC \ #define SVR4_ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}" "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}"
......
...@@ -43,8 +43,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -43,8 +43,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{v} \ "%{mtext-section-literals:--text-section-literals} \
%{mtext-section-literals:--text-section-literals} \
%{mno-text-section-literals:--no-text-section-literals} \ %{mno-text-section-literals:--no-text-section-literals} \
%{mtarget-align:--target-align} \ %{mtarget-align:--target-align} \
%{mno-target-align:--no-target-align} \ %{mno-target-align:--no-target-align} \
......
...@@ -35,8 +35,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -35,8 +35,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{v} \ "%{mtext-section-literals:--text-section-literals} \
%{mtext-section-literals:--text-section-literals} \
%{mno-text-section-literals:--no-text-section-literals} \ %{mno-text-section-literals:--no-text-section-literals} \
%{mtarget-align:--target-align} \ %{mtarget-align:--target-align} \
%{mno-target-align:--no-target-align} \ %{mno-target-align:--no-target-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