From 51769cc040ac9c1b555ccf9821aaad0ca137a937 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 9 Dec 2010 13:25:25 +0000 Subject: [PATCH] bfin.h (ASM_SPEC): Remove %{n} and %{T}. * config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}. * config/frv/frv.h (ASM_SPEC): Likewise. * config/i386/sol2-10.h (ASM_SPEC): Likewise. * config/i386/sol2.h (ASM_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/pa/pa-linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC32): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sol2.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. * config/sparc/sysv4.h (ASM_SPEC): Likewise. * config/svr4.h (SVR4_ASM_SPEC): Likewise. From-SVN: r167633 --- gcc/ChangeLog | 17 +++++++++++++++++ gcc/config/bfin/bfin.h | 2 +- gcc/config/frv/frv.h | 2 +- gcc/config/i386/sol2-10.h | 2 +- gcc/config/i386/sol2.h | 2 +- gcc/config/m68k/linux.h | 4 ++-- gcc/config/pa/pa-linux.h | 2 +- gcc/config/rs6000/linux64.h | 2 +- gcc/config/rs6000/vxworks.h | 2 +- gcc/config/sol2.h | 2 +- gcc/config/sparc/linux.h | 2 -- gcc/config/sparc/linux64.h | 2 -- gcc/config/sparc/sp-elf.h | 2 +- gcc/config/sparc/sysv4.h | 2 +- gcc/config/svr4.h | 2 +- 15 files changed, 30 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7380a979f78..e1c64a56b63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2010-12-09 Joseph Myers + + * config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}. + * config/frv/frv.h (ASM_SPEC): Likewise. + * config/i386/sol2-10.h (ASM_SPEC): Likewise. + * config/i386/sol2.h (ASM_SPEC): Likewise. + * config/m68k/linux.h (ASM_SPEC): Likewise. + * config/pa/pa-linux.h (ASM_SPEC): Likewise. + * config/rs6000/linux64.h (ASM_SPEC32): Likewise. + * config/rs6000/vxworks.h (ASM_SPEC): Likewise. + * config/sol2.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. + * config/sparc/sysv4.h (ASM_SPEC): Likewise. + * config/svr4.h (SVR4_ASM_SPEC): Likewise. + 2010-12-09 Richard Guenther * reginfo.c (struct subregs_of_mode_node): Remove. diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 955225d8697..ab816e4d94e 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,*} \ +%{v} %{Ym,*} %{Yd,*} \ %{mno-fdpic:-mnopic} %{mfdpic}" #define LINK_SPEC "\ diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index f2a103574f1..b8771ec7a01 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -65,7 +65,7 @@ Defined in svr4.h. */ #undef ASM_SPEC #define ASM_SPEC "\ -%{G*} %{v} %{n} %{T} %{Ym,*} %{Yd,*} \ +%{G*} %{v} %{Ym,*} %{Yd,*} \ %{mtomcat-stats} \ %{!mno-eflags: \ %{mcpu=*} \ diff --git a/gcc/config/i386/sol2-10.h b/gcc/config/i386/sol2-10.h index fc4ea2ea888..9f0f448eb1c 100644 --- a/gcc/config/i386/sol2-10.h +++ b/gcc/config/i386/sol2-10.h @@ -28,7 +28,7 @@ along with GCC; see the file COPYING3. If not see #ifdef USE_GAS #define ASM_SPEC "%{v} %{m32:--32} %{m64:--64} -s %(asm_cpu)" #else -#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} " \ +#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*} " \ "%{m32:-xarch=generic} %{m64:-xarch=generic64} " \ "-s %(asm_cpu)" #endif diff --git a/gcc/config/i386/sol2.h b/gcc/config/i386/sol2.h index ce469a719fe..a717b533463 100644 --- a/gcc/config/i386/sol2.h +++ b/gcc/config/i386/sol2.h @@ -54,7 +54,7 @@ along with GCC; see the file COPYING3. If not see /* FIXME: Removed -K PIC from generic Solaris 2 ASM_SPEC: the native assembler gives many warnings: R_386_32 relocation is used for symbol ".text". */ #undef ASM_SPEC -#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} -s %(asm_cpu)" +#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} -s %(asm_cpu)" #define ASM_CPU_SPEC "" diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 4a38a4230c4..4608be9790b 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -1,7 +1,7 @@ /* Definitions for Motorola 68k running Linux-based GNU systems with ELF format. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2006, - 2007, 2009 Free Software Foundation, Inc. + 2007, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see /* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */ #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \ - %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}" + %{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}" #undef PREFERRED_STACK_BOUNDARY #define PREFERRED_STACK_BOUNDARY 32 diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index fc1ed4be406..16d88fe9d0d 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -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,*}" + "%{v:-V} %{Ym,*} %{Yd,*}" /* Define this for shared library support because it isn't in the main linux.h file. */ diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index c39b7351e70..0089b9dcc56 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -192,7 +192,7 @@ extern int dot_symbols; #endif #endif -#define ASM_SPEC32 "-a32 %{n} %{T} %{Ym,*} %{Yd,*} \ +#define ASM_SPEC32 "-a32 %{Ym,*} %{Yd,*} \ %{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} \ %{memb} %{!memb: %{msdata=eabi: -memb}} \ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \ diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index bbe39d2f80f..3f46c2cf27f 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,*} \ + %{v:-v} %{Qy:} %{!Qn:-Qy} %{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 1ef09202c64..943ff8bb726 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,*} -s \ +%{v:-V} %{Qy:} %{!Qn:-Qy} %{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 0bf5b0ef786..fd63c63d35a 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -92,8 +92,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_SPEC #define ASM_SPEC "\ %{!Qn:-Qy} \ -%{n} \ -%{T} \ %{Ym,*} \ -s \ %{fpic|fPIC|fpie|fPIE:-K PIC} \ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 837654cf79b..099a46213be 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -221,8 +221,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_SPEC #define ASM_SPEC "\ %{!Qn:-Qy} \ -%{n} \ -%{T} \ %{Ym,*} \ -s \ %{fpic|fPIC|fpie|fPIE:-K PIC} \ diff --git a/gcc/config/sparc/sp-elf.h b/gcc/config/sparc/sp-elf.h index 99fd507b730..1d8c6b75560 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,*} -s \ + "%{v:-V} %{Qy:} %{!Qn:-Qy} %{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 99dc3f8489c..c4765e8bbf6 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,*} \ + "%{v:-V} %{Qy:} %{!Qn:-Qy} %{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 adf94918b95..74b513cad40 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -66,7 +66,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see "%{v:-V}" #else #define SVR4_ASM_SPEC \ - "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}" + "%{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} %{Yd,*}" #endif #undef ASM_SPEC -- 2.30.2