From 079c4f5a1d524a13cdd9809f63c64212d4c04152 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Thu, 2 Dec 2010 19:38:14 +0000 Subject: [PATCH] * 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,. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167384 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 21 +++++++++++++++++++++ gcc/config/alpha/freebsd.h | 1 - gcc/config/bfin/bfin.h | 2 +- gcc/config/frv/frv.h | 2 +- gcc/config/lm32/uclinux-elf.h | 4 ++-- gcc/config/microblaze/microblaze.h | 2 +- gcc/config/mn10300/linux.h | 4 ++-- gcc/config/pa/pa-linux.h | 4 ++-- gcc/config/rs6000/freebsd.h | 4 ++-- gcc/config/rs6000/linux64.h | 2 +- gcc/config/rs6000/sysv4.h | 2 +- gcc/config/rs6000/vxworks.h | 2 +- gcc/config/sol2.h | 2 +- gcc/config/sparc/linux.h | 3 +-- gcc/config/sparc/linux64.h | 3 +-- gcc/config/sparc/sp-elf.h | 2 +- gcc/config/sparc/sysv4.h | 2 +- gcc/config/svr4.h | 4 ++-- gcc/config/vxworks.h | 2 +- 19 files changed, 43 insertions(+), 25 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39f3e04..3a060e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,24 @@ +2010-12-02 Joseph Myers + + * 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 * config/pdp11/pdp11.c (output_jump): Map unsigned to signed diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h index d100bba..972774f 100644 --- a/gcc/config/alpha/freebsd.h +++ b/gcc/config/alpha/freebsd.h @@ -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: \ diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 88d15fe..c409b26 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -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 "\ diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index f3fe567..b2bc262 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -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=*} \ diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h index ce9719a..b060ac7 100644 --- a/gcc/config/lm32/uclinux-elf.h +++ b/gcc/config/lm32/uclinux-elf.h @@ -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 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} \ diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h index 7290f75..a86ba8c 100644 --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -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 */ diff --git a/gcc/config/mn10300/linux.h b/gcc/config/mn10300/linux.h index ac9f8c5..9992877 100644 --- a/gcc/config/mn10300/linux.h +++ b/gcc/config/mn10300/linux.h @@ -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 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" diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index cd46790..fc1ed4b 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -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. */ diff --git a/gcc/config/rs6000/freebsd.h b/gcc/config/rs6000/freebsd.h index bc2a10b..958d818 100644 --- a/gcc/config/rs6000/freebsd.h +++ b/gcc/config/rs6000/freebsd.h @@ -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 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}" diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 0bc774a..c39b735 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -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 diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index ae27682..b5c25f0 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -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)" diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index 007d870..bbe39d2 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -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 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 40db4b3..8c29fab 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -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) \ " diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 1272d2a..2b0bd73 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -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}} \ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index d8a2427..7f413c7 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -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}} \ diff --git a/gcc/config/sparc/sp-elf.h b/gcc/config/sparc/sp-elf.h index 8f0e892..99fd507 100644 --- a/gcc/config/sparc/sp-elf.h +++ b/gcc/config/sparc/sp-elf.h @@ -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. */ diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index 542f7c1..99dc3f8 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -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. diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index f45706b..90967a1 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -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 diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index 142fd91..308e6b2 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -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} \ -- 2.7.4