This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove TARGET_VERSION


On Thu, Mar 31, 2011 at 2:00 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> This patch removes the TARGET_VERSION target macro. ?This macro was
> used only in collect2, mips-tdump and mips-tfile, to output extra
> version information all of which could be deduced from the "gcc -v"
> output and none of which would ever normally be seen by users because
> it was only used by those subsidiary programs.
>
> By removing the macro it fixes bug 47109 relating to one instance of
> that macro, and eliminates one of the points I listed in
> <http://gcc.gnu.org/ml/gcc/2011-01/msg00000.html> that will need
> addressing to stop non-Linux-kernel targets using linux*.h config
> headers.
>
> Some targets used TARGET_NAME in their TARGET_VERSION definitions; I
> eliminated all definitions of that macro apart from the
> -DTARGET_NAME=\"$(target_noncanonical)\" one in the Makefile.in rule
> for toplev.o. ?Some targets used a MACHINE_TYPE macro, which I
> eliminated and poisoned. ?I did not eliminate the SCORE_GCC_VERSION
> macro, but think the S+core maintainers should do so; back ends should
> not have their own version numbers. ?The header
> config/rs6000/vxworksae.h did nothing other than define
> TARGET_VERSION, so I removed that header completely.
>
> Bootstrapped with no regressions on x86_64-unknown-linux-gnu. ?OK to
> commit?

Ok.

Thanks,
Richard.

> 2011-03-31 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?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.
>
> Index: gcc/doc/tm.texi
> ===================================================================
> --- gcc/doc/tm.texi ? ? (revision 171745)
> +++ gcc/doc/tm.texi ? ? (working copy)
> @@ -704,22 +704,6 @@ If a target implements string objects th
> ?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
> Index: gcc/doc/tm.texi.in
> ===================================================================
> --- gcc/doc/tm.texi.in ?(revision 171745)
> +++ gcc/doc/tm.texi.in ?(working copy)
> @@ -698,22 +698,6 @@ should use @code{TARGET_HANDLE_C_OPTION}
>
> ?@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
> Index: gcc/mips-tdump.c
> ===================================================================
> --- gcc/mips-tdump.c ? ?(revision 171745)
> +++ gcc/mips-tdump.c ? ?(working copy)
> @@ -1425,13 +1425,7 @@ warranty; not even for MERCHANTABILITY o
> ? ? 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)
> ? ? {
> Index: gcc/mips-tfile.c
> ===================================================================
> --- gcc/mips-tfile.c ? ?(revision 171745)
> +++ gcc/mips-tfile.c ? ?(working copy)
> @@ -4810,13 +4810,7 @@ warranty; not even for MERCHANTABILITY o
> ? ? 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)
> ? ? {
> Index: gcc/system.h
> ===================================================================
> --- gcc/system.h ? ? ? ?(revision 171745)
> +++ gcc/system.h ? ? ? ?(working copy)
> @@ -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 *, i
> ? ? ? ?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 ?\
> Index: gcc/config.gcc
> ===================================================================
> --- gcc/config.gcc ? ? ?(revision 171745)
> +++ gcc/config.gcc ? ? ?(working copy)
> @@ -2087,7 +2087,7 @@ powerpc-wrs-vxworks|powerpc-wrs-vxworksa
> ? ? ? ?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*)
> Index: gcc/config/alpha/linux-elf.h
> ===================================================================
> --- gcc/config/alpha/linux-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/alpha/linux-elf.h ? ? ? ?(working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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 },
> Index: gcc/config/alpha/vms.h
> ===================================================================
> --- gcc/config/alpha/vms.h ? ? ?(revision 171745)
> +++ gcc/config/alpha/vms.h ? ? ?(working copy)
> @@ -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.
> ?#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
> Index: gcc/config/alpha/alpha.h
> ===================================================================
> --- gcc/config/alpha/alpha.h ? ?(revision 171745)
> +++ gcc/config/alpha/alpha.h ? ?(working copy)
> @@ -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.
> ? 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
> Index: gcc/config/alpha/freebsd.h
> ===================================================================
> --- gcc/config/alpha/freebsd.h ?(revision 171745)
> +++ gcc/config/alpha/freebsd.h ?(working copy)
> @@ -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 <obrien@FreeBSD.org> and BSDi.
>
> @@ -54,9 +54,6 @@ along with GCC; see the file COPYING3.
> ?#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
> Index: gcc/config/alpha/netbsd.h
> ===================================================================
> --- gcc/config/alpha/netbsd.h ? (revision 171745)
> +++ gcc/config/alpha/netbsd.h ? (working copy)
> @@ -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.
> ?/* 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)");
> Index: gcc/config/frv/frv.h
> ===================================================================
> --- gcc/config/frv/frv.h ? ? ? ?(revision 171745)
> +++ gcc/config/frv/frv.h ? ? ? ?(working copy)
> @@ -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. ?*/
> Index: gcc/config/s390/tpf.h
> ===================================================================
> --- gcc/config/s390/tpf.h ? ? ? (revision 171745)
> +++ gcc/config/s390/tpf.h ? ? ? (working copy)
> @@ -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.
> ?#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
> Index: gcc/config/s390/s390.h
> ===================================================================
> --- gcc/config/s390/s390.h ? ? ?(revision 171745)
> +++ gcc/config/s390/s390.h ? ? ?(working copy)
> @@ -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)
> Index: gcc/config/s390/linux.h
> ===================================================================
> --- gcc/config/s390/linux.h ? ? (revision 171745)
> +++ gcc/config/s390/linux.h ? ? (working copy)
> @@ -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.
> ?#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? ?*/
> Index: gcc/config/m32c/m32c.h
> ===================================================================
> --- gcc/config/m32c/m32c.h ? ? ?(revision 171745)
> +++ gcc/config/m32c/m32c.h ? ? ?(working copy)
> @@ -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
> Index: gcc/config/spu/spu.h
> ===================================================================
> --- gcc/config/spu/spu.h ? ? ? ?(revision 171745)
> +++ gcc/config/spu/spu.h ? ? ? ?(working copy)
> @@ -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()
> Index: gcc/config/sparc/linux.h
> ===================================================================
> --- gcc/config/sparc/linux.h ? ?(revision 171745)
> +++ gcc/config/sparc/linux.h ? ?(working copy)
> @@ -44,9 +44,6 @@ along with GCC; see the file COPYING3.
> ?#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"
>
> Index: gcc/config/sparc/sp64-elf.h
> ===================================================================
> --- gcc/config/sparc/sp64-elf.h (revision 171745)
> +++ gcc/config/sparc/sp64-elf.h (working copy)
> @@ -20,9 +20,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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 \
> Index: gcc/config/sparc/openbsd64.h
> ===================================================================
> --- gcc/config/sparc/openbsd64.h ? ? ? ?(revision 171745)
> +++ gcc/config/sparc/openbsd64.h ? ? ? ?(working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (sparc64 OpenBSD ELF)")
> -
> ?/* XXX - do we really want HARD_QUAD? */
> ?#undef TARGET_DEFAULT
> ?#define TARGET_DEFAULT \
> Index: gcc/config/sparc/sp-elf.h
> ===================================================================
> --- gcc/config/sparc/sp-elf.h ? (revision 171745)
> +++ gcc/config/sparc/sp-elf.h ? (working copy)
> @@ -18,9 +18,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (sparc-elf)")
> -
> ?/* Don't assume anything about the header files. ?*/
> ?#define NO_IMPLICIT_EXTERN_C
>
> Index: gcc/config/sparc/linux64.h
> ===================================================================
> --- gcc/config/sparc/linux64.h ?(revision 171745)
> +++ gcc/config/sparc/linux64.h ?(working copy)
> @@ -61,9 +61,6 @@ along with GCC; see the file COPYING3.
> ? "%{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
> Index: gcc/config/sparc/freebsd.h
> ===================================================================
> --- gcc/config/sparc/freebsd.h ?(revision 171745)
> +++ gcc/config/sparc/freebsd.h ?(working copy)
> @@ -82,9 +82,6 @@ along with GCC; see the file COPYING3.
>
> ?/* 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 */
> Index: gcc/config/sparc/netbsd-elf.h
> ===================================================================
> --- gcc/config/sparc/netbsd-elf.h ? ? ? (revision 171745)
> +++ gcc/config/sparc/netbsd-elf.h ? ? ? (working copy)
> @@ -77,9 +77,6 @@ along with GCC; see the file COPYING3.
> ?/* 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.
> ? ?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.
> ?#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.
> ?#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.
> ?#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 */
>
> Index: gcc/config/sparc/vxworks.h
> ===================================================================
> --- gcc/config/sparc/vxworks.h ?(revision 171745)
> +++ gcc/config/sparc/vxworks.h ?(working copy)
> @@ -45,9 +45,6 @@ along with GCC; see the file COPYING3.
> ?#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
>
> Index: gcc/config/sparc/sysv4.h
> ===================================================================
> --- gcc/config/sparc/sysv4.h ? ?(revision 171745)
> +++ gcc/config/sparc/sysv4.h ? ?(working copy)
> @@ -20,10 +20,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#ifndef TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (sparc ELF)");
> -#endif
> -
> ?#undef SIZE_TYPE
> ?#define SIZE_TYPE (TARGET_ARCH64 ? "long unsigned int" : "unsigned int")
>
> Index: gcc/config/mep/mep.h
> ===================================================================
> --- gcc/config/mep/mep.h ? ? ? ?(revision 171745)
> +++ gcc/config/mep/mep.h ? ? ? ?(working copy)
> @@ -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}"
>
> Index: gcc/config/m32r/linux.h
> ===================================================================
> --- gcc/config/m32r/linux.h ? ? (revision 171745)
> +++ gcc/config/m32r/linux.h ? ? (working copy)
> @@ -18,15 +18,6 @@
> ? ?along with GCC; see the file COPYING3. ?If not see
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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"
>
> Index: gcc/config/m32r/m32r.h
> ===================================================================
> --- gcc/config/m32r/m32r.h ? ? ?(revision 171745)
> +++ gcc/config/m32r/m32r.h ? ? ?(working copy)
> @@ -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() ? ? ? ? ? ? ?\
> Index: gcc/config/i386/linux.h
> ===================================================================
> --- gcc/config/i386/linux.h ? ? (revision 171745)
> +++ gcc/config/i386/linux.h ? ? (working copy)
> @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3.
> ?/* 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
> Index: gcc/config/i386/cygwin.h
> ===================================================================
> --- gcc/config/i386/cygwin.h ? ?(revision 171745)
> +++ gcc/config/i386/cygwin.h ? ?(working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#define TARGET_VERSION fprintf (stderr, " (x86 Cygwin)");
> -
> ?#define EXTRA_OS_CPP_BUILTINS() ?/* Nothing. ?*/
>
> ?#undef CPP_SPEC
> Index: gcc/config/i386/netbsd64.h
> ===================================================================
> --- gcc/config/i386/netbsd64.h ?(revision 171745)
> +++ gcc/config/i386/netbsd64.h ?(working copy)
> @@ -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.
>
> ?/* 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)");
> Index: gcc/config/i386/djgpp.h
> ===================================================================
> --- gcc/config/i386/djgpp.h ? ? (revision 171745)
> +++ gcc/config/i386/djgpp.h ? ? (working copy)
> @@ -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.
> ?/* 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 \
> Index: gcc/config/i386/freebsd64.h
> ===================================================================
> --- gcc/config/i386/freebsd64.h (revision 171745)
> +++ gcc/config/i386/freebsd64.h (working copy)
> @@ -19,9 +19,6 @@ along with GCC; see the file COPYING3.
> ?<http://www.gnu.org/licenses/>. ?*/
>
>
> -#undef ?TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)");
> -
> ?#define SUBTARGET_EXTRA_SPECS \
> ? { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
>
> Index: gcc/config/i386/lynx.h
> ===================================================================
> --- gcc/config/i386/lynx.h ? ? ?(revision 171745)
> +++ gcc/config/i386/lynx.h ? ? ?(working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#define TARGET_VERSION fputs (" (i386/LynxOS)", stderr);
> -
> ?#define TARGET_OS_CPP_BUILTINS() ? ? ? ? ? ? ? \
> ? do ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> ? ? { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> Index: gcc/config/i386/i386elf.h
> ===================================================================
> --- gcc/config/i386/i386elf.h ? (revision 171745)
> +++ gcc/config/i386/i386elf.h ? (working copy)
> @@ -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.
> ?#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. ?*/
>
> Index: gcc/config/i386/netbsd-elf.h
> ===================================================================
> --- gcc/config/i386/netbsd-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/i386/netbsd-elf.h ? ? ? ?(working copy)
> @@ -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 <mrg@eterna.com.au>
>
> ?This file is part of GCC.
> @@ -120,5 +120,3 @@ along with GCC; see the file COPYING3.
>
> ?/* Attempt to enable execute permissions on the stack. ?*/
> ?#define ENABLE_EXECUTE_STACK NETBSD_ENABLE_EXECUTE_STACK
> -
> -#define TARGET_VERSION fprintf (stderr, " (NetBSD/i386 ELF)");
> Index: gcc/config/i386/netware.h
> ===================================================================
> --- gcc/config/i386/netware.h ? (revision 171745)
> +++ gcc/config/i386/netware.h ? (working copy)
> @@ -21,8 +21,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#define TARGET_VERSION fprintf (stderr, " (x86 NetWare)");
> -
> ?#undef ?CPP_SPEC
> ?#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
>
> Index: gcc/config/i386/i386-interix.h
> ===================================================================
> --- gcc/config/i386/i386-interix.h ? ? ?(revision 171745)
> +++ gcc/config/i386/i386-interix.h ? ? ?(working copy)
> @@ -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.
> ?#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. ?*/
> Index: gcc/config/i386/gnu.h
> ===================================================================
> --- gcc/config/i386/gnu.h ? ? ? (revision 171745)
> +++ gcc/config/i386/gnu.h ? ? ? (working copy)
> @@ -23,9 +23,6 @@ along with GCC. ?If not, see <http://www
> ?#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}"
>
> Index: gcc/config/i386/darwin64.h
> ===================================================================
> --- gcc/config/i386/darwin64.h ?(revision 171745)
> +++ gcc/config/i386/darwin64.h ?(working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (x86_64 Darwin)");
> -
> ?#undef ?DARWIN_ARCH_SPEC
> ?#define DARWIN_ARCH_SPEC "%{m32:i386;:x86_64}"
>
> Index: gcc/config/i386/linux64.h
> ===================================================================
> --- gcc/config/i386/linux64.h ? (revision 171745)
> +++ gcc/config/i386/linux64.h ? (working copy)
> @@ -24,12 +24,6 @@ a copy of the GCC Runtime Library Except
> ?see the files COPYING3 and COPYING.RUNTIME respectively. ?If not, see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> ? ? { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> Index: gcc/config/i386/darwin.h
> ===================================================================
> --- gcc/config/i386/darwin.h ? ?(revision 171745)
> +++ gcc/config/i386/darwin.h ? ?(working copy)
> @@ -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.
> ?#undef DARWIN_X86
> ?#define DARWIN_X86 1
>
> -#define TARGET_VERSION fprintf (stderr, " (i686 Darwin)");
> -
> ?#undef ?TARGET_64BIT
> ?#define TARGET_64BIT OPTION_ISA_64BIT
>
> Index: gcc/config/i386/mingw32.h
> ===================================================================
> --- gcc/config/i386/mingw32.h ? (revision 171745)
> +++ gcc/config/i386/mingw32.h ? (working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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
>
> Index: gcc/config/i386/openbsd.h
> ===================================================================
> --- gcc/config/i386/openbsd.h ? (revision 171745)
> +++ gcc/config/i386/openbsd.h ? (working copy)
> @@ -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.
> ?<http://www.gnu.org/licenses/>. ?*/
>
>
> -#define TARGET_VERSION fprintf (stderr, " (OpenBSD/i386)");
> -
> ?/* This goes away when the math-emulator is fixed */
> ?#undef TARGET_SUBTARGET_DEFAULT
> ?#define TARGET_SUBTARGET_DEFAULT \
> Index: gcc/config/i386/nto.h
> ===================================================================
> --- gcc/config/i386/nto.h ? ? ? (revision 171745)
> +++ gcc/config/i386/nto.h ? ? ? (working copy)
> @@ -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.
> ?#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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> Index: gcc/config/i386/freebsd.h
> ===================================================================
> --- gcc/config/i386/freebsd.h ? (revision 171745)
> +++ gcc/config/i386/freebsd.h ? (working copy)
> @@ -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.
> ?<http://www.gnu.org/licenses/>. ?*/
>
>
> -#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
> -
> ?/* Override the default comment-starter of "/". ?*/
> ?#undef ?ASM_COMMENT_START
> ?#define ASM_COMMENT_START "#"
> Index: gcc/config/i386/vxworks.h
> ===================================================================
> --- gcc/config/i386/vxworks.h ? (revision 171745)
> +++ gcc/config/i386/vxworks.h ? (working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef ?TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (80586, VxWorks syntax)");
> -
> ?#undef ?ASM_SPEC
> ?#define ASM_SPEC ""
>
> Index: gcc/config/sh/linux.h
> ===================================================================
> --- gcc/config/sh/linux.h ? ? ? (revision 171745)
> +++ gcc/config/sh/linux.h ? ? ? (working copy)
> @@ -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 <kkojima@rr.iij4u.or.jp>
>
> @@ -20,8 +20,6 @@ along with GCC; see the file COPYING3.
> ?<http://www.gnu.org/licenses/>. ?*/
>
> ?/* 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
> Index: gcc/config/sh/superh.h
> ===================================================================
> --- gcc/config/sh/superh.h ? ? ?(revision 171745)
> +++ gcc/config/sh/superh.h ? ? ?(working copy)
> @@ -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.
> ?#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
> Index: gcc/config/sh/sh.h
> ===================================================================
> --- gcc/config/sh/sh.h ?(revision 171745)
> +++ gcc/config/sh/sh.h ?(working copy)
> @@ -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.
>
> ?#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. ?*/
> Index: gcc/config/sh/netbsd-elf.h
> ===================================================================
> --- gcc/config/sh/netbsd-elf.h ?(revision 171745)
> +++ gcc/config/sh/netbsd-elf.h ?(working copy)
> @@ -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.
> ?<http://www.gnu.org/licenses/>. ?*/
>
> ?/* 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. ?*/
>
> Index: gcc/config/sh/vxworks.h
> ===================================================================
> --- gcc/config/sh/vxworks.h ? ? (revision 171745)
> +++ gcc/config/sh/vxworks.h ? ? (working copy)
> @@ -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.
> ?#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
>
> Index: gcc/config/sh/sh64.h
> ===================================================================
> --- gcc/config/sh/sh64.h ? ? ? ?(revision 171745)
> +++ gcc/config/sh/sh64.h ? ? ? ?(working copy)
> @@ -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 <aoliva@redhat.com>
>
> ?This file is part of GCC.
> @@ -18,9 +19,5 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef TARGET_VERSION
> -#define TARGET_VERSION \
> - ?fputs (" (SuperH SH)", stderr);
> -
> ?#undef SH_ELF_WCHAR_TYPE
> ?#define SH_ELF_WCHAR_TYPE "int"
> Index: gcc/config/pdp11/pdp11.h
> ===================================================================
> --- gcc/config/pdp11/pdp11.h ? ?(revision 171745)
> +++ gcc/config/pdp11/pdp11.h ? ?(working copy)
> @@ -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.
> ? ? } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> ? while (0)
>
> -/* Print subsidiary information on the compiler version in use. ?*/
> -#define TARGET_VERSION fprintf (stderr, " (pdp11)");
> -
>
> ?/* Generate DBX debugging information. ?*/
>
> Index: gcc/config/microblaze/microblaze.h
> ===================================================================
> --- gcc/config/microblaze/microblaze.h ?(revision 171745)
> +++ gcc/config/microblaze/microblaze.h ?(working copy)
> @@ -102,22 +102,6 @@ extern enum pipeline_type microblaze_pip
> ? { "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. ? */
>
> Index: gcc/config/avr/avr.h
> ===================================================================
> --- gcc/config/avr/avr.h ? ? ? ?(revision 171745)
> +++ gcc/config/avr/avr.h ? ? ? ?(working copy)
> @@ -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
> Index: gcc/config/xtensa/linux.h
> ===================================================================
> --- gcc/config/xtensa/linux.h ? (revision 171745)
> +++ gcc/config/xtensa/linux.h ? (working copy)
> @@ -24,9 +24,6 @@ along with GCC; see the file COPYING3.
> ?#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"
>
> Index: gcc/config/xtensa/elf.h
> ===================================================================
> --- gcc/config/xtensa/elf.h ? ? (revision 171745)
> +++ gcc/config/xtensa/elf.h ? ? (working copy)
> @@ -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.
> ?#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"
>
> Index: gcc/config/stormy16/stormy16.h
> ===================================================================
> --- gcc/config/stormy16/stormy16.h ? ? ?(revision 171745)
> +++ gcc/config/stormy16/stormy16.h ? ? ?(working copy)
> @@ -55,8 +55,6 @@
> ? ? ? builtin_assert ("cpu=xstormy16"); ? ? ? ? ? ? ? ?\
> ? ? } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> ? while (0)
> -
> -#define TARGET_VERSION fprintf (stderr, " (xstormy16 cpu core)");
>
> ?/* Storage Layout. ?*/
>
> Index: gcc/config/fr30/fr30.h
> ===================================================================
> --- gcc/config/fr30/fr30.h ? ? ?(revision 171745)
> +++ gcc/config/fr30/fr30.h ? ? ?(working copy)
> @@ -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.
> ? ? } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> ? ?while (0)
>
> -#define TARGET_VERSION fprintf (stderr, " (fr30)");
> -
> ?#undef ?STARTFILE_SPEC
> ?#define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s"
>
> Index: gcc/config/lm32/uclinux-elf.h
> ===================================================================
> --- gcc/config/lm32/uclinux-elf.h ? ? ? (revision 171745)
> +++ gcc/config/lm32/uclinux-elf.h ? ? ? (working copy)
> @@ -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
> Index: gcc/config/lm32/lm32.h
> ===================================================================
> --- gcc/config/lm32/lm32.h ? ? ?(revision 171745)
> +++ gcc/config/lm32/lm32.h ? ? ?(working copy)
> @@ -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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> Index: gcc/config/iq2000/iq2000.h
> ===================================================================
> --- gcc/config/iq2000/iq2000.h ?(revision 171745)
> +++ gcc/config/iq2000/iq2000.h ?(working copy)
> @@ -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. ?*/
>
> Index: gcc/config/mn10300/mn10300.h
> ===================================================================
> --- gcc/config/mn10300/mn10300.h ? ? ? ?(revision 171745)
> +++ gcc/config/mn10300/mn10300.h ? ? ? ?(working copy)
> @@ -71,10 +71,6 @@ extern enum processor_type mn10300_tune_
> ?#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 */
>
> Index: gcc/config/mn10300/linux.h
> ===================================================================
> --- gcc/config/mn10300/linux.h ?(revision 171745)
> +++ gcc/config/mn10300/linux.h ?(working copy)
> @@ -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 <aoliva@redhat.com>
>
> ? ?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;
> Index: gcc/config/ia64/linux.h
> ===================================================================
> --- gcc/config/ia64/linux.h ? ? (revision 171745)
> +++ gcc/config/ia64/linux.h ? ? (working copy)
> @@ -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 Except
> ?see the files COPYING3 and COPYING.RUNTIME respectively. ?If not, see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -/* 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*}"
> Index: gcc/config/ia64/vms.h
> ===================================================================
> --- gcc/config/ia64/vms.h ? ? ? (revision 171745)
> +++ gcc/config/ia64/vms.h ? ? ? (working copy)
> @@ -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.
> ?#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)
> Index: gcc/config/ia64/elf.h
> ===================================================================
> --- gcc/config/ia64/elf.h ? ? ? (revision 171745)
> +++ gcc/config/ia64/elf.h ? ? ? (working copy)
> @@ -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 Except
> ?see the files COPYING3 and COPYING.RUNTIME respectively. ?If not, see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -/* 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. ?*/
> Index: gcc/config/ia64/freebsd.h
> ===================================================================
> --- gcc/config/ia64/freebsd.h ? (revision 171745)
> +++ gcc/config/ia64/freebsd.h ? (working copy)
> @@ -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 <obrien@FreeBSD.org> and BSDi.
>
> ?This file is part of GCC.
> @@ -47,9 +47,6 @@ along with GCC; see the file COPYING3.
> ?#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
> Index: gcc/config/ia64/hpux.h
> ===================================================================
> --- gcc/config/ia64/hpux.h ? ? ?(revision 171745)
> +++ gcc/config/ia64/hpux.h ? ? ?(working copy)
> @@ -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 <sje@cup.hp.com> and
> ? ? ? ? ? ? ? ? ? Reva Cuthbertson <reva@cup.hp.com>
>
> @@ -20,11 +20,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -/* 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
> Index: gcc/config/m68k/linux.h
> ===================================================================
> --- gcc/config/m68k/linux.h ? ? (revision 171745)
> +++ gcc/config/m68k/linux.h ? ? (working copy)
> @@ -19,9 +19,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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)"
> Index: gcc/config/m68k/netbsd-elf.h
> ===================================================================
> --- gcc/config/m68k/netbsd-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/m68k/netbsd-elf.h ? ? ? ?(working copy)
> @@ -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.
> ? { "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. ?*/
> Index: gcc/config/m68k/m68k.h
> ===================================================================
> --- gcc/config/m68k/m68k.h ? ? ?(revision 171745)
> +++ gcc/config/m68k/m68k.h ? ? ?(working copy)
> @@ -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.
> ? ?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. ?*/
> Index: gcc/config/m68k/uclinux.h
> ===================================================================
> --- gcc/config/m68k/uclinux.h ? (revision 171745)
> +++ gcc/config/m68k/uclinux.h ? (working copy)
> @@ -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 G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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} \
> Index: gcc/config/rs6000/linux.h
> ===================================================================
> --- gcc/config/rs6000/linux.h ? (revision 171745)
> +++ gcc/config/rs6000/linux.h ? (working copy)
> @@ -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"
> Index: gcc/config/rs6000/linuxspe.h
> ===================================================================
> --- gcc/config/rs6000/linuxspe.h ? ? ? ?(revision 171745)
> +++ gcc/config/rs6000/linuxspe.h ? ? ? ?(working copy)
> @@ -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
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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)
> Index: gcc/config/rs6000/eabialtivec.h
> ===================================================================
> --- gcc/config/rs6000/eabialtivec.h ? ? (revision 171745)
> +++ gcc/config/rs6000/eabialtivec.h ? ? (working copy)
> @@ -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
> Index: gcc/config/rs6000/eabisim.h
> ===================================================================
> --- gcc/config/rs6000/eabisim.h (revision 171745)
> +++ gcc/config/rs6000/eabisim.h (working copy)
> @@ -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
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -#undef ?TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (PowerPC Simulated)");
> -
> ?#undef ?TARGET_OS_CPP_BUILTINS
> ?#define TARGET_OS_CPP_BUILTINS() ? ? ? ? ? \
> ? do ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> Index: gcc/config/rs6000/vxworksae.h
> ===================================================================
> --- gcc/config/rs6000/vxworksae.h ? ? ? (revision 171745)
> +++ gcc/config/rs6000/vxworksae.h ? ? ? (working copy)
> @@ -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
> -<http://www.gnu.org/licenses/>. ?*/
> -
> -#undef TARGET_VERSION
> -#define TARGET_VERSION fprintf (stderr, " (PowerPC VxWorks AE)");
> -
> Index: gcc/config/rs6000/lynx.h
> ===================================================================
> --- gcc/config/rs6000/lynx.h ? ?(revision 171745)
> +++ gcc/config/rs6000/lynx.h ? ?(working copy)
> @@ -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
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -/* 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. ?*/
>
> Index: gcc/config/rs6000/netbsd.h
> ===================================================================
> --- gcc/config/rs6000/netbsd.h ?(revision 171745)
> +++ gcc/config/rs6000/netbsd.h ?(working copy)
> @@ -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)
> Index: gcc/config/rs6000/aix.h
> ===================================================================
> --- gcc/config/rs6000/aix.h ? ? (revision 171745)
> +++ gcc/config/rs6000/aix.h ? ? (working copy)
> @@ -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
> Index: gcc/config/rs6000/eabi.h
> ===================================================================
> --- gcc/config/rs6000/eabi.h ? ?(revision 171745)
> +++ gcc/config/rs6000/eabi.h ? ?(working copy)
> @@ -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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> Index: gcc/config/rs6000/darwin64.h
> ===================================================================
> --- gcc/config/rs6000/darwin64.h ? ? ? ?(revision 171745)
> +++ gcc/config/rs6000/darwin64.h ? ? ? ?(working copy)
> @@ -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
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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)
> Index: gcc/config/rs6000/linuxaltivec.h
> ===================================================================
> --- gcc/config/rs6000/linuxaltivec.h ? ?(revision 171745)
> +++ gcc/config/rs6000/linuxaltivec.h ? ?(working copy)
> @@ -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
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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)
> Index: gcc/config/rs6000/linux64.h
> ===================================================================
> --- gcc/config/rs6000/linux64.h (revision 171745)
> +++ gcc/config/rs6000/linux64.h (working copy)
> @@ -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")
> Index: gcc/config/rs6000/darwin.h
> ===================================================================
> --- gcc/config/rs6000/darwin.h ?(revision 171745)
> +++ gcc/config/rs6000/darwin.h ?(working copy)
> @@ -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
> Index: gcc/config/rs6000/eabispe.h
> ===================================================================
> --- gcc/config/rs6000/eabispe.h (revision 171745)
> +++ gcc/config/rs6000/eabispe.h (working copy)
> @@ -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) \
> Index: gcc/config/rs6000/freebsd.h
> ===================================================================
> --- gcc/config/rs6000/freebsd.h (revision 171745)
> +++ gcc/config/rs6000/freebsd.h (working copy)
> @@ -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"
> Index: gcc/config/rs6000/vxworks.h
> ===================================================================
> --- gcc/config/rs6000/vxworks.h (revision 171745)
> +++ gcc/config/rs6000/vxworks.h (working copy)
> @@ -24,9 +24,6 @@ along with GCC; see the file COPYING3.
> ? ?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
> Index: gcc/config/rs6000/sysv4.h
> ===================================================================
> --- gcc/config/rs6000/sysv4.h ? (revision 171745)
> +++ gcc/config/rs6000/sysv4.h ? (working copy)
> @@ -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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> Index: gcc/config/picochip/picochip.h
> ===================================================================
> --- gcc/config/picochip/picochip.h ? ? ?(revision 171745)
> +++ gcc/config/picochip/picochip.h ? ? ?(working copy)
> @@ -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_s
> ?#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 */
>
> Index: gcc/config/mcore/mcore-elf.h
> ===================================================================
> --- gcc/config/mcore/mcore-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/mcore/mcore-elf.h ? ? ? ?(working copy)
> @@ -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.
> ?#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
>
> Index: gcc/config/score/score.h
> ===================================================================
> --- gcc/config/score/score.h ? ?(revision 171745)
> +++ gcc/config/score/score.h ? ?(working copy)
> @@ -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)
> Index: gcc/config/arm/uclinux-elf.h
> ===================================================================
> --- gcc/config/arm/uclinux-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/arm/uclinux-elf.h ? ? ? ?(working copy)
> @@ -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 <pb@nexus.co.uk>
>
> @@ -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)
>
> Index: gcc/config/arm/semi.h
> ===================================================================
> --- gcc/config/arm/semi.h ? ? ? (revision 171745)
> +++ gcc/config/arm/semi.h ? ? ? (working copy)
> @@ -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
> Index: gcc/config/arm/ecos-elf.h
> ===================================================================
> --- gcc/config/arm/ecos-elf.h ? (revision 171745)
> +++ gcc/config/arm/ecos-elf.h ? (working copy)
> @@ -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 @@
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> ?/* Run-time Target Specification. ?*/
> -#undef ?TARGET_VERSION
> -#define TARGET_VERSION fputs (" (ARM/ELF Ecos)", stderr);
> -
> ?#define HAS_INIT_SECTION
>
> ?#undef INVOKE_main
> Index: gcc/config/arm/linux-elf.h
> ===================================================================
> --- gcc/config/arm/linux-elf.h ?(revision 171745)
> +++ gcc/config/arm/linux-elf.h ?(working copy)
> @@ -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
>
> Index: gcc/config/arm/elf.h
> ===================================================================
> --- gcc/config/arm/elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/arm/elf.h ? ? ? ?(working copy)
> @@ -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
> Index: gcc/config/arm/coff.h
> ===================================================================
> --- gcc/config/arm/coff.h ? ? ? (revision 171745)
> +++ gcc/config/arm/coff.h ? ? ? (working copy)
> @@ -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
>
> Index: gcc/config/arm/arm.h
> ===================================================================
> --- gcc/config/arm/arm.h ? ? ? ?(revision 171745)
> +++ gcc/config/arm/arm.h ? ? ? ?(working copy)
> @@ -205,10 +205,6 @@ extern void (*arm_lang_output_object_att
> ?#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)
> Index: gcc/config/arm/rtems-elf.h
> ===================================================================
> --- gcc/config/arm/rtems-elf.h ?(revision 171745)
> +++ gcc/config/arm/rtems-elf.h ?(working copy)
> @@ -19,8 +19,6 @@
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> ?/* Run-time Target Specification. ?*/
> -#undef TARGET_VERSION
> -#define TARGET_VERSION ?fputs (" (ARM/ELF RTEMS)", stderr);
>
> ?#define HAS_INIT_SECTION
>
> Index: gcc/config/arm/unknown-elf.h
> ===================================================================
> --- gcc/config/arm/unknown-elf.h ? ? ? ?(revision 171745)
> +++ gcc/config/arm/unknown-elf.h ? ? ? ?(working copy)
> @@ -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 <clm@cygnus.com>
>
> ? ?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
> Index: gcc/config/arm/pe.h
> ===================================================================
> --- gcc/config/arm/pe.h (revision 171745)
> +++ gcc/config/arm/pe.h (working copy)
> @@ -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. ?*/
> Index: gcc/config/arm/freebsd.h
> ===================================================================
> --- gcc/config/arm/freebsd.h ? ?(revision 171745)
> +++ gcc/config/arm/freebsd.h ? ?(working copy)
> @@ -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 <obrien@FreeBSD.org> 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)");
> Index: gcc/config/arm/netbsd-elf.h
> ===================================================================
> --- gcc/config/arm/netbsd-elf.h (revision 171745)
> +++ gcc/config/arm/netbsd-elf.h (working copy)
> @@ -20,8 +20,6 @@
> ? ?<http://www.gnu.org/licenses/>. ?*/
>
> ?/* Run-time Target Specification. ?*/
> -#undef TARGET_VERSION
> -#define TARGET_VERSION fputs (" (NetBSD/arm ELF)", stderr);
>
> ?/* arm.h defaults to ARM6 CPU. ?*/
>
> Index: gcc/config/arm/vxworks.h
> ===================================================================
> --- gcc/config/arm/vxworks.h ? ?(revision 171745)
> +++ gcc/config/arm/vxworks.h ? ?(working copy)
> @@ -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 <mrs@wrs.com>
> @@ -85,9 +85,6 @@ along with GCC; see the file COPYING3.
> ?#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
>
> Index: gcc/config/pa/pa.h
> ===================================================================
> --- gcc/config/pa/pa.h ?(revision 171745)
> +++ gcc/config/pa/pa.h ?(working copy)
> @@ -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. ?*/
> Index: gcc/config/mips/linux.h
> ===================================================================
> --- gcc/config/mips/linux.h ? ? (revision 171745)
> +++ gcc/config/mips/linux.h ? ? (working copy)
> @@ -27,13 +27,6 @@ along with GCC; see the file COPYING3.
> ?#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
> Index: gcc/config/mips/iris6.h
> ===================================================================
> --- gcc/config/mips/iris6.h ? ? (revision 171745)
> +++ gcc/config/mips/iris6.h ? ? (working copy)
> @@ -23,9 +23,6 @@ along with GCC; see the file COPYING3.
> ?#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" }
> Index: gcc/config/mips/netbsd.h
> ===================================================================
> --- gcc/config/mips/netbsd.h ? ?(revision 171745)
> +++ gcc/config/mips/netbsd.h ? ?(working copy)
> @@ -21,13 +21,6 @@ along with GCC; see the file COPYING3.
>
> ?/* 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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \
> ? ? { ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\
> Index: gcc/config/mips/vxworks.h
> ===================================================================
> --- gcc/config/mips/vxworks.h ? (revision 171745)
> +++ gcc/config/mips/vxworks.h ? (working copy)
> @@ -17,9 +17,6 @@ You should have received a copy of the G
> ?along with GCC; see the file COPYING3. ?If not see
> ?<http://www.gnu.org/licenses/>. ?*/
>
> -#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} \
> Index: gcc/config/vax/vax.h
> ===================================================================
> --- gcc/config/vax/vax.h ? ? ? ?(revision 171745)
> +++ gcc/config/vax/vax.h ? ? ? ?(working copy)
> @@ -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.
> ? %{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. ?*/
> Index: gcc/config/vax/linux.h
> ===================================================================
> --- gcc/config/vax/linux.h ? ? ?(revision 171745)
> +++ gcc/config/vax/linux.h ? ? ?(working copy)
> @@ -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.
> ?<http://www.gnu.org/licenses/>. ?*/
>
>
> -#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. ?*/
> Index: gcc/config/v850/v850.h
> ===================================================================
> --- gcc/config/v850/v850.h ? ? ?(revision 171745)
> +++ gcc/config/v850/v850.h ? ? ?(working copy)
> @@ -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)
> Index: gcc/config/h8300/h8300.h
> ===================================================================
> --- gcc/config/h8300/h8300.h ? ?(revision 171745)
> +++ gcc/config/h8300/h8300.h ? ?(working copy)
> @@ -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. ?*/
> Index: gcc/config/mmix/mmix.h
> ===================================================================
> --- gcc/config/mmix/mmix.h ? ? ?(revision 171745)
> +++ gcc/config/mmix/mmix.h ? ? ?(working copy)
> @@ -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 ()
> Index: gcc/config/bfin/bfin.h
> ===================================================================
> --- gcc/config/bfin/bfin.h ? ? ?(revision 171745)
> +++ gcc/config/bfin/bfin.h ? ? ?(working copy)
> @@ -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() ? ? ? ? ? ? ?\
> Index: gcc/collect2.c
> ===================================================================
> --- gcc/collect2.c ? ? ?(revision 171745)
> +++ gcc/collect2.c ? ? ?(working copy)
> @@ -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)
> ? ? {
>
> --
> Joseph S. Myers
> joseph@codesourcery.com
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]