Commit c6c34cb4 by Joseph Myers Committed by Joseph Myers

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
parent e9e4977e
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
......@@ -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: \
......
......@@ -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 "\
......
......@@ -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=*} \
......
/* 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} \
......
......@@ -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 */
......
/* 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"
......
/* 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. */
......
/* 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}"
......@@ -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
......
......@@ -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)"
......
......@@ -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
......
......@@ -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) \
"
......
/* 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}} \
......
/* 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}} \
......
......@@ -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. */
......
......@@ -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.
......
......@@ -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
......
......@@ -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} \
......
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