]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
freebsd.h (LINK_SPEC): Don't handle -Wl,.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 2 Dec 2010 19:38:14 +0000 (19:38 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 2 Dec 2010 19:38:14 +0000 (19:38 +0000)
* 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

19 files changed:
gcc/ChangeLog
gcc/config/alpha/freebsd.h
gcc/config/bfin/bfin.h
gcc/config/frv/frv.h
gcc/config/lm32/uclinux-elf.h
gcc/config/microblaze/microblaze.h
gcc/config/mn10300/linux.h
gcc/config/pa/pa-linux.h
gcc/config/rs6000/freebsd.h
gcc/config/rs6000/linux64.h
gcc/config/rs6000/sysv4.h
gcc/config/rs6000/vxworks.h
gcc/config/sol2.h
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/sp-elf.h
gcc/config/sparc/sysv4.h
gcc/config/svr4.h
gcc/config/vxworks.h

index 39f3e04831c854c0e0948c96000a3fd8b6bcc585..3a060e8b2c035d6cf151bc41f9c03d23beeb7c2a 100644 (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
index d100bba78601ce75057247086a4d3266b4cc97eb..972774f8165f600f0ff9cecd89352f5ded35ceb6 100644 (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:                                                           \
index 88d15fea63f8c694468f01648c854b5d413da24c..c409b2654260933847954627c97910a10828710d 100644 (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 "\
index f3fe567be3ec9dc1218629fd82a94d6701faa59f..b2bc2622c8630090958aacd62d01728b5664210a 100644 (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=*} \
index ce9719a3be619f29c0b4b1796c08b85d3e8d3d87..b060ac759189348f93f9c51509c515b3c5fae0d7 100644 (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} \
index 7290f75187d52f13406b1c29ed303384dea61215..a86ba8ce52cd3936af50052daa731d1337814a82 100644 (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  */
 
index ac9f8c5c0121cec8bec6018a1c2de25f8e5ba4f8..9992877e2eff8147f16f310b8b99af8973d7adcc 100644 (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"
 
index cd467900d228462e571036e6e4742225a2dc0972..fc1ed4be406ce5b51814e5b6608cfca3e72d2179 100644 (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.  */
index bc2a10bb7a3aeaef478c79c674bbac654706bee2..958d818e4b2fb0d3845a237e89d4f14619106de1 100644 (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}"
index 0bc774a1f0cdc2df5d5de36eff1f5d7511820492..c39b7351e70f6ac4591e92865936967a5049697b 100644 (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
index ae27682a6827f3d1b631611420af0a7255e41538..b5c25f0d5838fbc55e0e3d21ac945a3dc03751d0 100644 (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)"
 
index 007d870881863e4fbd2dd54d24d0cd25173c32a3..bbe39d2f80fe53ab8567b9229c535cc341fd2a06 100644 (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
index 40db4b36418c7ff0d2699394b509c8be5aef4f38..8c29fab9ef6b5dacfb62b7bd543f84d9d003ee25 100644 (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) \
 "
index 1272d2aba7d4c7891384bf1a4c1305d5c19dbe9f..2b0bd73ff05bc6ec68e5c1bdf5f2cc75bbbb36ae 100644 (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}} \
index d8a242758dd420d13979e2a082dbedde77e01cf5..7f413c7feb04d9f98367f5ea0dd1db6674733660 100644 (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}} \
index 8f0e892971a25fe0e23935ec87a693cac586946a..99fd507b73093c4819d8e5bc6d8454b1ea02c488 100644 (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.  */
index 542f7c1b0550faba53dc4ae748fb2873cd781e58..99dc3f8489c1f395945bb23cb208e8c2e5d2d533 100644 (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.
index f45706b4f761be3be478362c6f1e0007250194d1..90967a1873eae68b83f7641a825a4fc051877358 100644 (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
index 142fd91e06fd16e6283e9a307eee9a2898b94b42..308e6b22e9287d51ef6fe2d8b5749ce170dbd2bb 100644 (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}                                     \