From eb1eb91413b50038212d148bf651c40e4d0e32f9 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 31 Mar 2011 13:13:13 +0100 Subject: [PATCH] re PR target/47109 (m68k-netbsdelf: collect2 build fails with undefined reference to m68k_cpu_flags) PR target/47109 * doc/tm.texi.in (TARGET_VERSION): Remove. * doc/tm.texi: Regenerate. * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. * collect2.c (main): Don't use TARGET_VERSION. * mips-tdump.c (main): Don't use TARGET_VERSION. * mips-tfile.c (main): Don't use TARGET_VERSION. * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. * config/rs6000/vxworksae.h: Remove. * config/alpha/alpha.h (TARGET_VERSION): Remove. * config/alpha/freebsd.h (TARGET_VERSION): Remove. * config/alpha/linux-elf.h (TARGET_VERSION): Remove. * config/alpha/netbsd.h (TARGET_VERSION): Remove. * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. * config/arm/arm.h (TARGET_VERSION): Remove. * config/arm/coff.h (TARGET_VERSION): Remove. * config/arm/ecos-elf.h (TARGET_VERSION): Remove. * config/arm/elf.h (TARGET_VERSION): Remove. * config/arm/freebsd.h (TARGET_VERSION): Remove. * config/arm/linux-elf.h (TARGET_VERSION): Remove. * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. * config/arm/pe.h (TARGET_VERSION): Remove. * config/arm/rtems-elf.h (TARGET_VERSION): Remove. * config/arm/semi.h (TARGET_VERSION): Remove. * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. * config/arm/unknown-elf.h (TARGET_VERSION): Remove. * config/arm/vxworks.h (TARGET_VERSION): Remove. * config/avr/avr.h (TARGET_VERSION): Remove. * config/bfin/bfin.h (TARGET_VERSION): Remove. * config/fr30/fr30.h (TARGET_VERSION): Remove. * config/frv/frv.h (TARGET_VERSION): Remove. * config/h8300/h8300.h (TARGET_VERSION): Remove. * config/i386/cygwin.h (TARGET_VERSION): Remove. * config/i386/darwin.h (TARGET_VERSION): Remove. * config/i386/darwin64.h (TARGET_VERSION): Remove. * config/i386/djgpp.h (TARGET_VERSION): Remove. * config/i386/freebsd.h (TARGET_VERSION): Remove. * config/i386/freebsd64.h (TARGET_VERSION): Remove. * config/i386/gnu.h (TARGET_VERSION): Remove. * config/i386/i386-interix.h (TARGET_VERSION): Remove. * config/i386/i386elf.h (TARGET_VERSION): Remove. * config/i386/linux.h (TARGET_VERSION): Remove. * config/i386/linux64.h (TARGET_VERSION): Remove. * config/i386/lynx.h (TARGET_VERSION): Remove. * config/i386/mingw32.h (TARGET_VERSION): Remove. * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. * config/i386/netbsd64.h (TARGET_VERSION): Remove. * config/i386/netware.h (TARGET_VERSION): Remove. * config/i386/nto.h (TARGET_VERSION): Remove. * config/i386/openbsd.h (TARGET_VERSION): Remove. * config/i386/vxworks.h (TARGET_VERSION): Remove. * config/ia64/elf.h (TARGET_VERSION): Remove. * config/ia64/freebsd.h (TARGET_VERSION): Remove. * config/ia64/hpux.h (TARGET_VERSION): Remove. * config/ia64/linux.h (TARGET_VERSION): Remove. * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. * config/lm32/lm32.h (TARGET_VERSION): Remove. * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. * config/m32c/m32c.h (TARGET_VERSION): Remove. * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. * config/m32r/m32r.h (TARGET_VERSION): Remove. * config/m68k/linux.h (TARGET_VERSION): Remove. * config/m68k/m68k.h (TARGET_VERSION): Remove. * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. * config/m68k/uclinux.h (TARGET_VERSION): Remove. * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. * config/mep/mep.h (TARGET_VERSION): Remove. * config/microblaze/microblaze.h (MICROBLAZE_VERSION, MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. * config/mips/iris6.h (MACHINE_TYPE): Remove. * config/mips/linux.h (TARGET_VERSION): Remove. * config/mips/netbsd.h (MACHINE_TYPE): Remove. * config/mips/vxworks.h (TARGET_VERSION): Remove. * config/mmix/mmix.h (TARGET_VERSION): Remove. * config/mn10300/linux.h (TARGET_VERSION): Remove. * config/mn10300/mn10300.h (TARGET_VERSION): Remove. * config/pa/pa.h (TARGET_VERSION): Remove. * config/pdp11/pdp11.h (TARGET_VERSION): Remove. * config/picochip/picochip.h (TARGET_VERSION): Remove. * config/rs6000/aix.h (TARGET_VERSION): Remove. * config/rs6000/darwin.h (TARGET_VERSION): Remove. * config/rs6000/darwin64.h (TARGET_VERSION): Remove. * config/rs6000/eabi.h (TARGET_VERSION): Remove. * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. * config/rs6000/eabisim.h (TARGET_VERSION): Remove. * config/rs6000/eabispe.h (TARGET_VERSION): Remove. * config/rs6000/freebsd.h (TARGET_VERSION): Remove. * config/rs6000/linux.h (TARGET_VERSION): Remove. * config/rs6000/linux64.h (TARGET_VERSION): Remove. * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. * config/rs6000/lynx.h (TARGET_VERSION): Remove. * config/rs6000/netbsd.h (TARGET_VERSION): Remove. * config/rs6000/sysv4.h (TARGET_VERSION): Remove. * config/rs6000/vxworks.h (TARGET_VERSION): Remove. * config/s390/linux.h (TARGET_VERSION): Remove. * config/s390/s390.h (TARGET_VERSION): Remove. * config/s390/tpf.h (TARGET_VERSION): Remove. * config/score/score.h (TARGET_VERSION): Remove. * config/sh/linux.h (TARGET_VERSION): Remove. * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, TARGET_VERSION_CPU, TARGET_VERSION): Remove. * config/sh/sh.h (TARGET_VERSION): Remove. * config/sh/sh64.h (TARGET_VERSION): Remove. * config/sh/superh.h (TARGET_VERSION): Remove. * config/sh/vxworks.h (TARGET_VERSION): Remove. * config/sparc/freebsd.h (TARGET_VERSION): Remove. * config/sparc/linux.h (TARGET_VERSION): Remove. * config/sparc/linux64.h (TARGET_VERSION): Remove. * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, TARGET_NAME32, TARGET_NAME): Remove. * config/sparc/openbsd64.h (TARGET_VERSION): Remove. * config/sparc/sp-elf.h (TARGET_VERSION): Remove. * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. * config/sparc/sysv4.h (TARGET_VERSION): Remove. * config/sparc/vxworks.h (TARGET_VERSION): Remove. * config/spu/spu.h (TARGET_VERSION): Remove. * config/stormy16/stormy16.h (TARGET_VERSION): Remove. * config/v850/v850.h (TARGET_VERSION): Remove. * config/vax/linux.h (TARGET_VERSION): Remove. * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. * config/xtensa/elf.h (TARGET_VERSION): Remove. * config/xtensa/linux.h (TARGET_VERSION): Remove. From-SVN: r171779 --- gcc/ChangeLog | 129 +++++++++++++++++++++++++++++ gcc/collect2.c | 10 +-- gcc/config.gcc | 2 +- gcc/config/alpha/alpha.h | 5 +- gcc/config/alpha/freebsd.h | 5 +- gcc/config/alpha/linux-elf.h | 5 +- gcc/config/alpha/netbsd.h | 6 +- gcc/config/alpha/vms.h | 7 +- gcc/config/arm/arm.h | 4 - gcc/config/arm/coff.h | 3 - gcc/config/arm/ecos-elf.h | 5 +- gcc/config/arm/elf.h | 4 - gcc/config/arm/freebsd.h | 5 +- gcc/config/arm/linux-elf.h | 3 - gcc/config/arm/netbsd-elf.h | 2 - gcc/config/arm/pe.h | 2 - gcc/config/arm/rtems-elf.h | 2 - gcc/config/arm/semi.h | 4 - gcc/config/arm/uclinux-elf.h | 5 +- gcc/config/arm/unknown-elf.h | 7 +- gcc/config/arm/vxworks.h | 5 +- gcc/config/avr/avr.h | 2 - gcc/config/bfin/bfin.h | 3 - gcc/config/fr30/fr30.h | 6 +- gcc/config/frv/frv.h | 13 --- gcc/config/h8300/h8300.h | 4 - gcc/config/i386/cygwin.h | 4 +- gcc/config/i386/darwin.h | 4 +- gcc/config/i386/darwin64.h | 5 +- gcc/config/i386/djgpp.h | 4 +- gcc/config/i386/freebsd.h | 4 +- gcc/config/i386/freebsd64.h | 3 - gcc/config/i386/gnu.h | 3 - gcc/config/i386/i386-interix.h | 4 +- gcc/config/i386/i386elf.h | 4 +- gcc/config/i386/linux.h | 2 - gcc/config/i386/linux64.h | 6 -- gcc/config/i386/lynx.h | 4 +- gcc/config/i386/mingw32.h | 9 +- gcc/config/i386/netbsd-elf.h | 4 +- gcc/config/i386/netbsd64.h | 4 +- gcc/config/i386/netware.h | 2 - gcc/config/i386/nto.h | 5 +- gcc/config/i386/openbsd.h | 5 +- gcc/config/i386/vxworks.h | 6 +- gcc/config/ia64/elf.h | 7 +- gcc/config/ia64/freebsd.h | 5 +- gcc/config/ia64/hpux.h | 9 +- gcc/config/ia64/linux.h | 7 +- gcc/config/ia64/vms.h | 7 +- gcc/config/iq2000/iq2000.h | 15 ---- gcc/config/lm32/lm32.h | 5 -- gcc/config/lm32/uclinux-elf.h | 4 - gcc/config/m32c/m32c.h | 2 - gcc/config/m32r/linux.h | 9 -- gcc/config/m32r/m32r.h | 8 -- gcc/config/m68k/linux.h | 3 - gcc/config/m68k/m68k.h | 4 +- gcc/config/m68k/netbsd-elf.h | 10 +-- gcc/config/m68k/uclinux.h | 5 +- gcc/config/mcore/mcore-elf.h | 5 +- gcc/config/mep/mep.h | 4 +- gcc/config/microblaze/microblaze.h | 16 ---- gcc/config/mips/iris6.h | 3 - gcc/config/mips/linux.h | 7 -- gcc/config/mips/netbsd.h | 7 -- gcc/config/mips/vxworks.h | 3 - gcc/config/mmix/mmix.h | 6 +- gcc/config/mn10300/linux.h | 6 +- gcc/config/mn10300/mn10300.h | 4 - gcc/config/pa/pa.h | 4 - gcc/config/pdp11/pdp11.h | 5 +- gcc/config/picochip/picochip.h | 4 +- gcc/config/rs6000/aix.h | 7 +- gcc/config/rs6000/darwin.h | 7 +- gcc/config/rs6000/darwin64.h | 5 +- gcc/config/rs6000/eabi.h | 6 +- gcc/config/rs6000/eabialtivec.h | 5 +- gcc/config/rs6000/eabisim.h | 6 +- gcc/config/rs6000/eabispe.h | 5 +- gcc/config/rs6000/freebsd.h | 3 - gcc/config/rs6000/linux.h | 3 - gcc/config/rs6000/linux64.h | 3 - gcc/config/rs6000/linuxaltivec.h | 5 +- gcc/config/rs6000/linuxspe.h | 5 +- gcc/config/rs6000/lynx.h | 7 +- gcc/config/rs6000/netbsd.h | 5 +- gcc/config/rs6000/sysv4.h | 4 - gcc/config/rs6000/vxworks.h | 3 - gcc/config/rs6000/vxworksae.h | 23 ----- gcc/config/s390/linux.h | 13 +-- gcc/config/s390/s390.h | 7 -- gcc/config/s390/tpf.h | 6 +- gcc/config/score/score.h | 6 +- gcc/config/sh/linux.h | 4 +- gcc/config/sh/netbsd-elf.h | 23 +---- gcc/config/sh/sh.h | 5 +- gcc/config/sh/sh64.h | 7 +- gcc/config/sh/superh.h | 5 +- gcc/config/sh/vxworks.h | 5 +- gcc/config/sparc/freebsd.h | 3 - gcc/config/sparc/linux.h | 3 - gcc/config/sparc/linux64.h | 3 - gcc/config/sparc/netbsd-elf.h | 17 ---- gcc/config/sparc/openbsd64.h | 5 +- gcc/config/sparc/sp-elf.h | 3 - gcc/config/sparc/sp64-elf.h | 3 - gcc/config/sparc/sysv4.h | 4 - gcc/config/sparc/vxworks.h | 3 - gcc/config/spu/spu.h | 5 +- gcc/config/stormy16/stormy16.h | 2 - gcc/config/v850/v850.h | 9 -- gcc/config/vax/linux.h | 5 +- gcc/config/vax/vax.h | 9 +- gcc/config/xtensa/elf.h | 6 +- gcc/config/xtensa/linux.h | 3 - gcc/doc/tm.texi | 16 ---- gcc/doc/tm.texi.in | 16 ---- gcc/mips-tdump.c | 8 +- gcc/mips-tfile.c | 8 +- gcc/system.h | 5 +- 121 files changed, 216 insertions(+), 607 deletions(-) delete mode 100644 gcc/config/rs6000/vxworksae.h diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 714650e81c1..9442b249f16 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,132 @@ +2011-03-31 Joseph Myers + + PR target/47109 + * doc/tm.texi.in (TARGET_VERSION): Remove. + * doc/tm.texi: Regenerate. + * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. + * collect2.c (main): Don't use TARGET_VERSION. + * mips-tdump.c (main): Don't use TARGET_VERSION. + * mips-tfile.c (main): Don't use TARGET_VERSION. + * config.gcc (powerpc-wrs-vxworksae): Don't use + rs6000/vxworksae.h. + * config/rs6000/vxworksae.h: Remove. + * config/alpha/alpha.h (TARGET_VERSION): Remove. + * config/alpha/freebsd.h (TARGET_VERSION): Remove. + * config/alpha/linux-elf.h (TARGET_VERSION): Remove. + * config/alpha/netbsd.h (TARGET_VERSION): Remove. + * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. + * config/arm/arm.h (TARGET_VERSION): Remove. + * config/arm/coff.h (TARGET_VERSION): Remove. + * config/arm/ecos-elf.h (TARGET_VERSION): Remove. + * config/arm/elf.h (TARGET_VERSION): Remove. + * config/arm/freebsd.h (TARGET_VERSION): Remove. + * config/arm/linux-elf.h (TARGET_VERSION): Remove. + * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. + * config/arm/pe.h (TARGET_VERSION): Remove. + * config/arm/rtems-elf.h (TARGET_VERSION): Remove. + * config/arm/semi.h (TARGET_VERSION): Remove. + * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. + * config/arm/unknown-elf.h (TARGET_VERSION): Remove. + * config/arm/vxworks.h (TARGET_VERSION): Remove. + * config/avr/avr.h (TARGET_VERSION): Remove. + * config/bfin/bfin.h (TARGET_VERSION): Remove. + * config/fr30/fr30.h (TARGET_VERSION): Remove. + * config/frv/frv.h (TARGET_VERSION): Remove. + * config/h8300/h8300.h (TARGET_VERSION): Remove. + * config/i386/cygwin.h (TARGET_VERSION): Remove. + * config/i386/darwin.h (TARGET_VERSION): Remove. + * config/i386/darwin64.h (TARGET_VERSION): Remove. + * config/i386/djgpp.h (TARGET_VERSION): Remove. + * config/i386/freebsd.h (TARGET_VERSION): Remove. + * config/i386/freebsd64.h (TARGET_VERSION): Remove. + * config/i386/gnu.h (TARGET_VERSION): Remove. + * config/i386/i386-interix.h (TARGET_VERSION): Remove. + * config/i386/i386elf.h (TARGET_VERSION): Remove. + * config/i386/linux.h (TARGET_VERSION): Remove. + * config/i386/linux64.h (TARGET_VERSION): Remove. + * config/i386/lynx.h (TARGET_VERSION): Remove. + * config/i386/mingw32.h (TARGET_VERSION): Remove. + * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. + * config/i386/netbsd64.h (TARGET_VERSION): Remove. + * config/i386/netware.h (TARGET_VERSION): Remove. + * config/i386/nto.h (TARGET_VERSION): Remove. + * config/i386/openbsd.h (TARGET_VERSION): Remove. + * config/i386/vxworks.h (TARGET_VERSION): Remove. + * config/ia64/elf.h (TARGET_VERSION): Remove. + * config/ia64/freebsd.h (TARGET_VERSION): Remove. + * config/ia64/hpux.h (TARGET_VERSION): Remove. + * config/ia64/linux.h (TARGET_VERSION): Remove. + * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. + * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, + TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. + * config/lm32/lm32.h (TARGET_VERSION): Remove. + * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. + * config/m32c/m32c.h (TARGET_VERSION): Remove. + * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. + * config/m32r/m32r.h (TARGET_VERSION): Remove. + * config/m68k/linux.h (TARGET_VERSION): Remove. + * config/m68k/m68k.h (TARGET_VERSION): Remove. + * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. + * config/m68k/uclinux.h (TARGET_VERSION): Remove. + * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. + * config/mep/mep.h (TARGET_VERSION): Remove. + * config/microblaze/microblaze.h (MICROBLAZE_VERSION, + MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. + * config/mips/iris6.h (MACHINE_TYPE): Remove. + * config/mips/linux.h (TARGET_VERSION): Remove. + * config/mips/netbsd.h (MACHINE_TYPE): Remove. + * config/mips/vxworks.h (TARGET_VERSION): Remove. + * config/mmix/mmix.h (TARGET_VERSION): Remove. + * config/mn10300/linux.h (TARGET_VERSION): Remove. + * config/mn10300/mn10300.h (TARGET_VERSION): Remove. + * config/pa/pa.h (TARGET_VERSION): Remove. + * config/pdp11/pdp11.h (TARGET_VERSION): Remove. + * config/picochip/picochip.h (TARGET_VERSION): Remove. + * config/rs6000/aix.h (TARGET_VERSION): Remove. + * config/rs6000/darwin.h (TARGET_VERSION): Remove. + * config/rs6000/darwin64.h (TARGET_VERSION): Remove. + * config/rs6000/eabi.h (TARGET_VERSION): Remove. + * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. + * config/rs6000/eabisim.h (TARGET_VERSION): Remove. + * config/rs6000/eabispe.h (TARGET_VERSION): Remove. + * config/rs6000/freebsd.h (TARGET_VERSION): Remove. + * config/rs6000/linux.h (TARGET_VERSION): Remove. + * config/rs6000/linux64.h (TARGET_VERSION): Remove. + * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. + * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. + * config/rs6000/lynx.h (TARGET_VERSION): Remove. + * config/rs6000/netbsd.h (TARGET_VERSION): Remove. + * config/rs6000/sysv4.h (TARGET_VERSION): Remove. + * config/rs6000/vxworks.h (TARGET_VERSION): Remove. + * config/s390/linux.h (TARGET_VERSION): Remove. + * config/s390/s390.h (TARGET_VERSION): Remove. + * config/s390/tpf.h (TARGET_VERSION): Remove. + * config/score/score.h (TARGET_VERSION): Remove. + * config/sh/linux.h (TARGET_VERSION): Remove. + * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, + TARGET_VERSION_CPU, TARGET_VERSION): Remove. + * config/sh/sh.h (TARGET_VERSION): Remove. + * config/sh/sh64.h (TARGET_VERSION): Remove. + * config/sh/superh.h (TARGET_VERSION): Remove. + * config/sh/vxworks.h (TARGET_VERSION): Remove. + * config/sparc/freebsd.h (TARGET_VERSION): Remove. + * config/sparc/linux.h (TARGET_VERSION): Remove. + * config/sparc/linux64.h (TARGET_VERSION): Remove. + * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, + TARGET_NAME32, TARGET_NAME): Remove. + * config/sparc/openbsd64.h (TARGET_VERSION): Remove. + * config/sparc/sp-elf.h (TARGET_VERSION): Remove. + * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. + * config/sparc/sysv4.h (TARGET_VERSION): Remove. + * config/sparc/vxworks.h (TARGET_VERSION): Remove. + * config/spu/spu.h (TARGET_VERSION): Remove. + * config/stormy16/stormy16.h (TARGET_VERSION): Remove. + * config/v850/v850.h (TARGET_VERSION): Remove. + * config/vax/linux.h (TARGET_VERSION): Remove. + * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. + * config/xtensa/elf.h (TARGET_VERSION): Remove. + * config/xtensa/linux.h (TARGET_VERSION): Remove. + 2011-03-31 Eric Botcazou PR target/48142 diff --git a/gcc/collect2.c b/gcc/collect2.c index 5b31f608754..373483bcd38 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1,7 +1,7 @@ /* Collect static initialization info into data structures that can be traversed by C++ initialization and finalization routines. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Chris Smith (csmith@convex.com). Heavily modified by Michael Meissner (meissner@cygnus.com), @@ -1682,13 +1682,7 @@ main (int argc, char **argv) *c_ptr = *ld1 = *object = (char *) 0; if (vflag) - { - notice ("collect2 version %s", version_string); -#ifdef TARGET_VERSION - TARGET_VERSION; -#endif - fprintf (stderr, "\n"); - } + notice ("collect2 version %s\n", version_string); if (helpflag) { diff --git a/gcc/config.gcc b/gcc/config.gcc index bec9279b3af..0d026e7e3f3 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2087,7 +2087,7 @@ powerpc-wrs-vxworks|powerpc-wrs-vxworksae) extra_headers=ppc-asm.h case ${target} in *-vxworksae*) - tm_file="${tm_file} vx-common.h vxworksae.h rs6000/vxworks.h rs6000/e500.h rs6000/vxworksae.h" + tm_file="${tm_file} vx-common.h vxworksae.h rs6000/vxworks.h rs6000/e500.h" tmake_file="${tmake_file} rs6000/t-vxworksae" ;; *-vxworks*) diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index bfb443c7088..6f476f4515b 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for DEC Alpha. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2004, 2005, 2007, 2008, 2009, 2010 + 2000, 2001, 2002, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu) @@ -96,9 +96,6 @@ along with GCC; see the file COPYING3. If not see while (0) #endif -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION - /* Run-time compilation parameters selecting different hardware subsets. */ /* Which processor to schedule for. The cpu attribute defines a list that diff --git a/gcc/config/alpha/freebsd.h b/gcc/config/alpha/freebsd.h index fbefde1fda4..b6e7ed7da00 100644 --- a/gcc/config/alpha/freebsd.h +++ b/gcc/config/alpha/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for DEC Alpha/AXP running FreeBSD using the ELF format - Copyright (C) 2000, 2002, 2004, 2005, 2007, 2010 + Copyright (C) 2000, 2002, 2004, 2005, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by David E. O'Brien and BSDi. @@ -54,9 +54,6 @@ along with GCC; see the file COPYING3. If not see #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)"); - #define TARGET_ELF 1 #undef TARGET_DEFAULT diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h index e8eac2f912c..f4f5a40b5cc 100644 --- a/gcc/config/alpha/linux-elf.h +++ b/gcc/config/alpha/linux-elf.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler for Alpha Linux-based GNU systems using ELF. - Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2006, 2007, 2010 + Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2006, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by Richard Henderson. @@ -20,9 +20,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (Alpha GNU/Linux for ELF)"); - #undef EXTRA_SPECS #define EXTRA_SPECS \ { "elf_dynamic_linker", ELF_DYNAMIC_LINKER }, diff --git a/gcc/config/alpha/netbsd.h b/gcc/config/alpha/netbsd.h index 0dc45daf979..df0bc41c4ff 100644 --- a/gcc/config/alpha/netbsd.h +++ b/gcc/config/alpha/netbsd.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for Alpha NetBSD systems. - Copyright (C) 1998, 2002, 2003, 2004, 2005, 2007 + Copyright (C) 1998, 2002, 2003, 2004, 2005, 2007, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -77,7 +77,3 @@ along with GCC; see the file COPYING3. If not see /* Attempt to enable execute permissions on the stack. */ #define ENABLE_EXECUTE_STACK NETBSD_ENABLE_EXECUTE_STACK - - -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NetBSD/alpha ELF)"); diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h index fab0f257762..41a2cde8526 100644 --- a/gcc/config/alpha/vms.h +++ b/gcc/config/alpha/vms.h @@ -1,6 +1,6 @@ /* Output variables, constants and external declarations, for GNU compiler. Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2004, 2005, 2007, 2008, - 2009, 2010 + 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -50,11 +50,6 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_ABI_OPEN_VMS #define TARGET_ABI_OPEN_VMS 1 -#undef TARGET_NAME -#define TARGET_NAME "OpenVMS/Alpha" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME); - #define VMS_DEBUG_MAIN_POINTER "TRANSFER$BREAK$GO" #undef PCC_STATIC_STRUCT_RETURN diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 276005c3da0..5c3f2f81fce 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -205,10 +205,6 @@ extern void (*arm_lang_output_object_attributes_hook)(void); #endif /* Run-time Target Specification. */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/generic)", stderr); -#endif - #define TARGET_SOFT_FLOAT (arm_float_abi == ARM_FLOAT_ABI_SOFT) /* Use hardware floating point instructions. */ #define TARGET_HARD_FLOAT (arm_float_abi != ARM_FLOAT_ABI_SOFT) diff --git a/gcc/config/arm/coff.h b/gcc/config/arm/coff.h index 5bf1e78e89d..3b8fe68dd56 100644 --- a/gcc/config/arm/coff.h +++ b/gcc/config/arm/coff.h @@ -26,9 +26,6 @@ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/coff)", stderr) - #undef TARGET_DEFAULT_FLOAT_ABI #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_SOFT diff --git a/gcc/config/arm/ecos-elf.h b/gcc/config/arm/ecos-elf.h index 9e9fa70467b..4dd111eed03 100644 --- a/gcc/config/arm/ecos-elf.h +++ b/gcc/config/arm/ecos-elf.h @@ -1,5 +1,5 @@ /* Definitions for ecos based ARM systems using ELF - Copyright (C) 1998, 2001, 2007 Free Software Foundation, Inc. + Copyright (C) 1998, 2001, 2007, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -18,9 +18,6 @@ . */ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/ELF Ecos)", stderr); - #define HAS_INIT_SECTION #undef INVOKE_main diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index ac68fa47c1d..5ce3e690a39 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -108,10 +108,6 @@ #endif /* Run-time Target Specification. */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/elf)", stderr) -#endif - #ifndef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_APCS_FRAME) #endif diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h index 701bb149930..6c39e125306 100644 --- a/gcc/config/arm/freebsd.h +++ b/gcc/config/arm/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for StrongARM running FreeBSD using the ELF format - Copyright (C) 2001, 2004, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2004, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by David E. O'Brien and BSDi. This file is part of GCC. @@ -62,6 +62,3 @@ #undef SUBTARGET_CPU_DEFAULT #define SUBTARGET_CPU_DEFAULT TARGET_CPU_strongarm - -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)"); diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index b7ae3745add..bfaf8c59b6a 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -24,9 +24,6 @@ any conflicting definitions and add any extras. */ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM GNU/Linux with ELF)", stderr); - #undef TARGET_DEFAULT_FLOAT_ABI #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD diff --git a/gcc/config/arm/netbsd-elf.h b/gcc/config/arm/netbsd-elf.h index bf620f18df7..43c28b4ab6e 100644 --- a/gcc/config/arm/netbsd-elf.h +++ b/gcc/config/arm/netbsd-elf.h @@ -20,8 +20,6 @@ . */ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (NetBSD/arm ELF)", stderr); /* arm.h defaults to ARM6 CPU. */ diff --git a/gcc/config/arm/pe.h b/gcc/config/arm/pe.h index 7bb90c5e081..ce2f1d73281 100644 --- a/gcc/config/arm/pe.h +++ b/gcc/config/arm/pe.h @@ -34,8 +34,6 @@ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/pe)", stderr) /* Get tree.c to declare a target-specific specialization of merge_decl_attributes. */ diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h index 027d95ab111..8d5a1d7cf95 100644 --- a/gcc/config/arm/rtems-elf.h +++ b/gcc/config/arm/rtems-elf.h @@ -19,8 +19,6 @@ . */ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/ELF RTEMS)", stderr); #define HAS_INIT_SECTION diff --git a/gcc/config/arm/semi.h b/gcc/config/arm/semi.h index a0005d12742..ae8ddeae6e9 100644 --- a/gcc/config/arm/semi.h +++ b/gcc/config/arm/semi.h @@ -33,10 +33,6 @@ #define LINK_SPEC "%{mbig-endian:-EB} -X" #endif -#ifndef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr); -#endif - #ifndef TARGET_DEFAULT_FLOAT_ABI #define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD #endif diff --git a/gcc/config/arm/uclinux-elf.h b/gcc/config/arm/uclinux-elf.h index 50fd7658096..a8ba25540d6 100644 --- a/gcc/config/arm/uclinux-elf.h +++ b/gcc/config/arm/uclinux-elf.h @@ -1,5 +1,5 @@ /* Definitions for ARM running ucLinux using ELF - Copyright (C) 1999, 2001, 2004, 2005, 2007, 2008 + Copyright (C) 1999, 2001, 2004, 2005, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. Contributed by Philip Blundell @@ -23,9 +23,6 @@ #undef NEED_PLT_RELOC #define NEED_PLT_RELOC 0 -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/ELF ucLinux)", stderr); - #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_SINGLE_PIC_BASE) diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index b47455ea963..d5df624c196 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -1,6 +1,6 @@ /* Definitions for non-Linux based ARM systems using ELF - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2010 - Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2010, + 2011 Free Software Foundation, Inc. Contributed by Catherine Moore This file is part of GCC. @@ -23,9 +23,6 @@ any conflicting definitions and add any extras. */ /* Run-time Target Specification. */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/ELF)", stderr); -#endif /* Default to using software floating point. */ #ifndef TARGET_DEFAULT diff --git a/gcc/config/arm/vxworks.h b/gcc/config/arm/vxworks.h index 3ceaed9039c..887691326e5 100644 --- a/gcc/config/arm/vxworks.h +++ b/gcc/config/arm/vxworks.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for ARM with targetting the VXWorks run time environment. - Copyright (C) 1999, 2000, 2003, 2004, 2007, 2008, 2009, 2010 + Copyright (C) 1999, 2000, 2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by: Mike Stump @@ -85,9 +85,6 @@ along with GCC; see the file COPYING3. If not see #undef ENDFILE_SPEC #define ENDFILE_SPEC VXWORKS_ENDFILE_SPEC -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (ARM/VxWorks)", stderr); - /* There is no default multilib. */ #undef MULTILIB_DEFAULTS diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index ca73bad31c5..854cc45db6e 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -122,8 +122,6 @@ extern GTY(()) section *progmem_section; #define AVR_2_BYTE_PC (!AVR_HAVE_EIJMP_EICALL) #define AVR_3_BYTE_PC (AVR_HAVE_EIJMP_EICALL) -#define TARGET_VERSION fprintf (stderr, " (GNU assembler syntax)"); - #define BITS_BIG_ENDIAN 0 #define BYTES_BIG_ENDIAN 0 #define WORDS_BIG_ENDIAN 0 diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 6ebaa44f566..ab3f2ea2c22 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -31,9 +31,6 @@ #define BRT 1 #define BRF 0 -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION fprintf (stderr, " (BlackFin bfin)") - /* Predefinition in the preprocessor for this target machine */ #ifndef TARGET_CPU_CPP_BUILTINS #define TARGET_CPU_CPP_BUILTINS() \ diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index 9f8be86846d..89510459c43 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -1,8 +1,8 @@ /*{{{ Comment. */ /* Definitions of FR30 target. - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2007, 2008, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2007, 2008, 2009, 2010, + 2011 Free Software Foundation, Inc. Contributed by Cygnus Solutions. This file is part of GCC. @@ -39,8 +39,6 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -#define TARGET_VERSION fprintf (stderr, " (fr30)"); - #undef STARTFILE_SPEC #define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s" diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 2c1abf3de90..5d206824382 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -238,19 +238,6 @@ #define HAVE_AS_TLS 0 #endif -/* This macro is a C statement to print on `stderr' a string describing the - particular machine description choice. Every machine description should - define `TARGET_VERSION'. For example: - - #ifdef MOTOROLA - #define TARGET_VERSION \ - fprintf (stderr, " (68k, Motorola syntax)"); - #else - #define TARGET_VERSION \ - fprintf (stderr, " (68k, MIT syntax)"); - #endif */ -#define TARGET_VERSION fprintf (stderr, _(" (frv)")) - #define LABEL_ALIGN_AFTER_BARRIER(LABEL) (TARGET_ALIGN_LABELS ? 3 : 0) /* Small Data Area Support. */ diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 70777c060b1..837ecd0c3cb 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -82,10 +82,6 @@ extern const char * const *h8_reg_names; #define LIB_SPEC "%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" -/* Print subsidiary information on the compiler version in use. */ - -#define TARGET_VERSION fprintf (stderr, " (Renesas H8/300)"); - /* Macros used in the machine description to test the flags. */ /* Select between the H8/300 and H8/300H CPUs. */ diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index bedf1e735d4..5f3062cf42e 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -1,7 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using a Unix style C library and tools. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -19,8 +19,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#define TARGET_VERSION fprintf (stderr, " (x86 Cygwin)"); - #define EXTRA_OS_CPP_BUILTINS() /* Nothing. */ #undef CPP_SPEC diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index 934ab4b8234..ea350326a89 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -1,5 +1,5 @@ /* Target definitions for x86 running Darwin. - Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2010 + Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Contributed by Apple Computer Inc. @@ -26,8 +26,6 @@ along with GCC; see the file COPYING3. If not see #undef DARWIN_X86 #define DARWIN_X86 1 -#define TARGET_VERSION fprintf (stderr, " (i686 Darwin)"); - #undef TARGET_64BIT #define TARGET_64BIT OPTION_ISA_64BIT diff --git a/gcc/config/i386/darwin64.h b/gcc/config/i386/darwin64.h index 9562faa90ff..6b45e0b5a6c 100644 --- a/gcc/config/i386/darwin64.h +++ b/gcc/config/i386/darwin64.h @@ -1,5 +1,5 @@ /* Target definitions for x86_64 running Darwin. - Copyright (C) 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2006, 2007, 2011 Free Software Foundation, Inc. Contributed by Apple Computer Inc. This file is part of GCC. @@ -18,9 +18,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (x86_64 Darwin)"); - #undef DARWIN_ARCH_SPEC #define DARWIN_ARCH_SPEC "%{m32:i386;:x86_64}" diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 34a15facbf7..d8af241ee94 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -1,6 +1,6 @@ /* Configuration for an i386 running MS-DOS with DJGPP. Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2007, - 2010 Free Software Foundation, Inc. + 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -163,8 +163,6 @@ along with GCC; see the file COPYING3. If not see /* Used to be defined in xm-djgpp.h, but moved here for cross-compilers. */ #define LIBSTDCXX "stdcxx" -#define TARGET_VERSION fprintf (stderr, " (80386, MS-DOS DJGPP)"); - /* Warn that -mbnu210 is now obsolete. */ #undef SUBTARGET_OVERRIDE_OPTIONS #define SUBTARGET_OVERRIDE_OPTIONS \ diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 61592d46bb3..a1fd3be108d 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 running FreeBSD with ELF format - Copyright (C) 1996, 2000, 2002, 2004, 2007, 2010 + Copyright (C) 1996, 2000, 2002, 2004, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by Eric Youngdale. Modified for stabs-in-ELF by H.J. Lu. @@ -23,8 +23,6 @@ along with GCC; see the file COPYING3. If not see . */ -#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)"); - /* Override the default comment-starter of "/". */ #undef ASM_COMMENT_START #define ASM_COMMENT_START "#" diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h index 8b5b149b024..853f214f4e0 100644 --- a/gcc/config/i386/freebsd64.h +++ b/gcc/config/i386/freebsd64.h @@ -19,9 +19,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)"); - #define SUBTARGET_EXTRA_SPECS \ { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index ce37683b4a2..b245533091c 100644 --- a/gcc/config/i386/gnu.h +++ b/gcc/config/i386/gnu.h @@ -23,9 +23,6 @@ along with GCC. If not, see . #undef GLIBC_DYNAMIC_LINKER #define GLIBC_DYNAMIC_LINKER "/lib/ld.so" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); - #undef CPP_SPEC #define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE}" diff --git a/gcc/config/i386/i386-interix.h b/gcc/config/i386/i386-interix.h index a2f579a1c44..904c7d8d4ba 100644 --- a/gcc/config/i386/i386-interix.h +++ b/gcc/config/i386/i386-interix.h @@ -1,6 +1,6 @@ /* Target definitions for GCC for Intel 80386 running Interix Parts Copyright (C) 1991, 1999, 2000, 2002, 2003, 2004, 2007, 2008, 2009, - 2010 Free Software Foundation, Inc. + 2010, 2011 Free Software Foundation, Inc. Parts: by Douglas B. Rupp (drupp@cs.washington.edu). @@ -85,8 +85,6 @@ along with GCC; see the file COPYING3. If not see #define CPP_SPEC "-remap %{posix:-D_POSIX_SOURCE} \ -isystem %$INTERIX_ROOT/usr/include" -#define TARGET_VERSION fprintf (stderr, " (i386 Interix)"); - /* The global __fltused is necessary to cause the printf/scanf routines for outputting/inputting floating point numbers to be loaded. Since this is kind of hard to detect, we just do it all the time. */ diff --git a/gcc/config/i386/i386elf.h b/gcc/config/i386/i386elf.h index 79d7b958564..eb9797aff31 100644 --- a/gcc/config/i386/i386elf.h +++ b/gcc/config/i386/i386elf.h @@ -1,5 +1,5 @@ /* Target definitions for GCC for Intel 80386 using ELF - Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002, 2007, 2008, 2010 + Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com). @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3. If not see #undef PREFERRED_DEBUGGING_TYPE #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG -#define TARGET_VERSION fprintf (stderr, " (i386 bare ELF target)"); - /* The ELF ABI for the i386 says that records and unions are returned in memory. */ diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index edfd8e54589..01b6bc86b05 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3. If not see /* The .file command should always begin the output. */ #define TARGET_ASM_FILE_START_FILE_DIRECTIVE true -#define TARGET_VERSION fprintf (stderr, " (i386 Linux/ELF)"); - /* The svr4 ABI for the i386 says that records and unions are returned in memory. */ #undef DEFAULT_PCC_STRUCT_RETURN diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h index 8392fabd31d..4bed2faf335 100644 --- a/gcc/config/i386/linux64.h +++ b/gcc/config/i386/linux64.h @@ -24,12 +24,6 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -#if TARGET_64BIT_DEFAULT -#define TARGET_VERSION fprintf (stderr, " (x86-64 Linux/ELF)"); -#else -#define TARGET_VERSION fprintf (stderr, " (i386 Linux/ELF)"); -#endif - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ diff --git a/gcc/config/i386/lynx.h b/gcc/config/i386/lynx.h index df73e9b854b..910a9080b3a 100644 --- a/gcc/config/i386/lynx.h +++ b/gcc/config/i386/lynx.h @@ -1,5 +1,5 @@ /* Definitions for LynxOS on i386. - Copyright (C) 1993, 1995, 1996, 2002, 2004, 2005, 2007, 2010 + Copyright (C) 1993, 1995, 1996, 2002, 2004, 2005, 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -18,8 +18,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#define TARGET_VERSION fputs (" (i386/LynxOS)", stderr); - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index d92a3e4c9e5..7485b9d450f 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -1,7 +1,7 @@ /* Operating system specific defines to be used when targeting GCC for hosting on Windows32, using GNU tools and the Windows32 API Library. Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, - 2009, 2010 Free Software Foundation, Inc. + 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -19,13 +19,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#if TARGET_64BIT_DEFAULT -#define TARGET_VERSION fprintf (stderr,"(x86_64 MinGW"); -#else -#define TARGET_VERSION fprintf (stderr," (x86 MinGW)"); -#endif - #undef DEFAULT_ABI #define DEFAULT_ABI MS_ABI diff --git a/gcc/config/i386/netbsd-elf.h b/gcc/config/i386/netbsd-elf.h index 264d290a3fe..449a3a71cff 100644 --- a/gcc/config/i386/netbsd-elf.h +++ b/gcc/config/i386/netbsd-elf.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for i386/ELF NetBSD systems. - Copyright (C) 2001, 2002, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2004, 2007, 2011 Free Software Foundation, Inc. Contributed by matthew green This file is part of GCC. @@ -120,5 +120,3 @@ along with GCC; see the file COPYING3. If not see /* Attempt to enable execute permissions on the stack. */ #define ENABLE_EXECUTE_STACK NETBSD_ENABLE_EXECUTE_STACK - -#define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 ELF)"); diff --git a/gcc/config/i386/netbsd64.h b/gcc/config/i386/netbsd64.h index 5add1032cb4..e13d16d6c64 100644 --- a/gcc/config/i386/netbsd64.h +++ b/gcc/config/i386/netbsd64.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for x86-64/ELF NetBSD systems. - Copyright (C) 2002, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2007, 2011 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GCC. @@ -68,5 +68,3 @@ along with GCC; see the file COPYING3. If not see /* Attempt to enable execute permissions on the stack. */ #define ENABLE_EXECUTE_STACK NETBSD_ENABLE_EXECUTE_STACK - -#define TARGET_VERSION fprintf (stderr, " (NetBSD/x86_64 ELF)"); diff --git a/gcc/config/i386/netware.h b/gcc/config/i386/netware.h index 7f63f4518b3..f377fb5dc94 100644 --- a/gcc/config/i386/netware.h +++ b/gcc/config/i386/netware.h @@ -21,8 +21,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#define TARGET_VERSION fprintf (stderr, " (x86 NetWare)"); - #undef CPP_SPEC #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" diff --git a/gcc/config/i386/nto.h b/gcc/config/i386/nto.h index 0a54ce02cd5..aed97731ee0 100644 --- a/gcc/config/i386/nto.h +++ b/gcc/config/i386/nto.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 running QNX/Neutrino. - Copyright (C) 2002, 2003, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -20,9 +20,6 @@ along with GCC; see the file COPYING3. If not see #undef DEFAULT_PCC_STRUCT_RETURN #define DEFAULT_PCC_STRUCT_RETURN 1 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (QNX/Neutrino/i386 ELF)"); - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() \ do \ diff --git a/gcc/config/i386/openbsd.h b/gcc/config/i386/openbsd.h index d64f15907b7..d7bf95ad57c 100644 --- a/gcc/config/i386/openbsd.h +++ b/gcc/config/i386/openbsd.h @@ -1,5 +1,6 @@ /* Configuration for an OpenBSD i386 target. - Copyright (C) 1999, 2000, 2002, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2004, 2007, 2011 + Free Software Foundation, Inc. This file is part of GCC. @@ -18,8 +19,6 @@ along with GCC; see the file COPYING3. If not see . */ -#define TARGET_VERSION fprintf (stderr, " (OpenBSD/i386)"); - /* This goes away when the math-emulator is fixed */ #undef TARGET_SUBTARGET_DEFAULT #define TARGET_SUBTARGET_DEFAULT \ diff --git a/gcc/config/i386/vxworks.h b/gcc/config/i386/vxworks.h index 09861e4930c..b95aa886bbd 100644 --- a/gcc/config/i386/vxworks.h +++ b/gcc/config/i386/vxworks.h @@ -1,5 +1,6 @@ /* IA32 VxWorks target definitions for GNU compiler. - Copyright (C) 2003, 2004, 2005, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005, 2007, 2010, 2011 + Free Software Foundation, Inc. Updated by CodeSourcery, LLC. This file is part of GCC. @@ -18,9 +19,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (80586, VxWorks syntax)"); - #undef ASM_SPEC #define ASM_SPEC "" diff --git a/gcc/config/ia64/elf.h b/gcc/config/ia64/elf.h index 21415eee8eb..25e974d3fbb 100644 --- a/gcc/config/ia64/elf.h +++ b/gcc/config/ia64/elf.h @@ -1,6 +1,6 @@ /* Definitions for embedded ia64-elf target. -Copyright (C) 2000, 2001, 2002, 2003, 2010 Free Software Foundation, Inc. +Copyright (C) 2000, 2001, 2002, 2003, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -23,11 +23,6 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -/* This macro is a C statement to print on `stderr' a string describing the - particular machine description choice. */ - -#define TARGET_VERSION fprintf (stderr, " (IA-64) ELF"); - /* A C string constant that tells the GCC driver program options to pass to the assembler. It can also specify how to translate options you give to GNU CC into options for GCC to pass to the assembler. */ diff --git a/gcc/config/ia64/freebsd.h b/gcc/config/ia64/freebsd.h index 24e413142a7..4aed910d9eb 100644 --- a/gcc/config/ia64/freebsd.h +++ b/gcc/config/ia64/freebsd.h @@ -1,5 +1,5 @@ /* Definitions for Intel IA-64 running FreeBSD using the ELF format - Copyright (C) 2001, 2004, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2004, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by David E. O'Brien and BSDi. This file is part of GCC. @@ -47,9 +47,6 @@ along with GCC; see the file COPYING3. If not see #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)"); - #define TARGET_ELF 1 #define JMP_BUF_SIZE 76 diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index d4d8da57673..edbf339fbf1 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -1,6 +1,6 @@ /* Definitions of target machine GNU compiler. IA-64 version. - Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010 - Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, + 2011 Free Software Foundation, Inc. Contributed by Steve Ellcey and Reva Cuthbertson @@ -20,11 +20,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -/* This macro is a C statement to print on `stderr' a string describing the - particular machine description choice. */ - -#define TARGET_VERSION fprintf (stderr, " (IA-64) HP-UX"); - /* Enable HPUX ABI quirks. */ #undef TARGET_HPUX #define TARGET_HPUX 1 diff --git a/gcc/config/ia64/linux.h b/gcc/config/ia64/linux.h index dafd2d2cead..d88c820b702 100644 --- a/gcc/config/ia64/linux.h +++ b/gcc/config/ia64/linux.h @@ -1,7 +1,7 @@ /* Definitions for ia64-linux target. Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, -2009, 2010 Free Software Foundation, Inc. +2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -24,11 +24,6 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -/* This macro is a C statement to print on `stderr' a string describing the - particular machine description choice. */ - -#define TARGET_VERSION fprintf (stderr, " (IA-64) Linux"); - /* This is for -profile to use -lc_p instead of -lc. */ #undef CC1_SPEC #define CC1_SPEC "%{profile:-p} %{G*}" diff --git a/gcc/config/ia64/vms.h b/gcc/config/ia64/vms.h index 1e1a04fd577..777fa34d9a9 100644 --- a/gcc/config/ia64/vms.h +++ b/gcc/config/ia64/vms.h @@ -1,5 +1,5 @@ /* Definitions of target machine GNU compiler. IA64-VMS version. - Copyright (C) 2003-2010 Free Software Foundation, Inc. + Copyright (C) 2003-2011 Free Software Foundation, Inc. Contributed by Douglas B Rupp (rupp@gnat.com). This file is part of GCC. @@ -38,11 +38,6 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_ABI_OPEN_VMS #define TARGET_ABI_OPEN_VMS 1 -#undef TARGET_NAME -#define TARGET_NAME "OpenVMS/IA64" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME); - /* Need .debug_line info generated from gcc and gas. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_DWARF2_ASM | MASK_GNU_AS) diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h index 8a3c653c455..a69204e007b 100644 --- a/gcc/config/iq2000/iq2000.h +++ b/gcc/config/iq2000/iq2000.h @@ -57,21 +57,6 @@ #ifndef IQ2000_ISA_DEFAULT #define IQ2000_ISA_DEFAULT 1 #endif - -#define IQ2000_VERSION "[1.0]" - -#ifndef MACHINE_TYPE -#define MACHINE_TYPE "IQ2000" -#endif - -#ifndef TARGET_VERSION_INTERNAL -#define TARGET_VERSION_INTERNAL(STREAM) \ - fprintf (STREAM, " %s %s", IQ2000_VERSION, MACHINE_TYPE) -#endif - -#ifndef TARGET_VERSION -#define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr) -#endif /* Storage Layout. */ diff --git a/gcc/config/lm32/lm32.h b/gcc/config/lm32/lm32.h index 3141719b4a5..3d8f77a5a77 100644 --- a/gcc/config/lm32/lm32.h +++ b/gcc/config/lm32/lm32.h @@ -23,11 +23,6 @@ /* Run-time Target Specification */ /*-------------------------------*/ -/* Print subsidiary information on the compiler version in use. */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (LatticeMico32)") -#endif - /* Target CPU builtins. */ #define TARGET_CPU_CPP_BUILTINS() \ do \ diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h index ce3689b179b..bd4701d7ab1 100644 --- a/gcc/config/lm32/uclinux-elf.h +++ b/gcc/config/lm32/uclinux-elf.h @@ -22,10 +22,6 @@ /* elfos.h should have already been included. Now just override any conflicting definitions and add any extras. */ -/* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (LM32 GNU/Linux with ELF)", stderr); - /* Do not assume anything about header files. */ #undef NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C diff --git a/gcc/config/m32c/m32c.h b/gcc/config/m32c/m32c.h index 28072abc2ba..7b5a5484582 100644 --- a/gcc/config/m32c/m32c.h +++ b/gcc/config/m32c/m32c.h @@ -100,8 +100,6 @@ extern int ok_to_change_target_memregs; #define TARGET_A16 (TARGET_R8C || TARGET_M16C) #define TARGET_A24 (TARGET_M32CM || TARGET_M32C) -#define TARGET_VERSION fprintf (stderr, " (m32c)"); - /* Defining data structures for per-function information */ typedef struct GTY (()) machine_function diff --git a/gcc/config/m32r/linux.h b/gcc/config/m32r/linux.h index 55f6619f7e7..e561e540fb1 100644 --- a/gcc/config/m32r/linux.h +++ b/gcc/config/m32r/linux.h @@ -18,15 +18,6 @@ along with GCC; see the file COPYING3. If not see . */ -#define LINUX_DEFAULT_ELF - -/* A lie, I guess, but the general idea behind linux/ELF is that we are - supposed to be outputting something that will assemble under SVr4. - This gets us pretty close. */ - -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (M32R GNU/Linux with ELF)"); - #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h index 31c6cb1e2fb..26d3ef978c4 100644 --- a/gcc/config/m32r/m32r.h +++ b/gcc/config/m32r/m32r.h @@ -26,7 +26,6 @@ #undef PTRDIFF_TYPE #undef WCHAR_TYPE #undef WCHAR_TYPE_SIZE -#undef TARGET_VERSION #undef CPP_SPEC #undef ASM_SPEC #undef LINK_SPEC @@ -38,8 +37,6 @@ /* M32R/X overrides. */ -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION fprintf (stderr, " (m32r/x/2)"); /* Additional flags for the preprocessor. */ #define CPP_CPU_SPEC "%{m32rx:-D__M32RX__ -D__m32rx__ -U__M32R2__ -U__m32r2__} \ @@ -86,11 +83,6 @@ #define SUBTARGET_REGISTER_NAMES , "a1" /* end M32R/X overrides. */ -/* Print subsidiary information on the compiler version in use. */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (m32r)") -#endif - /* Names to predefine in the preprocessor for this target machine. */ /* __M32R__ is defined by the existing compiler so we use that. */ #define TARGET_CPU_CPP_BUILTINS() \ diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h index 82417b477bd..952bcceb642 100644 --- a/gcc/config/m68k/linux.h +++ b/gcc/config/m68k/linux.h @@ -19,9 +19,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (68k GNU/Linux with ELF)"); - /* Add %(asm_cpu_spec) to a generic definition of ASM_SPEC. */ #undef ASM_SPEC #define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec)" diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index e53737933b4..019a9e3703c 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC for Motorola 680x0/ColdFire. Copyright (C) 1987, 1988, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -24,10 +24,8 @@ along with GCC; see the file COPYING3. If not see for both the MOTOROLA and MIT code paths. We do rely on the host compiler to optimize away all constant tests. */ #if MOTOROLA /* Use the Motorola assembly syntax. */ -# define TARGET_VERSION fprintf (stderr, " (68k, Motorola syntax)") #else # define MOTOROLA 0 /* Use the MIT assembly syntax. */ -# define TARGET_VERSION fprintf (stderr, " (68k, MIT syntax)") #endif /* Handle --with-cpu default option from configure script. */ diff --git a/gcc/config/m68k/netbsd-elf.h b/gcc/config/m68k/netbsd-elf.h index 1238d26e766..acad40ff96e 100644 --- a/gcc/config/m68k/netbsd-elf.h +++ b/gcc/config/m68k/netbsd-elf.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler, for m68k (including m68010) NetBSD platforms using the ELF object format. - Copyright (C) 2002, 2003, 2004, 2006, 2007, 2009, 2010 + Copyright (C) 2002, 2003, 2004, 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Wasabi Systems. Inc. @@ -52,14 +52,6 @@ along with GCC; see the file COPYING3. If not see { "netbsd_entry_point", NETBSD_ENTRY_POINT }, -#undef TARGET_VERSION -#define TARGET_VERSION \ - fprintf (stderr, \ - TARGET_68010 \ - ? " (NetBSD/68010 ELF)" \ - : " (NetBSD/m68k ELF)"); - - /* Provide a CPP_SPEC appropriate for NetBSD m68k targets. Currently we deal with the GCC option '-posix', as well as an indication as to whether or not use of the FPU is allowed. */ diff --git a/gcc/config/m68k/uclinux.h b/gcc/config/m68k/uclinux.h index 1b21cafa02a..547cd206d06 100644 --- a/gcc/config/m68k/uclinux.h +++ b/gcc/config/m68k/uclinux.h @@ -2,7 +2,7 @@ using ELF objects with special linker post-processing to produce FLAT executables. - Copyright (C) 2003, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2003, 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -20,9 +20,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (68k uClinux)"); - #undef STARTFILE_SPEC #define STARTFILE_SPEC \ "%{mshared-library-id=0|!mshared-library-id=*: crt1.o%s ;: Scrt1.o%s} \ diff --git a/gcc/config/mcore/mcore-elf.h b/gcc/config/mcore/mcore-elf.h index 98a3862cd6d..4f971c244b4 100644 --- a/gcc/config/mcore/mcore-elf.h +++ b/gcc/config/mcore/mcore-elf.h @@ -1,5 +1,5 @@ /* Definitions of MCore target. - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2007 + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2007, 2011 Free Software Foundation, Inc. Contributed by Cygnus Solutions. @@ -22,9 +22,6 @@ along with GCC; see the file COPYING3. If not see #ifndef __MCORE_ELF_H__ #define __MCORE_ELF_H__ -/* Run-time Target Specification. */ -#define TARGET_VERSION fputs (" (Motorola MCORE/elf)", stderr) - /* Use DWARF2 debugging info. */ #define DWARF2_DEBUGGING_INFO 1 diff --git a/gcc/config/mep/mep.h b/gcc/config/mep/mep.h index ed2d6602d3d..d6d6c2f25d0 100644 --- a/gcc/config/mep/mep.h +++ b/gcc/config/mep/mep.h @@ -1,5 +1,5 @@ /* Definitions for Toshiba Media Processor - Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010 + Copyright (C) 2001, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Red Hat, Inc. @@ -130,8 +130,6 @@ crtbegin.o%s" #define TARGET_COPRO_MULT 0 -#define TARGET_VERSION fprintf (stderr, " (Toshiba Media Processor (MeP))"); - /* The MeP config tool will replace this as appropriate. */ #define DEFAULT_ENDIAN_SPEC "%{!meb: -mel}" diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h index f60ab6bfa34..18cd72d0ee5 100644 --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -102,22 +102,6 @@ extern enum pipeline_type microblaze_pipe; { "target_asm_spec", TARGET_ASM_SPEC }, \ SUBTARGET_EXTRA_SPECS -/* Print subsidiary information on the compiler version in use. */ -#define MICROBLAZE_VERSION MICROBLAZE_DEFAULT_CPU - -#ifndef MACHINE_TYPE -#define MACHINE_TYPE "MicroBlaze/ELF" -#endif - -#ifndef TARGET_VERSION_INTERNAL -#define TARGET_VERSION_INTERNAL(STREAM) \ - fprintf (STREAM, " %s %s", MACHINE_TYPE, MICROBLAZE_VERSION) -#endif - -#ifndef TARGET_VERSION -#define TARGET_VERSION TARGET_VERSION_INTERNAL (stderr) -#endif - /* Local compiler-generated symbols must have a prefix that the assembler understands. */ diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index edf8020f564..8995ab99cf6 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -23,9 +23,6 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_IRIX6 #define TARGET_IRIX6 1 -#undef MACHINE_TYPE -#define MACHINE_TYPE "SGI running IRIX 6.5" - /* Default to -mabi=n32 and -mips3. */ #undef MULTILIB_DEFAULTS #define MULTILIB_DEFAULTS { "mabi=n32" } diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index c69fab1f615..43fbf92d59b 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h @@ -27,13 +27,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_DECLARE_OBJECT_NAME #define ASM_DECLARE_OBJECT_NAME mips_declare_object_name -#undef TARGET_VERSION -#if TARGET_ENDIAN_DEFAULT == 0 -#define TARGET_VERSION fprintf (stderr, " (MIPSel GNU/Linux with ELF)"); -#else -#define TARGET_VERSION fprintf (stderr, " (MIPS GNU/Linux with ELF)"); -#endif - /* If we don't set MASK_ABICALLS, we can't default to PIC. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT MASK_ABICALLS diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 82a0921ed00..4a9bd152fce 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -21,13 +21,6 @@ along with GCC; see the file COPYING3. If not see /* Define default target values. */ -#undef MACHINE_TYPE -#if TARGET_ENDIAN_DEFAULT != 0 -#define MACHINE_TYPE "NetBSD/mipseb ELF" -#else -#define MACHINE_TYPE "NetBSD/mipsel ELF" -#endif - #define TARGET_OS_CPP_BUILTINS() \ do \ { \ diff --git a/gcc/config/mips/vxworks.h b/gcc/config/mips/vxworks.h index f6c84b9a69b..f742f97a8f6 100644 --- a/gcc/config/mips/vxworks.h +++ b/gcc/config/mips/vxworks.h @@ -17,9 +17,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (MIPS, VxWorks syntax)"); - #undef ASM_SPEC #define ASM_SPEC "\ %{!G:-G 0} %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} \ diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 06632f6e05f..f3ed940b881 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for MMIX. - Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007, 2008, 2009, 2010 + Copyright (C) 2000, 2001, 2002, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Hans-Peter Nilsson (hp@bitrange.com) @@ -143,10 +143,6 @@ struct GTY(()) machine_function #define TARGET_DEFAULT \ (MASK_BRANCH_PREDICT | MASK_BASE_ADDRESSES | MASK_USE_RETURN_INSN) -/* Unfortunately, this must not reference anything in "mmix.c". */ -#define TARGET_VERSION \ - fprintf (stderr, " (MMIX)") - /* Node: Per-Function Data */ #define INIT_EXPANDERS mmix_init_expanders () diff --git a/gcc/config/mn10300/linux.h b/gcc/config/mn10300/linux.h index ca0e10a65e4..3a3593d52f0 100644 --- a/gcc/config/mn10300/linux.h +++ b/gcc/config/mn10300/linux.h @@ -1,6 +1,7 @@ /* Definitions of taret machine for GNU compiler. Matsushita AM33/2.0 - Copyright 2001, 2002, 2005, 2006, 2007, 2010 Free Software Foundation, Inc. + Copyright 2001, 2002, 2005, 2006, 2007, 2010, 2011 + Free Software Foundation, Inc. Contributed by Alexandre Oliva This file is part of GCC. @@ -44,9 +45,6 @@ #undef PROCESSOR_DEFAULT #define PROCESSOR_DEFAULT PROCESSOR_AM33_2 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (AM33/2.0 GNU/Linux)"); - #define DBX_REGISTER_NUMBER(REGNO) (REGNO) extern int mn10300_protect_label; diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index f660dca5aa9..b6a54b53bd3 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -71,10 +71,6 @@ extern enum processor_type mn10300_tune_cpu; #define PROCESSOR_DEFAULT PROCESSOR_MN10300 #endif -/* Print subsidiary information on the compiler version in use. */ - -#define TARGET_VERSION fprintf (stderr, " (MN10300)"); - /* Target machine storage layout */ diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 1cb236bcab1..f3ad883fb58 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -27,10 +27,6 @@ extern unsigned long total_code_bytes; #define pa_cpu_attr ((enum attr_cpu)pa_cpu) -/* Print subsidiary information on the compiler version in use. */ - -#define TARGET_VERSION fputs (" (hppa)", stderr); - #define TARGET_PA_10 (!TARGET_PA_11 && !TARGET_PA_20) /* Generate code for the HPPA 2.0 architecture in 64bit mode. */ diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index fc36f5b67f0..3f59fd2dd4e 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for the pdp-11 Copyright (C) 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2004, 2005, - 2006, 2007, 2008, 2010 Free Software Foundation, Inc. + 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Contributed by Michael K. Gschwind (mike@vlsivie.tuwien.ac.at). This file is part of GCC. @@ -36,9 +36,6 @@ along with GCC; see the file COPYING3. If not see } \ while (0) -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION fprintf (stderr, " (pdp11)"); - /* Generate DBX debugging information. */ diff --git a/gcc/config/picochip/picochip.h b/gcc/config/picochip/picochip.h index cb0a8f93335..b65a206bb90 100644 --- a/gcc/config/picochip/picochip.h +++ b/gcc/config/picochip/picochip.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler for picoChip - Copyright (C) 2001, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Picochip Ltd. (http://www.picochip.com) Maintained by Daniel Towner (daniel.towner@picochip.com) and @@ -83,8 +83,6 @@ extern enum picochip_dfa_type picochip_schedule_type; #define TARGET_HAS_MUL_UNIT (picochip_has_mul_unit) #define TARGET_HAS_MAC_UNIT (picochip_has_mac_unit) #define TARGET_HAS_MULTIPLY (picochip_has_mac_unit || picochip_has_mul_unit) - -#define TARGET_VERSION fprintf(stderr, "(picoChip)"); /* Storage Layout */ diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 7f60d329bed..13d317f508a 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler, for IBM RS/6000 POWER running AIX. - Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010 - Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, + 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -245,9 +245,6 @@ #define PROFILE_HOOK(LABEL) output_profile_hook (LABEL) -/* Print subsidiary information on the compiler version in use. */ -#define TARGET_VERSION ; - /* No version of AIX fully supports AltiVec or 64-bit instructions in 32-bit mode. */ #define OS_MISSING_POWERPC64 1 diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 244da0065df..b1fe2eb05b5 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -1,6 +1,6 @@ /* Target definitions for PowerPC running Darwin (Mac OS X). - Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2010 - Free Software Foundation, Inc. + Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2010, + 2011 Free Software Foundation, Inc. Contributed by Apple Computer Inc. This file is part of GCC. @@ -22,9 +22,6 @@ #undef DARWIN_PPC #define DARWIN_PPC 1 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (Darwin/PowerPC)"); - /* The "Darwin ABI" is mostly like AIX, but with some key differences. */ #define DEFAULT_ABI ABI_DARWIN diff --git a/gcc/config/rs6000/darwin64.h b/gcc/config/rs6000/darwin64.h index a74ceb17fac..f97cc29a217 100644 --- a/gcc/config/rs6000/darwin64.h +++ b/gcc/config/rs6000/darwin64.h @@ -1,5 +1,5 @@ /* Target definitions for PowerPC running Darwin (Mac OS X). - Copyright (C) 2006, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2006, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by Apple Computer Inc. This file is part of GCC. @@ -18,9 +18,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (Darwin/PowerPC64)"); - #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_POWERPC64 | MASK_64BIT \ | MASK_MULTIPLE | MASK_NEW_MNEMONICS | MASK_PPC_GFXOPT) diff --git a/gcc/config/rs6000/eabi.h b/gcc/config/rs6000/eabi.h index 3024a758620..82dec71e958 100644 --- a/gcc/config/rs6000/eabi.h +++ b/gcc/config/rs6000/eabi.h @@ -1,6 +1,7 @@ /* Core target definitions for GNU compiler for IBM RS/6000 PowerPC targeted to embedded ELF systems. - Copyright (C) 1995, 1996, 2000, 2003, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 2000, 2003, 2004, 2007, 2011 + Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GCC. @@ -27,9 +28,6 @@ #define NAME__MAIN "__eabi" #define INVOKE__main -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded)"); - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() \ do \ diff --git a/gcc/config/rs6000/eabialtivec.h b/gcc/config/rs6000/eabialtivec.h index 417be97a476..0883f23fa00 100644 --- a/gcc/config/rs6000/eabialtivec.h +++ b/gcc/config/rs6000/eabialtivec.h @@ -1,6 +1,6 @@ /* Core target definitions for GNU compiler for PowerPC targeted systems with AltiVec support. - Copyright (C) 2001, 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2007, 2011 Free Software Foundation, Inc. Contributed by Aldy Hernandez (aldyh@redhat.com). This file is part of GCC. @@ -23,8 +23,5 @@ #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_EABI | MASK_ALTIVEC) -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded with AltiVec)"); - #undef SUBSUBTARGET_OVERRIDE_OPTIONS #define SUBSUBTARGET_OVERRIDE_OPTIONS rs6000_altivec_abi = 1 diff --git a/gcc/config/rs6000/eabisim.h b/gcc/config/rs6000/eabisim.h index 65bc14dffe2..352c247907c 100644 --- a/gcc/config/rs6000/eabisim.h +++ b/gcc/config/rs6000/eabisim.h @@ -1,6 +1,7 @@ /* Support for GCC on simulated PowerPC systems targeted to embedded ELF systems. - Copyright (C) 1995, 1996, 2000, 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 2000, 2003, 2007, 2011 + Free Software Foundation, Inc. Contributed by Cygnus Support. This file is part of GCC. @@ -19,9 +20,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC Simulated)"); - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() \ do \ diff --git a/gcc/config/rs6000/eabispe.h b/gcc/config/rs6000/eabispe.h index d3fc8a6bedb..b195cb6a4a9 100644 --- a/gcc/config/rs6000/eabispe.h +++ b/gcc/config/rs6000/eabispe.h @@ -1,6 +1,6 @@ /* Core target definitions for GNU compiler for PowerPC embedded targeted systems with SPE support. - Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2011 Free Software Foundation, Inc. Contributed by Aldy Hernandez (aldyh@redhat.com). @@ -24,9 +24,6 @@ #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_EABI \ | MASK_STRICT_ALIGN) -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC Embedded SPE)"); - #undef SUBSUBTARGET_OVERRIDE_OPTIONS #define SUBSUBTARGET_OVERRIDE_OPTIONS \ if (rs6000_select[1].string == NULL) \ diff --git a/gcc/config/rs6000/freebsd.h b/gcc/config/rs6000/freebsd.h index 567263b2aef..22d7272eecd 100644 --- a/gcc/config/rs6000/freebsd.h +++ b/gcc/config/rs6000/freebsd.h @@ -60,9 +60,6 @@ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE 32 -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/PowerPC ELF)"); - /* Override rs6000.h definition. */ #undef ASM_APP_ON #define ASM_APP_ON "#APP\n" diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 77c8f61035b..305b621e7e2 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -88,9 +88,6 @@ #define USE_LD_AS_NEEDED 1 #endif -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC GNU/Linux)"); - /* Override rs6000.h definition. */ #undef ASM_APP_ON #define ASM_APP_ON "#APP\n" diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 04913f29df4..8d9c8fb7380 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -406,9 +406,6 @@ extern int dot_symbols; ? "\t.section\t\".got2\",\"aw\"" \ : "\t.section\t\".got1\",\"aw\"")) -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC64 GNU/Linux)"); - /* Must be at least as big as our pointer type. */ #undef SIZE_TYPE #define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int") diff --git a/gcc/config/rs6000/linuxaltivec.h b/gcc/config/rs6000/linuxaltivec.h index a6e1523eaea..41155c33a78 100644 --- a/gcc/config/rs6000/linuxaltivec.h +++ b/gcc/config/rs6000/linuxaltivec.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for AltiVec enhanced PowerPC machines running GNU/Linux. - Copyright (C) 2001, 2003, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2007, 2011 Free Software Foundation, Inc. Contributed by Aldy Hernandez (aldyh@redhat.com). This file is part of GCC. @@ -19,9 +19,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC AltiVec GNU/Linux)"); - /* Override rs6000.h and sysv4.h definition. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_ALTIVEC) diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h index 3cef9d9dc54..3a8a9dc6114 100644 --- a/gcc/config/rs6000/linuxspe.h +++ b/gcc/config/rs6000/linuxspe.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for PowerPC e500 machines running GNU/Linux. - Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 + Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011 Free Software Foundation, Inc. Contributed by Aldy Hernandez (aldy@quesejoda.com). @@ -20,9 +20,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC E500 GNU/Linux)"); - /* Override rs6000.h and sysv4.h definition. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_STRICT_ALIGN) diff --git a/gcc/config/rs6000/lynx.h b/gcc/config/rs6000/lynx.h index 1e923ea38e3..952bfa7db4e 100644 --- a/gcc/config/rs6000/lynx.h +++ b/gcc/config/rs6000/lynx.h @@ -1,5 +1,5 @@ /* Definitions for Rs6000 running LynxOS. - Copyright (C) 1995, 1996, 2000, 2002, 2003, 2004, 2005, 2007, 2010 + Copyright (C) 1995, 1996, 2000, 2002, 2003, 2004, 2005, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by David Henkel-Wallace, Cygnus Support (gumby@cygnus.com) Rewritten by Adam Nemet, LynuxWorks Inc. @@ -20,11 +20,6 @@ along with GCC; see the file COPYING3. If not see . */ -/* Override the definition in sysv4.h. */ - -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (PowerPC/LynxOS)", stderr); - /* Undefine the definition to enable the LynxOS default from the top-level lynx.h. */ diff --git a/gcc/config/rs6000/netbsd.h b/gcc/config/rs6000/netbsd.h index de16b37227c..d2be7a2dc52 100644 --- a/gcc/config/rs6000/netbsd.h +++ b/gcc/config/rs6000/netbsd.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for PowerPC NetBSD systems. - Copyright 2002, 2003, 2007, 2008, 2010 Free Software Foundation, Inc. + Copyright 2002, 2003, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GCC. @@ -87,7 +87,4 @@ { "netbsd_endfile_spec", NETBSD_ENDFILE_SPEC }, -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NetBSD/powerpc ELF)"); - #define DBX_REGISTER_NUMBER(REGNO) rs6000_dbx_register_number (REGNO) diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 5ba1253fd2c..7d374c3395a 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -513,10 +513,6 @@ extern int fixuplabelno; #define DBX_FUNCTION_FIRST /* This is the end of what might become sysv4dbx.h. */ - -#ifndef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC System V.4)"); -#endif #define TARGET_OS_SYSV_CPP_BUILTINS() \ do \ diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index 95aedf70608..de14bbfbb0c 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -24,9 +24,6 @@ along with GCC; see the file COPYING3. If not see it anyway. However, if you change that file, consider making analogous changes here too. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC VxWorks)"); - /* CPP predefined macros. */ #undef TARGET_OS_CPP_BUILTINS diff --git a/gcc/config/rs6000/vxworksae.h b/gcc/config/rs6000/vxworksae.h deleted file mode 100644 index dd95bb1e4a0..00000000000 --- a/gcc/config/rs6000/vxworksae.h +++ /dev/null @@ -1,23 +0,0 @@ -/* PowerPC VxWorks AE target definitions for GNU compiler. - Copyright (C) 2005, 2007 Free Software Foundation, Inc. - Contributed by CodeSourcery, LLC. - -This file is part of GCC. - -GCC is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 3, or (at your option) any later -version. - -GCC is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License -along with GCC; see the file COPYING3. If not see -. */ - -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (PowerPC VxWorks AE)"); - diff --git a/gcc/config/s390/linux.h b/gcc/config/s390/linux.h index 95cead119a6..ab5e5363c75 100644 --- a/gcc/config/s390/linux.h +++ b/gcc/config/s390/linux.h @@ -1,5 +1,5 @@ /* Definitions for Linux for S/390. - Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2010 + Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by Hartmut Penner (hpenner@de.ibm.com) and Ulrich Weigand (uweigand@de.ibm.com). @@ -23,17 +23,6 @@ along with GCC; see the file COPYING3. If not see #ifndef _LINUX_H #define _LINUX_H -/* Target specific version string. */ - -#ifdef DEFAULT_TARGET_64BIT -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (Linux for zSeries)"); -#else -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (Linux for S/390)"); -#endif - - /* Target specific type definitions. */ /* ??? Do we really want long as size_t on 31-bit? */ diff --git a/gcc/config/s390/s390.h b/gcc/config/s390/s390.h index 8825ae224f4..950bf3c255b 100644 --- a/gcc/config/s390/s390.h +++ b/gcc/config/s390/s390.h @@ -129,13 +129,6 @@ enum processor_flags "%{!march=*:%{mesa:-march=g5}%{mzarch:-march=z900}}" #endif -/* Target version string. Overridden by the OS header. */ -#ifdef DEFAULT_TARGET_64BIT -#define TARGET_VERSION fprintf (stderr, " (zSeries)"); -#else -#define TARGET_VERSION fprintf (stderr, " (S/390)"); -#endif - /* Constants needed to control the TEST DATA CLASS (TDC) instruction. */ #define S390_TDC_POSITIVE_ZERO (1 << 11) #define S390_TDC_NEGATIVE_ZERO (1 << 10) diff --git a/gcc/config/s390/tpf.h b/gcc/config/s390/tpf.h index d2a0f966b0f..c5e86e4a17a 100644 --- a/gcc/config/s390/tpf.h +++ b/gcc/config/s390/tpf.h @@ -1,6 +1,6 @@ /* Definitions for target OS TPF for GNU compiler, for IBM S/390 hardware Copyright (C) 2003, 2004, 2005, 2007, 2009, - 2010 Free Software Foundation, Inc. + 2010, 2011 Free Software Foundation, Inc. Contributed by P.J. Darcy (darcypj@us.ibm.com), Hartmut Penner (hpenner@de.ibm.com), and Ulrich Weigand (uweigand@de.ibm.com). @@ -44,10 +44,6 @@ along with GCC; see the file COPYING3. If not see #define WCHAR_TYPE_SIZE 32 -/* Basic record keeping for the TPF OS name. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (TPF: zSeries)"); - /* TPF OS specific stack-pointer offset. */ #undef STACK_POINTER_OFFSET #define STACK_POINTER_OFFSET 448 diff --git a/gcc/config/score/score.h b/gcc/config/score/score.h index c66e0e934ce..736e770673e 100644 --- a/gcc/config/score/score.h +++ b/gcc/config/score/score.h @@ -1,5 +1,6 @@ /* score.h for Sunplus S+CORE processor - Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2005, 2007, 2008, 2009, 2010, 2011 + Free Software Foundation, Inc. Contributed by Sunnorth. This file is part of GCC. @@ -65,9 +66,6 @@ #define SCORE_GCC_VERSION "1.6" -#define TARGET_VERSION \ - fprintf (stderr, "Sunplus S+core rev=%s", SCORE_GCC_VERSION); - /* Target machine storage layout. */ #define BITS_BIG_ENDIAN 0 #define BYTES_BIG_ENDIAN (TARGET_LITTLE_ENDIAN == 0) diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h index a090dae1cab..adadc0c8687 100644 --- a/gcc/config/sh/linux.h +++ b/gcc/config/sh/linux.h @@ -1,5 +1,5 @@ /* Definitions for SH running Linux-based GNU systems using ELF - Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2010 + Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2011 Free Software Foundation, Inc. Contributed by Kazumoto Kojima @@ -20,8 +20,6 @@ along with GCC; see the file COPYING3. If not see . */ /* Run-time Target Specification. */ -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (SH GNU/Linux with ELF)", stderr); /* Enable DWARF 2 exceptions. */ #undef DWARF2_UNWIND_INFO diff --git a/gcc/config/sh/netbsd-elf.h b/gcc/config/sh/netbsd-elf.h index 50bb2f2db8c..f5a820b1363 100644 --- a/gcc/config/sh/netbsd-elf.h +++ b/gcc/config/sh/netbsd-elf.h @@ -1,5 +1,6 @@ /* Definitions for SH running NetBSD using ELF - Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2007, 2011 + Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GCC. @@ -19,26 +20,6 @@ along with GCC; see the file COPYING3. If not see . */ /* Run-time Target Specification. */ -#if TARGET_ENDIAN_DEFAULT == MASK_LITTLE_ENDIAN -#define TARGET_VERSION_ENDIAN "le" -#else -#define TARGET_VERSION_ENDIAN "" -#endif - -#if TARGET_CPU_DEFAULT & MASK_SH5 -#if TARGET_CPU_DEFAULT & MASK_SH_E -#define TARGET_VERSION_CPU "sh5" -#else -#define TARGET_VERSION_CPU "sh64" -#endif /* MASK_SH_E */ -#else -#define TARGET_VERSION_CPU "sh" -#endif /* MASK_SH5 */ - -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NetBSD/%s%s ELF)", \ - TARGET_VERSION_CPU, TARGET_VERSION_ENDIAN) - /* Extra specs needed for NetBSD SuperH ELF targets. */ diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index d45f8c08001..9df2ea4425d 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler for Renesas / SuperH SH. Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. Contributed by Steve Chamberlain (sac@cygnus.com). Improved by Jim Wilson (wilson@cygnus.com). @@ -26,9 +26,6 @@ along with GCC; see the file COPYING3. If not see #include "config/vxworks-dummy.h" -#define TARGET_VERSION \ - fputs (" (Hitachi SH)", stderr); - /* Unfortunately, insn-attrtab.c doesn't include insn-codes.h. We can't include it here, because bconfig.h is also included by gencodes.c . */ /* ??? No longer true. */ diff --git a/gcc/config/sh/sh64.h b/gcc/config/sh/sh64.h index c954d72ca8f..97010556556 100644 --- a/gcc/config/sh/sh64.h +++ b/gcc/config/sh/sh64.h @@ -1,5 +1,6 @@ /* Definitions of target machine for GNU compiler for SuperH SH 5. - Copyright 2000, 2001, 2002, 2003, 2004, 2007 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2003, 2004, 2007, 2011 + Free Software Foundation, Inc. Contributed by Alexandre Oliva This file is part of GCC. @@ -18,9 +19,5 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION \ - fputs (" (SuperH SH)", stderr); - #undef SH_ELF_WCHAR_TYPE #define SH_ELF_WCHAR_TYPE "int" diff --git a/gcc/config/sh/superh.h b/gcc/config/sh/superh.h index 88920739e29..9d59eddfb6b 100644 --- a/gcc/config/sh/superh.h +++ b/gcc/config/sh/superh.h @@ -1,5 +1,5 @@ /* Definitions of target machine for gcc for Super-H using sh-superh-elf. - Copyright (C) 2001, 2006, 2007 Free Software Foundation, Inc. + Copyright (C) 2001, 2006, 2007, 2011 Free Software Foundation, Inc. This file is part of GNU CC. @@ -35,9 +35,6 @@ along with GCC; see the file COPYING3. If not see #endif -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (SuperH SH special %s)", __DATE__); - /* Override the linker spec strings to use the new emulation The specstrings are concatenated as follows LINK_EMUL_PREFIX.(''|'32'|'64'|LINK_DEFAULT_CPU_EMUL).SUBTARGET_LINK_EMUL_SUFFIX diff --git a/gcc/config/sh/vxworks.h b/gcc/config/sh/vxworks.h index 3276979e450..d536d74de0f 100644 --- a/gcc/config/sh/vxworks.h +++ b/gcc/config/sh/vxworks.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GCC, for SuperH with targeting the VXWorks run time environment. - Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2007, 2011 Free Software Foundation, Inc. Contributed by CodeSourcery, LLC. This file is part of GCC. @@ -59,9 +59,6 @@ along with GCC; see the file COPYING3. If not see #undef ENDFILE_SPEC #define ENDFILE_SPEC VXWORKS_ENDFILE_SPEC -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (SH/VxWorks)", stderr); - /* There is no default multilib. */ #undef MULTILIB_DEFAULTS diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index f7e53f2962c..b88b4e9f673 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -82,9 +82,6 @@ along with GCC; see the file COPYING3. If not see /* Definitions for 64-bit SPARC running systems with ELF. */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/sparc64 ELF)"); - #define TARGET_ELF 1 /* XXX */ diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index b37cccebb57..e2dc8c53645 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -44,9 +44,6 @@ along with GCC; see the file COPYING3. If not see #define CC1_SPEC "%{profile:-p} \ " -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc GNU/Linux with ELF)"); - #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index a4c67dce312..31ad3ecfa6c 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -61,9 +61,6 @@ along with GCC; see the file COPYING3. If not see "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s\ %{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc64 GNU/Linux with ELF)"); - /* The default code model. */ #undef SPARC_DEFAULT_CMODEL #define SPARC_DEFAULT_CMODEL CM_MEDLOW diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index ed9cabe1ed4..ab161a4f8ed 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -77,9 +77,6 @@ along with GCC; see the file COPYING3. If not see /* Attempt to enable execute permissions on the stack. */ #define ENABLE_EXECUTE_STACK NETBSD_ENABLE_EXECUTE_STACK -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME); - /* Below here exists the merged NetBSD/sparc & NetBSD/sparc64 compiler description, allowing one to build 32-bit or 64-bit applications on either. We define the sparc & sparc64 versions of things, @@ -91,10 +88,6 @@ along with GCC; see the file COPYING3. If not see definitions, even for the SPARC_BI_ARCH compiler, because NetBSD does not have a default place to find these libraries.. */ -/* Name the port(s). */ -#define TARGET_NAME64 "NetBSD/sparc64 ELF" -#define TARGET_NAME32 "NetBSD/sparc ELF" - /* TARGET_CPU_DEFAULT is set in Makefile.in. We test for 64-bit default platform here. */ @@ -197,10 +190,6 @@ along with GCC; see the file COPYING3. If not see #define MULTILIB_DEFAULTS { "m64" } #endif -/* Name the port. */ -#undef TARGET_NAME -#define TARGET_NAME (DEFAULT_ARCH32_P ? TARGET_NAME32 : TARGET_NAME64) - #else /* SPARC_BI_ARCH */ #if TARGET_CPU_DEFAULT == TARGET_CPU_v9 \ @@ -215,9 +204,6 @@ along with GCC; see the file COPYING3. If not see #undef CC1_SPEC #define CC1_SPEC CC1_SPEC64 -#undef TARGET_NAME -#define TARGET_NAME TARGET_NAME64 - #else /* TARGET_CPU_DEFAULT == TARGET_CPU_v9 \ || TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc */ @@ -233,9 +219,6 @@ along with GCC; see the file COPYING3. If not see #undef CC1_SPEC #define CC1_SPEC CC1_SPEC32 -#undef TARGET_NAME -#define TARGET_NAME TARGET_NAME32 - #endif /* TARGET_CPU_DEFAULT == TARGET_CPU_v9 \ || TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc */ diff --git a/gcc/config/sparc/openbsd64.h b/gcc/config/sparc/openbsd64.h index 5d87f72e59c..da479db144a 100644 --- a/gcc/config/sparc/openbsd64.h +++ b/gcc/config/sparc/openbsd64.h @@ -1,5 +1,5 @@ /* Configuration file for sparc64 OpenBSD target. - Copyright (C) 1999, 2005, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 1999, 2005, 2007, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -17,9 +17,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc64 OpenBSD ELF)") - /* XXX - do we really want HARD_QUAD? */ #undef TARGET_DEFAULT #define TARGET_DEFAULT \ diff --git a/gcc/config/sparc/sp-elf.h b/gcc/config/sparc/sp-elf.h index 6c0797f74ba..d39ca3eeb37 100644 --- a/gcc/config/sparc/sp-elf.h +++ b/gcc/config/sparc/sp-elf.h @@ -18,9 +18,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc-elf)") - /* Don't assume anything about the header files. */ #define NO_IMPLICIT_EXTERN_C diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h index fe49a7947ad..25a02402b07 100644 --- a/gcc/config/sparc/sp64-elf.h +++ b/gcc/config/sparc/sp64-elf.h @@ -20,9 +20,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc64-elf)") - /* A 64 bit v9 compiler in a Medium/Anywhere code model environment. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT \ diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index 2ffa94527b2..958497430ce 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -20,10 +20,6 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ -#ifndef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (sparc ELF)"); -#endif - #undef SIZE_TYPE #define SIZE_TYPE (TARGET_ARCH64 ? "long unsigned int" : "unsigned int") diff --git a/gcc/config/sparc/vxworks.h b/gcc/config/sparc/vxworks.h index e1b596e7f79..3ce7c572076 100644 --- a/gcc/config/sparc/vxworks.h +++ b/gcc/config/sparc/vxworks.h @@ -45,9 +45,6 @@ along with GCC; see the file COPYING3. If not see #undef ENDFILE_SPEC #define ENDFILE_SPEC VXWORKS_ENDFILE_SPEC -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (SPARC/VxWorks)", stderr); - #undef FUNCTION_PROFILER #define FUNCTION_PROFILER VXWORKS_FUNCTION_PROFILER diff --git a/gcc/config/spu/spu.h b/gcc/config/spu/spu.h index b3bdcf5abdf..f0f00a998d6 100644 --- a/gcc/config/spu/spu.h +++ b/gcc/config/spu/spu.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 + Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -18,8 +19,6 @@ /* Run-time Target */ #define TARGET_CPU_CPP_BUILTINS() spu_cpu_cpp_builtins(pfile) -#define TARGET_VERSION fprintf (stderr, " (spu %s)", __DATE__); - #define C_COMMON_OVERRIDE_OPTIONS spu_c_common_override_options() #define INIT_EXPANDERS spu_init_expanders() diff --git a/gcc/config/stormy16/stormy16.h b/gcc/config/stormy16/stormy16.h index 53f4d2d7b65..3853c3f3ec6 100644 --- a/gcc/config/stormy16/stormy16.h +++ b/gcc/config/stormy16/stormy16.h @@ -55,8 +55,6 @@ builtin_assert ("cpu=xstormy16"); \ } \ while (0) - -#define TARGET_VERSION fprintf (stderr, " (xstormy16 cpu core)"); /* Storage Layout. */ diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index 1171399c4cf..1e45686e54f 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -47,7 +47,6 @@ extern GTY(()) rtx v850_compare_op1; #define MASK_DEFAULT MASK_V850 #define SUBTARGET_ASM_SPEC "%{!mv*:-mv850}" #define SUBTARGET_CPP_SPEC "%{!mv*:-D__v850__}" -#define TARGET_VERSION fprintf (stderr, " (NEC V850)"); /* Choose which processor will be the default. We must pass a -mv850xx option to the assembler if no explicit -mv* option @@ -59,8 +58,6 @@ extern GTY(()) rtx v850_compare_op1; #define SUBTARGET_ASM_SPEC "%{!mv*:-mv850e}" #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{!mv*:-D__v850e__}" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NEC V850E)"); #endif #if TARGET_CPU_DEFAULT == TARGET_CPU_v850e1 @@ -70,8 +67,6 @@ extern GTY(()) rtx v850_compare_op1; #define SUBTARGET_ASM_SPEC "%{!mv*:-mv850e1}" #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{!mv*:-D__v850e1__} %{mv850e1:-D__v850e1__}" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NEC V850E1)"); #endif #if TARGET_CPU_DEFAULT == TARGET_CPU_v850e2 @@ -81,8 +76,6 @@ extern GTY(()) rtx v850_compare_op1; #define SUBTARGET_ASM_SPEC "%{!mv*:-mv850e2}" #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{!mv*:-D__v850e2__} %{mv850e2:-D__v850e2__}" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NEC V850E2)"); #endif #if TARGET_CPU_DEFAULT == TARGET_CPU_v850e2v3 @@ -92,8 +85,6 @@ extern GTY(()) rtx v850_compare_op1; #define SUBTARGET_ASM_SPEC "%{!mv*:-mv850e2v3}" #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{!mv*:-D__v850e2v3__} %{mv850e2v3:-D__v850e2v3__}" -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (NEC V850E2V3)"); #endif #define TARGET_V850E2_ALL (TARGET_V850E2 || TARGET_V850E2V3) diff --git a/gcc/config/vax/linux.h b/gcc/config/vax/linux.h index 93ce7bb3a25..2f098489709 100644 --- a/gcc/config/vax/linux.h +++ b/gcc/config/vax/linux.h @@ -1,5 +1,5 @@ /* Definitions for VAX running Linux-based GNU systems with ELF format. - Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -18,9 +18,6 @@ along with GCC; see the file COPYING3. If not see . */ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (VAX GNU/Linux with ELF)"); - #define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS() /* We use GAS, G-float double and want new DI patterns. */ diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 15b7daa7b7e..77530aa97eb 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler. VAX version. Copyright (C) 1987, 1988, 1991, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 + 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -51,13 +51,6 @@ along with GCC; see the file COPYING3. If not see %{pg:%eprofiling not supported with -mg\n}}\ %{!mg:%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}" -/* Print subsidiary information on the compiler version in use. */ - -#ifndef TARGET_NAME /* A more specific value might be supplied via -D. */ -#define TARGET_NAME "vax" -#endif -#define TARGET_VERSION fprintf (stderr, " (%s)", TARGET_NAME) - /* Run-time compilation parameters selecting different hardware subsets. */ /* Nonzero if ELF. Redefined by vax/elf.h. */ diff --git a/gcc/config/xtensa/elf.h b/gcc/config/xtensa/elf.h index 54a9c8f19a5..66dd9244b59 100644 --- a/gcc/config/xtensa/elf.h +++ b/gcc/config/xtensa/elf.h @@ -1,6 +1,7 @@ /* Xtensa/Elf configuration. Derived from the configuration for GCC for Intel i386 running Linux. - Copyright (C) 2001, 2003, 2006, 2007, 2010 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2006, 2007, 2010, 2011 + Free Software Foundation, Inc. This file is part of GCC. @@ -29,9 +30,6 @@ along with GCC; see the file COPYING3. If not see #undef ASM_APP_OFF #define ASM_APP_OFF "#NO_APP\n" -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (Xtensa/ELF)", stderr); - #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" diff --git a/gcc/config/xtensa/linux.h b/gcc/config/xtensa/linux.h index 83d2a976749..601b0a85fe4 100644 --- a/gcc/config/xtensa/linux.h +++ b/gcc/config/xtensa/linux.h @@ -24,9 +24,6 @@ along with GCC; see the file COPYING3. If not see #undef SUBTARGET_CPP_SPEC #define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (Xtensa GNU/Linux with ELF)", stderr); - #undef SIZE_TYPE #define SIZE_TYPE "unsigned int" diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 716be18be40..e036a751e77 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -704,22 +704,6 @@ If a target implements string objects then this hook should return @code{true} i If a target implements string objects then this hook should should provide a facility to check the function arguments in @var{args_list} against the format specifiers in @var{format_arg} where the type of @var{format_arg} is one recognized as a valid string reference type. @end deftypefn -@defmac TARGET_VERSION -This macro is a C statement to print on @code{stderr} a string -describing the particular machine description choice. Every machine -description should define @code{TARGET_VERSION}. For example: - -@smallexample -#ifdef MOTOROLA -#define TARGET_VERSION \ - fprintf (stderr, " (68k, Motorola syntax)"); -#else -#define TARGET_VERSION \ - fprintf (stderr, " (68k, MIT syntax)"); -#endif -@end smallexample -@end defmac - @deftypefn {Target Hook} void TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE (void) This target function is similar to the hook @code{TARGET_OPTION_OVERRIDE} but is called when the optimize level is changed via an attribute or diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index eb19da25c55..867006ff903 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -698,22 +698,6 @@ should use @code{TARGET_HANDLE_C_OPTION} instead. @hook TARGET_CHECK_STRING_OBJECT_FORMAT_ARG -@defmac TARGET_VERSION -This macro is a C statement to print on @code{stderr} a string -describing the particular machine description choice. Every machine -description should define @code{TARGET_VERSION}. For example: - -@smallexample -#ifdef MOTOROLA -#define TARGET_VERSION \ - fprintf (stderr, " (68k, Motorola syntax)"); -#else -#define TARGET_VERSION \ - fprintf (stderr, " (68k, MIT syntax)"); -#endif -@end smallexample -@end defmac - @hook TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE This target function is similar to the hook @code{TARGET_OPTION_OVERRIDE} but is called when the optimize level is changed via an attribute or diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c index 3a574587988..906e94a6545 100644 --- a/gcc/mips-tdump.c +++ b/gcc/mips-tdump.c @@ -1425,13 +1425,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" errors++; if (verbose || errors) - { - fprintf (stderr, "mips-tdump (GCC) %s", version_string); -#ifdef TARGET_VERSION - TARGET_VERSION; -#endif - fputc ('\n', stderr); - } + fprintf (stderr, "mips-tdump (GCC) %s\n", version_string); if (errors) { diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 331ddbaa6dc..ede35689e3f 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -4810,13 +4810,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" had_errors++; if (verbose || had_errors) - { - fprintf (stderr, _("mips-tfile (GCC) %s"), version_string); -#ifdef TARGET_VERSION - TARGET_VERSION; -#endif - fputc ('\n', stderr); - } + fprintf (stderr, _("mips-tfile (GCC) %s\n"), version_string); if (object_name == (char *) 0 || had_errors) { diff --git a/gcc/system.h b/gcc/system.h index 2314d3cc0bf..ba07cd81b16 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -1,7 +1,7 @@ /* Get common system includes and various definitions and declarations based on autoconf macros. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, - 2009, 2010 + 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -829,7 +829,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; HANDLE_SYSV_PRAGMA HANDLE_PRAGMA_WEAK CONDITIONAL_REGISTER_USAGE \ FUNCTION_ARG_BOUNDARY MUST_USE_SJLJ_EXCEPTIONS US_SOFTWARE_GOFAST \ USING_SVR4_H SVR4_ASM_SPEC FUNCTION_ARG FUNCTION_ARG_ADVANCE \ - FUNCTION_INCOMING_ARG IRA_COVER_CLASSES + FUNCTION_INCOMING_ARG IRA_COVER_CLASSES TARGET_VERSION \ + MACHINE_TYPE /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ -- 2.30.2