From c75d884b6dd8c8501cee8d6fcd15b9351cb2c7ac Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 26 Jan 2011 20:30:12 +0000 Subject: [PATCH] bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. * config/frv/frv.h (LINK_SPEC): Likewise. * config/i386/netware.h (LINK_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. * config/rs6000/sysv4.h (LINK_SPEC): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sparc/linux.h (ASM_SPEC): Likewise. * config/sparc/linux64.h (ASM_SPEC): Likewise. * config/sparc/sp-elf.h (ASM_SPEC): Likewise. From-SVN: r169303 --- gcc/ChangeLog | 13 +++++++++++++ gcc/config/bfin/bfin.h | 1 - gcc/config/frv/frv.h | 3 +-- gcc/config/i386/netware.h | 5 ++--- gcc/config/m68k/linux.h | 3 +-- gcc/config/rs6000/linux64.h | 1 - gcc/config/rs6000/sysv4.h | 1 - gcc/config/rs6000/vxworks.h | 1 - gcc/config/sparc/linux.h | 1 - gcc/config/sparc/linux64.h | 1 - gcc/config/sparc/sp-elf.h | 2 +- 11 files changed, 18 insertions(+), 14 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23ba926122c..606715d7eaa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2011-01-26 Joseph Myers + + * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. + * config/frv/frv.h (LINK_SPEC): Likewise. + * config/i386/netware.h (LINK_SPEC): Likewise. + * config/m68k/linux.h (ASM_SPEC): Likewise. + * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. + * config/rs6000/sysv4.h (LINK_SPEC): Likewise. + * config/rs6000/vxworks.h (ASM_SPEC): Likewise. + * config/sparc/linux.h (ASM_SPEC): Likewise. + * config/sparc/linux64.h (ASM_SPEC): Likewise. + * config/sparc/sp-elf.h (ASM_SPEC): Likewise. + 2011-01-26 Joseph Myers * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 7326244f757..c26b41cc5d6 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -249,7 +249,6 @@ extern unsigned int bfin_workarounds; %{static:-dn -Bstatic} \ %{shared:-G -Bdynamic} \ %{symbolic:-Bsymbolic} \ -%{Qy:} %{!Qn:-Qy} \ -init __init -fini __fini " /* Generate DSP instructions, like DSP halfword loads */ diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index dca9aba6ee0..4f43cdccedf 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -126,8 +126,7 @@ %{static:-dn -Bstatic} \ %{shared:-Bdynamic} \ %{symbolic:-Bsymbolic} \ -%{G*} \ -%{Qy:} %{!Qn:-Qy}" +%{G*}" #undef LIB_SPEC #define LIB_SPEC "--start-group -lc -lsim --end-group" diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 72d9e340658..7f63f4518b3 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -1,6 +1,6 @@ /* Core target definitions for GCC for Intel 80x86 running Netware. and using dwarf for the debugging format. - Copyright (C) 1993, 1994, 2004, 2007, 2008, 2009, 2010 + Copyright (C) 1993, 1994, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Written by David V. Henkel-Wallace (gumby@cygnus.com) @@ -34,8 +34,7 @@ along with GCC; see the file COPYING3. If not see /* Kinda useless, but what the hell */ #undef LINK_SPEC -#define LINK_SPEC "%{h*} %{v:-V} \ - %{Qy:} %{!Qn:-Qy}" +#define LINK_SPEC "%{h*} %{v:-V}" #undef STARTFILE_SPEC #define STARTFILE_SPEC "" diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 32dd577f724..82417b477bd 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -24,8 +24,7 @@ along with GCC; see the file COPYING3. If not see /* Add %(asm_cpu_spec) to a generic definition of ASM_SPEC. */ #undef ASM_SPEC -#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \ - %{Qy:} %{!Qn:-Qy}" +#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec)" #undef PREFERRED_STACK_BOUNDARY #define PREFERRED_STACK_BOUNDARY 32 diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 11d8a337a9e..ba5b2cf5ca8 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -207,7 +207,6 @@ extern int dot_symbols; #define ASM_SPEC_COMMON "%(asm_cpu) \ %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ -%{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 425e43c5429..71af74e1121 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -620,7 +620,6 @@ extern int fixuplabelno; #define LINK_SPEC "\ %{h*} %{v:-V} %{!msdata=none:%{G*}} %{msdata=none:-G0} \ %{R*} \ -%{Qy:} %{!Qn:-Qy} \ %(link_shlib) \ %{!T*: %(link_start) } \ %(link_target) \ diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index 6a724b2a4b5..ac7efe7dfcd 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -86,7 +86,6 @@ VXWORKS_ADDITIONAL_CPP_SPEC #define ASM_SPEC \ "%(asm_cpu) \ %{,assembler|,assembler-with-cpp: %{mregnames} %{mno-regnames}} \ - %{Qy:} %{!Qn:-Qy} \ %{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} -mbig" #undef LIB_SPEC diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index df1333a9cc9..b37cccebb57 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -85,7 +85,6 @@ 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 "\ -%{!Qn:-Qy} \ -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 e6e309db224..cd7c390e6ff 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -208,7 +208,6 @@ 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 "\ -%{!Qn:-Qy} \ -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 8b78d2591da..6c0797f74ba 100644 --- a/gcc/config/sparc/sp-elf.h +++ b/gcc/config/sparc/sp-elf.h @@ -27,7 +27,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 \ - "%{Qy:} %{!Qn:-Qy} -s \ + "-s \ %{fpic|fpie|fPIC|fPIE:-K PIC} %(asm_cpu)" /* Use the default. */ -- 2.30.2