freebsd.h (LINK_SPEC): Don't handle -Wl,.

* config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
	* config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
	* config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
	* config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,.
	* config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,.
	* config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,.
	* config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,.
	* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,.
	* config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,.
	* config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,.
	* config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,.
	* config/sol2.h (ASM_SPEC): Don't handle -Wa,.
	* config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,.
	* config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,.
	* config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,.
	* config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,.
	* config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,.
	* config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,.

From-SVN: r167384
This commit is contained in:
Joseph Myers 2010-12-02 19:38:14 +00:00 committed by Joseph Myers
parent e9e4977ef7
commit c6c34cb43a
19 changed files with 43 additions and 25 deletions

View File

@ -1,3 +1,24 @@
2010-12-02 Joseph Myers <joseph@codesourcery.com>
* config/alpha/freebsd.h (LINK_SPEC): Don't handle -Wl,.
* config/bfin/bfin.h (ASM_SPEC): Don't handle -Wa,.
* config/frv/frv.h (ASM_SPEC): Don't handle -Wa,.
* config/lm32/uclinux-elf.h (LINK_SPEC): Don't handle -Wl,.
* config/microblaze/microblaze.h (LINK_SPEC): Don't handle -Wl,.
* config/mn10300/linux.h (ASM_SPEC): Don't handle -Wa,.
* config/pa/pa-linux.h (ASM_SPEC): Don't handle -Wa,.
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't handle -Wa,.
* config/rs6000/linux64.h (ASM_SPEC_COMMON): Don't handle -Wa,.
* config/rs6000/sysv4.h (LINK_SPEC): Don't handle -Wl,.
* config/rs6000/vxworks.h (ASM_SPEC): Don't handle -Wa,.
* config/sol2.h (ASM_SPEC): Don't handle -Wa,.
* config/sparc/linux.h (ASM_SPEC): Don't handle -Wa,.
* config/sparc/linux64.h (ASM_SPEC): Don't handle -Wa,.
* config/sparc/sp-elf.h (ASM_SPEC): Don't handle -Wa,.
* config/sparc/sysv4.h (ASM_SPEC): Don't handle -Wa,.
* config/svr4.h (SVR4_ASM_SPEC): Don't handle -Wa,.
* config/vxworks.h (VXWORKS_LINK_SPEC): Don't handle -Wl,.
2010-12-02 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (output_jump): Map unsigned to signed

View File

@ -32,7 +32,6 @@ along with GCC; see the file COPYING3. If not see
#define LINK_SPEC "%{G*} %{relax:-relax} \
%{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
%{Wl,*:%*} \
%{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \
%{!shared: \

View File

@ -248,7 +248,7 @@ extern unsigned int bfin_workarounds;
Defined in svr4.h. */
#undef ASM_SPEC
#define ASM_SPEC "\
%{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
%{v} %{n} %{T} %{Ym,*} %{Yd,*} \
%{mno-fdpic:-mnopic} %{mfdpic}"
#define LINK_SPEC "\

View File

@ -71,7 +71,7 @@
Defined in svr4.h. */
#undef ASM_SPEC
#define ASM_SPEC "\
%{G*} %{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
%{G*} %{v} %{n} %{T} %{Ym,*} %{Yd,*} \
%{mtomcat-stats} \
%{!mno-eflags: \
%{mcpu=*} \

View File

@ -1,6 +1,6 @@
/* Definitions for LM32 running Linux-based GNU systems using ELF
Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
2009 Free Software Foundation, Inc.
2009, 2010 Free Software Foundation, Inc.
Contributed by Philip Blundell <philb@gnu.org>
This file is part of GCC.
@ -68,7 +68,7 @@
#undef LINK_SPEC
#define LINK_SPEC "%{h*} %{version:-v} \
%{b} %{Wl,*:%*} \
%{b} \
%{static:-Bstatic} \
%{shared:-shared} \
%{symbolic:-Bsymbolic} \

View File

@ -87,7 +87,7 @@ extern enum pipeline_type microblaze_pipe;
%{Zxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} \
%{mxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} \
%{mxl-gp-opt:%{G*}} %{!mxl-gp-opt: -G 0} \
%{!Wl,-T*: %{!T*: -dT xilinx.ld%s}}"
%{!T*: -dT xilinx.ld%s}"
/* Specs for the compiler proper */

View File

@ -1,6 +1,6 @@
/* Definitions of taret machine for GNU compiler.
Matsushita AM33/2.0
Copyright 2001, 2002, 2005, 2006, 2007 Free Software Foundation, Inc.
Copyright 2001, 2002, 2005, 2006, 2007, 2010 Free Software Foundation, Inc.
Contributed by Alexandre Oliva <aoliva@redhat.com>
This file is part of GCC.
@ -30,7 +30,7 @@
%{pthread:-D_REENTRANT -D_PTHREADS}"
#undef ASM_SPEC
#define ASM_SPEC "%{Wa,*:%*}"
#define ASM_SPEC ""
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"

View File

@ -1,5 +1,5 @@
/* Definitions for PA_RISC with ELF format
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
Free Software Foundation, Inc.
This file is part of GCC.
@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_SPEC
#define ASM_SPEC \
"%{v:-V} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
"%{v:-V} %{n} %{T} %{Ym,*} %{Yd,*}"
/* Define this for shared library support because it isn't in the main
linux.h file. */

View File

@ -1,5 +1,5 @@
/* Definitions for PowerPC running FreeBSD using the ELF format
Copyright (C) 2001, 2003, 2007, 2009 Free Software Foundation, Inc.
Copyright (C) 2001, 2003, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
This file is part of GCC.
@ -71,4 +71,4 @@
#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 \
"%{v:-V} %{Wa,*:%*}"
"%{v:-V}"

View File

@ -207,7 +207,7 @@ extern int dot_symbols;
#define ASM_SPEC_COMMON "%(asm_cpu) \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
%{v:-V} %{Qy:} %{!Qn:-Qy} %{Wa,*:%*} \
%{v:-V} %{Qy:} %{!Qn:-Qy} \
%{mlittle} %{mlittle-endian} %{mbig} %{mbig-endian}"
#undef SUBSUBTARGET_EXTRA_SPECS

View File

@ -644,7 +644,7 @@ SVR4_ASM_SPEC \
%{YP,*} %{R*} \
%{Qy:} %{!Qn:-Qy} \
%(link_shlib) \
%{!Wl,-T*: %{!T*: %(link_start) }} \
%{!T*: %(link_start) } \
%(link_target) \
%(link_os)"

View File

@ -87,7 +87,7 @@ VXWORKS_ADDITIONAL_CPP_SPEC
#define ASM_SPEC \
"%(asm_cpu) \
%{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \
%{v:-v} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
%{v:-v} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
%{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} -mbig"
#undef LIB_SPEC

View File

@ -115,7 +115,7 @@ along with GCC; see the file COPYING3. If not see
It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC
#define ASM_SPEC "\
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} -s \
%{fpic|fpie|fPIC|fPIE:-K PIC} \
%(asm_cpu) \
"

View File

@ -1,6 +1,6 @@
/* Definitions for SPARC running Linux-based GNU systems with ELF.
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
2007, 2008, 2009 Free Software Foundation, Inc.
2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Contributed by Eddie C. Dost (ecd@skynet.be)
This file is part of GCC.
@ -105,7 +105,6 @@ along with GCC; see the file COPYING3. If not see
%{n} \
%{T} \
%{Ym,*} \
%{Wa,*:%*} \
-s \
%{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \

View File

@ -1,6 +1,6 @@
/* Definitions for 64-bit SPARC running Linux-based GNU systems with ELF.
Copyright 1996, 1997, 1998, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
2009 Free Software Foundation, Inc.
2009, 2010 Free Software Foundation, Inc.
Contributed by David S. Miller (davem@caip.rutgers.edu)
This file is part of GCC.
@ -234,7 +234,6 @@ along with GCC; see the file COPYING3. If not see
%{n} \
%{T} \
%{Ym,*} \
%{Wa,*:%*} \
-s \
%{fpic|fPIC|fpie|fPIE:-K PIC} \
%{!.c:%{findirect-dispatch:-K PIC}} \

View File

@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see
It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC
#define ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} -s \
%{fpic|fpie|fPIC|fPIE:-K PIC} %(asm_cpu)"
/* Use the default. */

View File

@ -50,7 +50,7 @@ along with GCC; see the file COPYING3. If not see
/* Pass -K to the assembler when PIC. */
#undef ASM_SPEC
#define ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)"
/* Define the names of various pseudo-op used by the SPARC/svr4 assembler.

View File

@ -63,10 +63,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#ifdef USE_GAS
#define SVR4_ASM_SPEC \
"%{v:-V} %{Wa,*:%*}"
"%{v:-V}"
#else
#define SVR4_ASM_SPEC \
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*}"
"%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}"
#endif
#undef ASM_SPEC

View File

@ -60,7 +60,7 @@ along with GCC; see the file COPYING3. If not see
"%{!mrtp:-r} \
%{!shared: \
%{mrtp:-q %{h*} \
%{R*} %{!Wl,-T*: %{!T*: %(link_start) }} \
%{R*} %{!T*: %(link_start) } \
%(link_target) %(link_os)}} \
%{v:-v} \
%{shared:-shared} \