4.7 deprecated targets removal patch

Joseph S. Myers joseph@codesourcery.com
Fri Mar 18 11:12:00 GMT 2011


This patch (diffed with --no-diff-deleted) removes from trunk all the
targets deprecated in 4.6, except for Interix and SCORE.  Where relics
of previously removed targets were noticed in the process, those were
also removed.  Support for the deprecated canonical alias
i[34567]86-*-pe was also removed from config.build and config.host.

In general this patch should be straightforward, except maybe for the
toplevel changes where use of the src tree could also be affected.  I
removed mention of GCC libraries for removed targets in the toplevel
configure.ac, leaving other noconfigdirs settings for those targets
(and empty stanzas in some cases, since there are plenty of other
examples of those there).  In config-ml.in I removed the arc-*-elf*
handling (which corresponded to configure option documentation being
removed from install.texi); all the special handling of particular
targets and configure options for them there seems ill-conceived,
since the right way to configure multilibs is for the relevant
configure options to affect the MULTILIB_* settings used when building
GCC, not for config-ml.in to have ad hoc code looking at configure
options.

I didn't touch references to arm-pe targets in
config/arm/README-interworking; I'm not sure if anything in that file
is still useful at all.

Bootstrapped with no regressions on x86_64-unknown-linux-gnu.  OK to
commit?

2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* MAINTAINERS (crx port, m68hc11 port): Remove.  Move maintainers
	to Write After Approval.
	* config-ml.in: Don't handle arc-*-elf*.
	* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
	handle GCC libraries.
	* configure: Regenerate.

contrib:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* compare-all-tests (all_targets): Remove crx and m68hc11.

fixincludes:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.

gcc:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* config/alpha/gnu.h: Remove.
	* config/arc: Remove directory.
	* config/arm/netbsd.h: Remove.
	* config/arm/t-pe: Remove.
	* config/crx: Remove directory.
	* config/i386/netbsd.h: Remove.
	* config/m68hc11: Remove directory.
	* config/m68k/uclinux-oldabi.h: Remove.
	* config/mcore/mcore-pe.h: Remove.
	* config/mcore/t-mcore-pe: Remove.
	* config/netbsd-aout.h: Remove.
	* config/rs6000/gnu.h: Remove.
	* config/sh/sh-symbian.h: Remove.
	* config/sh/symbian-base.c: Remove.
	* config/sh/symbian-c.c: Remove.
	* config/sh/symbian-cxx.c: Remove.
	* config/sh/symbian-post.h: Remove.
	* config/sh/symbian-pre.h: Remove.
	* config/sh/t-symbian: Remove.
	* config/svr3.h: Remove.
	* config/vax/netbsd.h: Remove.
	* config.build: Don't handle i[34567]86-*-pe.
	* config.gcc: Remove handling of deprecations for most deprecated
	targets.
	(m68k-*-uclinuxoldabi*): Add to second deprecated list.
	(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
	i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
	m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
	Remove cases.
	* config.host: Don't handle i[34567]86-*-pe.
	* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
	(ASM_SPEC32): Don't handle -mcall-gnu.
	* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
	-mcall-gnu.
	(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
	STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
	(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
	LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
	(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
	* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
	conditional on SYMBIAN.
	* configure.ac: Don't handle powerpc*-*-gnu*.
	* configure: Regenerate.
	* doc/extend.texi (interrupt attribute): Don't mention CRX.
	* doc/install-old.texi (m6811, m6812): Don't mention.
	* doc/install.texi (arc-*-elf*): Don't document multilib option.
	(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
	(m68k-uclinuxoldabi): Don't mention.
	* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
	Remove.
	(-mcall-gnu): Remove.
	* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
	families): Remove constraint documentation.

gcc/testsuite:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* gcc.c-torture/execute/920501-8.x: Remove.
	* gcc.c-torture/execute/930513-1.x: Remove.
	* gcc.c-torture/execute/960312-1.x: Remove.
	* gcc.c-torture/compile/20000804-1.c,
	gcc.c-torture/compile/20001205-1.c,
	gcc.c-torture/compile/20001226-1.c,
	gcc.c-torture/compile/20010518-2.c,
	gcc.c-torture/compile/20020312-1.c,
	gcc.c-torture/compile/20020604-1.c,
	gcc.c-torture/compile/920501-12.c,
	gcc.c-torture/compile/920501-4.c,
	gcc.c-torture/compile/920520-1.c,
	gcc.c-torture/compile/980506-1.c,
	gcc.c-torture/execute/980709-1.x,
	gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
	options for m68hc11.
	* gcc.dg/cpp/assert4.c: Don't handle ARC.
	* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
	m68hc11.

libgcc:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
	arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
	m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
	Remove cases.

libstdc++-v3:
2011-03-17  Joseph Myers  <joseph@codesourcery.com>

	* configure.ac: Don't handle powerpc*-*-gnu*.
	* configure: Regenerate.

Index: config-ml.in
===================================================================
--- config-ml.in	(revision 171107)
+++ config-ml.in	(working copy)
@@ -2,7 +2,7 @@
 # wanting multilib support.
 #
 # Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2010  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 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
@@ -224,19 +224,6 @@ done
 # $host here, not $target.
 
 case "${host}" in
-arc-*-elf*)
-	if [ x$enable_biendian != xyes ]
-	then
-	  old_multidirs=${multidirs}
-	  multidirs=""
-	  for x in ${old_multidirs}; do
-	    case "${x}" in
-	      *be*) : ;;
-	      *) multidirs="${multidirs} ${x}" ;;
-	    esac
-	  done
-	fi
-	;;
 arm-*-*)
 	if [ x"$enable_fpu" = xno ]
 	then
Index: libstdc++-v3/configure
===================================================================
--- libstdc++-v3/configure	(revision 171107)
+++ libstdc++-v3/configure	(working copy)
@@ -64486,7 +64486,6 @@ $as_echo "$as_me: visibility supported:
 ac_ldbl_compat=no
 case "$target" in
   powerpc*-*-linux* | \
-  powerpc*-*-gnu* | \
   sparc*-*-linux* | \
   s390*-*-linux* | \
   alpha*-*-linux*)
Index: libstdc++-v3/configure.ac
===================================================================
--- libstdc++-v3/configure.ac	(revision 171107)
+++ libstdc++-v3/configure.ac	(working copy)
@@ -308,7 +308,6 @@ GLIBCXX_ENABLE_VISIBILITY([yes])
 ac_ldbl_compat=no
 case "$target" in
   powerpc*-*-linux* | \
-  powerpc*-*-gnu* | \
   sparc*-*-linux* | \
   s390*-*-linux* | \
   alpha*-*-linux*)
Index: configure.ac
===================================================================
--- configure.ac	(revision 171107)
+++ configure.ac	(working copy)
@@ -670,7 +670,7 @@ case "${target}" in
     libgloss_dir=wince
     ;;
   arc-*-*)
-    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   arm-semi-aof )
     ;;
@@ -744,7 +744,6 @@ case "${target}" in
     libgloss_dir=cris
     ;;
   crx-*-*)
-    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
     ;;
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
@@ -862,7 +861,7 @@ case "${target}" in
   i[[3456789]]86-*-uwin* | i[[3456789]]86-*-interix* )
     ;;
   i[[3456789]]86-*-pe)
-    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   i[[3456789]]86-*-sco3.2v5*)
     # The linker does not yet know about weak symbols in COFF,
@@ -888,7 +887,7 @@ case "${target}" in
     noconfigdirs="$noconfigdirs ${libgcj}"
     ;;
   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
-    noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libiberty"
     libgloss_dir=m68hc11
     ;;
   m68k-*-elf*)
@@ -901,9 +900,6 @@ case "${target}" in
     libgloss_dir=m68k
     ;;
   mcore-*-pe*)
-  # The EPOC C++ environment does not support exceptions or rtti,
-  # and so building libstdc++-v3 tends not to always work.
-    noconfigdirs="$noconfigdirs target-libstdc++-v3"
     ;;
   mmix-*-*)
     noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
Index: contrib/compare-all-tests
===================================================================
--- contrib/compare-all-tests	(revision 171107)
+++ contrib/compare-all-tests	(working copy)
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 # Compare the assembly language output for all the gcc tests.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2011 Free Software Foundation, Inc.
 # Contributed by Paolo Bonzini.
 #
 # Invoke it as "bash compare-all-tests target1 target2 ... targetN".
@@ -36,7 +36,7 @@ sh64_opts='-m5-32media -m5-32media-nofpu
 sh_opts='-m3 -m3e -m4 -m4a -m4al -m4/-mieee -m1 -m1/-mno-cbranchdi -m2a -m2a/-mieee -m2e -m2e/-mieee'
 sparc_opts='-mcpu=v8/-m32 -mcpu=v9/-m32 -m64'
 
-all_targets='alpha arm avr bfin cris crx fr30 frv h8300 ia64 iq2000 m32c m32r m68hc11 m68k mcore mips mmix mn10300 pa pdp11 picochip ppc score sh sh64 sparc spu v850 vax xstormy16 xtensa' # e500 
+all_targets='alpha arm avr bfin cris fr30 frv h8300 ia64 iq2000 m32c m32r m68k mcore mips mmix mn10300 pa pdp11 picochip ppc score sh sh64 sparc spu v850 vax xstormy16 xtensa' # e500 
 
 test_one_file ()
 {
Index: MAINTAINERS
===================================================================
--- MAINTAINERS	(revision 171107)
+++ MAINTAINERS	(working copy)
@@ -51,7 +51,6 @@ avr port		Eric Weddington		eric.weddingt
 bfin port		Bernd Schmidt		bernds@codesourcery.com
 bfin port		Jie Zhang		jie@codesourcery.com
 cris port		Hans-Peter Nilsson	hp@axis.com
-crx port		Pompapathi V Gadad 	Pompapathi.V.Gadad@nsc.com
 fr30 port		Nick Clifton		nickc@redhat.com
 frv port		Nick Clifton		nickc@redhat.com
 frv port		Alexandre Oliva		aoliva@redhat.com
@@ -68,7 +67,6 @@ iq2000 port		Nick Clifton		nickc@redhat.
 lm32 port		Sebastien Bourdeauducq	sebastien@milkymist.org
 m32c port		DJ Delorie		dj@redhat.com
 m32r port		Nick Clifton		nickc@redhat.com
-m68hc11 port		Stephane Carrez		stcarrez@nerim.fr
 m68k port (?)		Jeff Law		law@redhat.com
 m68k port		Andreas Schwab		schwab@linux-m68k.org
 m68k-motorola-sysv port	Philippe De Muyter	phdm@macqel.be
@@ -326,6 +324,7 @@ Julian Brown					julian@codesourcery.com
 Christian Bruel					christian.bruel@st.com
 Kevin Buettner					kevinb@redhat.com
 Andrew Cagney					cagney@redhat.com
+Stephane Carrez					stcarrez@nerim.fr
 Chandra Chavva					cchavva@redhat.com
 Fabien Chêne					fabien@gcc.gnu.org
 William Cohen					wcohen@redhat.com
@@ -357,6 +356,7 @@ John Freeman					jfreeman08@gmail.com
 Nathan Froyd					froydnj@codesourcery.com
 Chao-ying Fu					fu@mips.com
 Gary Funck					gary@intrepid.com
+Pompapathi V Gadad 				Pompapathi.V.Gadad@nsc.com
 Kaveh Ghazi					ghazi@gcc.gnu.org
 Matthew Gingell					gingell@gnat.com
 Tristan Gingold					gingold@adacore.com
Index: configure
===================================================================
--- configure	(revision 171107)
+++ configure	(working copy)
@@ -3224,7 +3224,7 @@ case "${target}" in
     libgloss_dir=wince
     ;;
   arc-*-*)
-    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   arm-semi-aof )
     ;;
@@ -3298,7 +3298,6 @@ case "${target}" in
     libgloss_dir=cris
     ;;
   crx-*-*)
-    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
     ;;
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
@@ -3416,7 +3415,7 @@ case "${target}" in
   i[3456789]86-*-uwin* | i[3456789]86-*-interix* )
     ;;
   i[3456789]86-*-pe)
-    noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   i[3456789]86-*-sco3.2v5*)
     # The linker does not yet know about weak symbols in COFF,
@@ -3442,7 +3441,7 @@ case "${target}" in
     noconfigdirs="$noconfigdirs ${libgcj}"
     ;;
   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
-    noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+    noconfigdirs="$noconfigdirs target-libiberty"
     libgloss_dir=m68hc11
     ;;
   m68k-*-elf*)
@@ -3455,9 +3454,6 @@ case "${target}" in
     libgloss_dir=m68k
     ;;
   mcore-*-pe*)
-  # The EPOC C++ environment does not support exceptions or rtti,
-  # and so building libstdc++-v3 tends not to always work.
-    noconfigdirs="$noconfigdirs target-libstdc++-v3"
     ;;
   mmix-*-*)
     noconfigdirs="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
Index: libgcc/config.host
===================================================================
--- libgcc/config.host	(revision 171107)
+++ libgcc/config.host	(working copy)
@@ -182,7 +182,7 @@ case ${host} in
 	then tmake_file=${cpu_type}/t-$rest
 	fi
 	;;
-alpha*-*-linux* | alpha*-*-gnu*)
+alpha*-*-linux*)
 	tmake_file="${tmake_file} alpha/t-crtfm"
 	extra_parts="$extra_parts crtfastmath.o"
 	;;
@@ -200,16 +200,12 @@ alpha64-dec-*vms*)
 alpha*-dec-*vms*)
 	tmake_file="vms/t-vms alpha/t-vms"
 	;;
-arc-*-elf*)
-	;;
 arm-wrs-vxworks)
 	;;
 arm*-*-freebsd*)
 	;;
 arm*-*-netbsdelf*)
 	;;
-arm*-*-netbsd*)
-	;;
 arm*-*-linux*)			# ARM GNU/Linux with ELF
 	;;
 arm*-*-uclinux*)		# ARM ucLinux
@@ -224,8 +220,6 @@ arm*-*-elf)
 	;;
 arm*-wince-pe*)
 	;;
-arm-*-pe*)
-	;;
 avr-*-rtems*)
 	;;
 avr-*-*)
@@ -248,8 +242,6 @@ crisv32-*-elf | crisv32-*-none | cris-*-
 	;;
 cris-*-linux* | crisv32-*-linux*)
 	;;
-crx-*-elf)
-	;;
 fido-*-elf)
 	;;
 fr30-*-elf)
@@ -289,8 +281,6 @@ x86_64-*-freebsd*)
 	;;
 i[34567]86-*-netbsdelf*)
 	;;
-i[34567]86-*-netbsd*)
-	;;
 x86_64-*-netbsd*)
 	;;
 i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
@@ -335,8 +325,6 @@ i[34567]86-*-solaris2*)
 	;;
 i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
 	;;
-i[34567]86-*-pe)
-	;;
 i[34567]86-*-cygwin* | i[34567]86-*-mingw*)
 	extra_parts="crtbegin.o crtend.o crtfastmath.o"
 	tmake_file="i386/t-cygming i386/t-crtfm"
@@ -380,10 +368,6 @@ m32r-*-linux*)
  	;;
 m32rle-*-linux*)
 	;;
-m68hc11-*-*|m6811-*-*)
-        ;;
-m68hc12-*-*|m6812-*-*)
-        ;;
 m68k-*-elf*)
 	;;
 m68k*-*-netbsdelf*)
@@ -400,8 +384,6 @@ m68k-*-rtems*)
 	;;
 mcore-*-elf)
 	;;
-mcore-*-pe*)
-	;;
 microblaze*-*-*)
         tmake_file="microblaze/t-microblaze"
 	;;
@@ -487,15 +469,6 @@ powerpc-*-rtems*)
 powerpc-*-linux* | powerpc64-*-linux*)
 	tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-ldbl128 t-softfp"
 	;;
-powerpc64-*-gnu*)
-	tmake_file="${tmake_file} rs6000/t-ldbl128 t-softfp"
-	;;
-powerpc-*-gnu-gnualtivec*)
-	tmake_file="${tmake_file} rs6000/t-ldbl128"
-	;;
-powerpc-*-gnu*)
-	tmake_file="${tmake_file} rs6000/t-ldbl128"
-	;;
 powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
 	;;
 powerpc-*-lynxos*)
@@ -528,7 +501,6 @@ s390x-ibm-tpf*)
 score-*-elf)
         ;;
 sh-*-elf* | sh[12346l]*-*-elf* | \
-sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
   sh-*-linux* | sh[2346lbe]*-*-linux* | \
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
    sh64-*-netbsd* | sh64l*-*-netbsd*)
@@ -582,8 +554,6 @@ vax-*-linux*)
 	;;
 vax-*-netbsdelf*)
 	;;
-vax-*-netbsd*)
-	;;
 vax-*-openbsd*)
 	;;
 xstormy16-*-elf)
Index: gcc/doc/install-old.texi
===================================================================
--- gcc/doc/install-old.texi	(revision 171107)
+++ gcc/doc/install-old.texi	(working copy)
@@ -1,4 +1,5 @@
-@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+@c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
+@c 1999, 2000, 2001, 2002, 2003, 2011 Free Software Foundation, Inc.
 @c This is part of the GCC manual.
 @c For copying conditions, see the file install.texi.
 
@@ -102,7 +103,7 @@ Here are the possible CPU types:
 @c gmicro, fx80, spur and tahoe omitted since they don't work.
 1750a, a29k, alpha, arm, avr, c@var{n}, clipper, dsp16xx, elxsi, fr30, h8300,
 hppa1.0, hppa1.1, i370, i386, i486, i586, i686, i786, i860, i960, ip2k, m32r,
-m68000, m68k, m6811, m6812, m88k, mcore, mips, mipsel, mips64, mips64el,
+m68000, m68k, m88k, mcore, mips, mipsel, mips64, mips64el,
 mn10200, mn10300, ns32k, pdp11, powerpc, powerpcle, romp, rs6000, sh, sparc,
 sparclite, sparc64, v850, vax, we32k.
 @end quotation
Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 171107)
+++ gcc/doc/extend.texi	(working copy)
@@ -2551,7 +2551,7 @@ This attribute is ignored for R8C target
 
 @item interrupt
 @cindex interrupt handler functions
-Use this attribute on the ARM, AVR, CRX, M32C, M32R/D, m68k, MeP, MIPS,
+Use this attribute on the ARM, AVR, M32C, M32R/D, m68k, MeP, MIPS,
 RX and Xstormy16 ports to indicate that the specified function is an
 interrupt handler.  The compiler will generate function entry and exit
 sequences suitable for use in an interrupt handler when this attribute
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 171107)
+++ gcc/doc/invoke.texi	(working copy)
@@ -445,11 +445,6 @@ Objective-C and Objective-C++ Dialects}.
 @c Try and put the significant identifier (CPU or system) first,
 @c so users have a clue at guessing where the ones they want will be.
 
-@emph{ARC Options}
-@gccoptlist{-EB  -EL @gol
--mmangle-cpu  -mcpu=@var{cpu}  -mtext=@var{text-section} @gol
--mdata=@var{data-section}  -mrodata=@var{readonly-data-section}}
-
 @emph{ARM Options}
 @gccoptlist{-mapcs-frame  -mno-apcs-frame @gol
 -mabi=@var{name} @gol
@@ -501,9 +496,6 @@ Objective-C and Objective-C++ Dialects}.
 -melf  -maout  -melinux  -mlinux  -sim  -sim2 @gol
 -mmul-bug-workaround  -mno-mul-bug-workaround}
 
-@emph{CRX Options}
-@gccoptlist{-mmac -mpush-args}
-
 @emph{Darwin Options}
 @gccoptlist{-all_load  -allowable_client  -arch  -arch_errors_fatal @gol
 -arch_only  -bind_at_load  -bundle  -bundle_loader @gol
@@ -668,11 +660,6 @@ Objective-C and Objective-C++ Dialects}.
 -mshared-library-id=n  -mid-shared-library  -mno-id-shared-library @gol
 -mxgot -mno-xgot}
 
-@emph{M68hc1x Options}
-@gccoptlist{-m6811  -m6812  -m68hc11  -m68hc12   -m68hcs12 @gol
--mauto-incdec  -minmax  -mlong-calls  -mshort @gol
--msoft-reg-count=@var{count}}
-
 @emph{MCore Options}
 @gccoptlist{-mhardlit  -mno-hardlit  -mdiv  -mno-div  -mrelax-immediates @gol
 -mno-relax-immediates  -mwide-bitfields  -mno-wide-bitfields @gol
@@ -9962,12 +9949,10 @@ platform.
 @c in Machine Dependent Options
 
 @menu
-* ARC Options::
 * ARM Options::
 * AVR Options::
 * Blackfin Options::
 * CRIS Options::
-* CRX Options::
 * Darwin Options::
 * DEC Alpha Options::
 * DEC Alpha/VMS Options::
@@ -9984,7 +9969,6 @@ platform.
 * M32C Options::
 * M32R/D Options::
 * M680x0 Options::
-* M68hc1x Options::
 * MCore Options::
 * MeP Options::
 * MicroBlaze Options::
@@ -10012,49 +9996,6 @@ platform.
 * zSeries Options::
 @end menu
 
-@node ARC Options
-@subsection ARC Options
-@cindex ARC Options
-
-These options are defined for ARC implementations:
-
-@table @gcctabopt
-@item -EL
-@opindex EL
-Compile code for little endian mode.  This is the default.
-
-@item -EB
-@opindex EB
-Compile code for big endian mode.
-
-@item -mmangle-cpu
-@opindex mmangle-cpu
-Prepend the name of the CPU to all public symbol names.
-In multiple-processor systems, there are many ARC variants with different
-instruction and register set characteristics.  This flag prevents code
-compiled for one CPU to be linked with code compiled for another.
-No facility exists for handling variants that are ``almost identical''.
-This is an all or nothing option.
-
-@item -mcpu=@var{cpu}
-@opindex mcpu
-Compile code for ARC variant @var{cpu}.
-Which variants are supported depend on the configuration.
-All variants support @option{-mcpu=base}, this is the default.
-
-@item -mtext=@var{text-section}
-@itemx -mdata=@var{data-section}
-@itemx -mrodata=@var{readonly-data-section}
-@opindex mtext
-@opindex mdata
-@opindex mrodata
-Put functions, data, and readonly data in @var{text-section},
-@var{data-section}, and @var{readonly-data-section} respectively
-by default.  This can be overridden with the @code{section} attribute.
-@xref{Variable Attributes}.
-
-@end table
-
 @node ARM Options
 @subsection ARM Options
 @cindex ARM options
@@ -10795,24 +10736,6 @@ Like @option{-sim}, but pass linker opti
 0x40000000 and zero-initialized data at 0x80000000.
 @end table
 
-@node CRX Options
-@subsection CRX Options
-@cindex CRX Options
-
-These options are defined specifically for the CRX ports.
-
-@table @gcctabopt
-
-@item -mmac
-@opindex mmac
-Enable the use of multiply-accumulate instructions. Disabled by default.
-
-@item -mpush-args
-@opindex mpush-args
-Push instructions will be used to pass outgoing arguments when functions
-are called. Enabled by default.
-@end table
-
 @node Darwin Options
 @subsection Darwin Options
 @cindex Darwin options
@@ -13685,68 +13608,6 @@ position-independent code.
 
 @end table
 
-@node M68hc1x Options
-@subsection M68hc1x Options
-@cindex M68hc1x options
-
-These are the @samp{-m} options defined for the 68hc11 and 68hc12
-microcontrollers.  The default values for these options depends on
-which style of microcontroller was selected when the compiler was configured;
-the defaults for the most common choices are given below.
-
-@table @gcctabopt
-@item -m6811
-@itemx -m68hc11
-@opindex m6811
-@opindex m68hc11
-Generate output for a 68HC11.  This is the default
-when the compiler is configured for 68HC11-based systems.
-
-@item -m6812
-@itemx -m68hc12
-@opindex m6812
-@opindex m68hc12
-Generate output for a 68HC12.  This is the default
-when the compiler is configured for 68HC12-based systems.
-
-@item -m68S12
-@itemx -m68hcs12
-@opindex m68S12
-@opindex m68hcs12
-Generate output for a 68HCS12.
-
-@item -mauto-incdec
-@opindex mauto-incdec
-Enable the use of 68HC12 pre and post auto-increment and auto-decrement
-addressing modes.
-
-@item -minmax
-@itemx -mnominmax
-@opindex minmax
-@opindex mnominmax
-Enable the use of 68HC12 min and max instructions.
-
-@item -mlong-calls
-@itemx -mno-long-calls
-@opindex mlong-calls
-@opindex mno-long-calls
-Treat all calls as being far away (near).  If calls are assumed to be
-far away, the compiler will use the @code{call} instruction to
-call a function and the @code{rtc} instruction for returning.
-
-@item -mshort
-@opindex mshort
-Consider type @code{int} to be 16 bits wide, like @code{short int}.
-
-@item -msoft-reg-count=@var{count}
-@opindex msoft-reg-count
-Specify the number of pseudo-soft registers which are used for the
-code generation.  The maximum number is 32.  Using more pseudo-soft
-register may or may not result in better code depending on the program.
-The default is 4 for 68HC11 and 2 for 68HC12.
-
-@end table
-
 @node MCore Options
 @subsection MCore Options
 @cindex MCore options
@@ -15898,11 +15759,6 @@ operating system.
 On System V.4 and embedded PowerPC systems compile code for the
 Linux-based GNU system.
 
-@item -mcall-gnu
-@opindex mcall-gnu
-On System V.4 and embedded PowerPC systems compile code for the
-Hurd-based GNU system.
-
 @item -mcall-freebsd
 @opindex mcall-freebsd
 On System V.4 and embedded PowerPC systems compile code for the
@@ -16736,7 +16592,7 @@ Comply with the calling conventions defi
 @opindex mhitachi
 Comply with the calling conventions defined for GCC before the Renesas
 conventions were available.  This option is the default for all
-targets of the SH toolchain except for @samp{sh-symbianelf}.
+targets of the SH toolchain.
 
 @item -mnomacsave
 @opindex mnomacsave
Index: gcc/doc/md.texi
===================================================================
--- gcc/doc/md.texi	(revision 171107)
+++ gcc/doc/md.texi	(working copy)
@@ -1775,37 +1775,6 @@ Integer constant in the range @minus{}6
 A memory address based on Y or Z pointer with displacement.
 @end table
 
-@item CRX Architecture---@file{config/crx/crx.h}
-@table @code
-
-@item b
-Registers from r0 to r14 (registers without stack pointer)
-
-@item l
-Register r16 (64-bit accumulator lo register)
-
-@item h
-Register r17 (64-bit accumulator hi register)
-
-@item k
-Register pair r16-r17. (64-bit accumulator lo-hi pair)
-
-@item I
-Constant that fits in 3 bits
-
-@item J
-Constant that fits in 4 bits
-
-@item K
-Constant that fits in 5 bits
-
-@item L
-Constant that is one of @minus{}1, 4, @minus{}4, 7, 8, 12, 16, 20, 32, 48
-
-@item G
-Floating point constant that is legal for store immediate
-@end table
-
 @item Hewlett-Packard PA-RISC---@file{config/pa/pa.h}
 @table @code
 @item a
@@ -2868,64 +2837,6 @@ Non-register operands allowed in clr
 
 @end table
 
-@item Motorola 68HC11 & 68HC12 families---@file{config/m68hc11/m68hc11.h}
-@table @code
-@item a
-Register `a'
-
-@item b
-Register `b'
-
-@item d
-Register `d'
-
-@item q
-An 8-bit register
-
-@item t
-Temporary soft register _.tmp
-
-@item u
-A soft register _.d1 to _.d31
-
-@item w
-Stack pointer register
-
-@item x
-Register `x'
-
-@item y
-Register `y'
-
-@item z
-Pseudo register `z' (replaced by `x' or `y' at the end)
-
-@item A
-An address register: x, y or z
-
-@item B
-An address register: x or y
-
-@item D
-Register pair (x:d) to form a 32-bit value
-
-@item L
-Constants in the range @minus{}65536 to 65535
-
-@item M
-Constants whose 16-bit low part is zero
-
-@item N
-Constant integer 1 or @minus{}1
-
-@item O
-Constant integer 16
-
-@item P
-Constants in the range @minus{}8 to 2
-
-@end table
-
 @item Moxie---@file{config/moxie/constraints.md}
 @table @code
 @item A
Index: gcc/doc/install.texi
===================================================================
--- gcc/doc/install.texi	(revision 171107)
+++ gcc/doc/install.texi	(working copy)
@@ -1003,9 +1003,6 @@ predefined set of them.
 Some targets provide finer-grained control over which multilibs are built
 (e.g., @option{--disable-softfloat}):
 @table @code
-@item arc-*-elf*
-biendian.
-
 @item arm-*-*
 fpu, 26bit, underscore, interwork, biendian, nofmult.
 
@@ -2935,8 +2932,6 @@ information are.
 @item
 @uref{#alpha-dec-osf51,,alpha*-dec-osf5.1}
 @item
-@uref{#arc-x-elf,,arc-*-elf}
-@item
 @uref{#arm-x-elf,,arm-*-elf}
 @item
 @uref{#avr,,avr}
@@ -2979,10 +2974,6 @@ information are.
 @item
 @uref{#m32r-x-elf,,m32r-*-elf}
 @item
-@uref{#m6811-elf,,m6811-elf}
-@item
-@uref{#m6812-elf,,m6812-elf}
-@item
 @uref{#m68k-x-x,,m68k-*-*}
 @item
 @uref{#m68k-uclinux,,m68k-uclinux}
@@ -3135,13 +3126,6 @@ provide a fix shortly.
 @html
 <hr />
 @end html
-@heading @anchor{arc-x-elf}arc-*-elf
-Argonaut ARC processor.
-This configuration is intended for embedded systems.
-
-@html
-<hr />
-@end html
 @heading @anchor{arm-x-elf}arm-*-elf
 ARM-family processors.  Subtargets that use the ELF object format
 require GNU binutils 2.13 or newer.  Such subtargets include:
@@ -3240,35 +3224,6 @@ information about this platform is avail
 @html
 <hr />
 @end html
-@heading @anchor{crx}CRX
-
-The CRX CompactRISC architecture is a low-power 32-bit architecture with
-fast context switching and architectural extensibility features.
-
-@ifnothtml
-@xref{CRX Options,, CRX Options, gcc, Using and Porting the GNU Compiler
-Collection (GCC)},
-@end ifnothtml
-
-@ifhtml
-See ``CRX Options'' in the main manual for a list of CRX-specific options.
-@end ifhtml
-
-Use @samp{configure --target=crx-elf --enable-languages=c,c++} to configure
-GCC@ for building a CRX cross-compiler. The option @samp{--target=crx-elf}
-is also used to build the @samp{newlib} C library for CRX.
-
-It is also possible to build libstdc++-v3 for the CRX architecture. This
-needs to be done in a separate step with the following configure settings:
-
-@smallexample
-gcc/libstdc++-v3/configure --host=crx-elf --with-newlib \
-    --enable-sjlj-exceptions --enable-cxx-flags='-fexceptions -frtti'
-@end smallexample
-
-@html
-<hr />
-@end html
 @heading @anchor{dos}DOS
 
 Please have a look at the @uref{binaries.html,,binaries page}.
@@ -3790,20 +3745,6 @@ This configuration is intended for embed
 @html
 <hr />
 @end html
-@heading @anchor{m6811-elf}m6811-elf
-Motorola 68HC11 family micro controllers.  These are used in embedded
-applications.  There are no standard Unix configurations.
-
-@html
-<hr />
-@end html
-@heading @anchor{m6812-elf}m6812-elf
-Motorola 68HC12 family micro controllers.  These are used in embedded
-applications.  There are no standard Unix configurations.
-
-@html
-<hr />
-@end html
 @heading @anchor{m68k-x-x}m68k-*-*
 By default,
 @samp{m68k-*-elf*}, @samp{m68k-*-rtems},  @samp{m68k-*-uclinux} and
@@ -3834,9 +3775,7 @@ be a @option{-mcpu} argument or one of t
 GCC 4.3 changed the uClinux configuration so that it uses the
 @samp{m68k-linux-gnu} ABI rather than the @samp{m68k-elf} ABI.
 It also added improved support for C++ and flat shared libraries,
-both of which were ABI changes.  However, you can still use the
-original ABI by configuring for @samp{m68k-uclinuxoldabi} or
-@samp{m68k-@var{vendor}-uclinuxoldabi}.
+both of which were ABI changes.
 
 
 @html
Index: gcc/configure
===================================================================
--- gcc/configure	(revision 171107)
+++ gcc/configure	(working copy)
@@ -25833,7 +25833,6 @@ $as_echo "$have_sys_sdt_h" >&6; }
 # and later they can use TFmode.
 case "$target" in
   powerpc*-*-linux* | \
-  powerpc*-*-gnu* | \
   sparc*-*-linux* | \
   s390*-*-linux* | \
   alpha*-*-linux*)
Index: gcc/testsuite/gcc.c-torture/execute/990826-0.x
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/990826-0.x	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/execute/990826-0.x	(working copy)
@@ -1,7 +1,3 @@
-# floor() is not available on m6811/m6812 target, this test will not link.
-if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
-	return 1
-}
 # XFAIL this test for AIX using -msoft-float.
 # This test calls the system libm.a function floor.
 # A false failure is reported if -msoft-float is used.
Index: gcc/testsuite/gcc.c-torture/execute/920501-8.x (deleted)
===================================================================
Index: gcc/testsuite/gcc.c-torture/execute/930513-1.x (deleted)
===================================================================
Index: gcc/testsuite/gcc.c-torture/execute/980709-1.x
===================================================================
--- gcc/testsuite/gcc.c-torture/execute/980709-1.x	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/execute/980709-1.x	(working copy)
@@ -1,7 +1,3 @@
-# pow() is not available on m6811/m6812 target, this test will not link.
-if { [istarget "m6811-*-*"] || [istarget "m6812-*-*"]} {
-	return 1
-}
 # XFAIL this test for AIX using -msoft-float.
 # This test calls the system libm.a function pow.
 # A false failure is reported if -msoft-float is used.
Index: gcc/testsuite/gcc.c-torture/execute/960312-1.x (deleted)
===================================================================
Index: gcc/testsuite/gcc.c-torture/compile/20000804-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20000804-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20000804-1.c	(working copy)
@@ -1,10 +1,10 @@
-/* This does not work on m68hc11 or h8300 due to the use of an asm
+/* This does not work on h8300 due to the use of an asm
    statement to force a 'long long' (64-bits) to go in a register.  */
 /* { dg-do assemble } */
 /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */
 /* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */
 /* { dg-skip-if "Not enough 64-bit registers" { pdp11-*-* } { "-O0" } { "" } } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* h8300-*-* } { "*" } { "" } } */
+/* { dg-xfail-if "" { h8300-*-* } { "*" } { "" } } */
 
 /* Copyright (C) 2000, 2003 Free Software Foundation */
 __complex__ long long f ()
Index: gcc/testsuite/gcc.c-torture/compile/920501-4.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/920501-4.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/920501-4.c	(working copy)
@@ -1,7 +1,4 @@
-/* This test fails on HC11/HC12 when it is compiled without -mshort because 
-   the 'r0' array is too large.  Force to use 16-bit ints for it.  */
 /* { dg-do assemble } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "-mshort" } } */
 
 foo ()
 {
Index: gcc/testsuite/gcc.c-torture/compile/20020604-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20020604-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20020604-1.c	(working copy)
@@ -1,5 +1,4 @@
 /* { dg-do assemble } */
-/* { dg-xfail-if "The array is too big" { "m6811-*-* m6812-*-*" } { "*" } { "" } } */
 /* { dg-skip-if "The array is too big" { "avr-*-*" "pdp11-*-*" } { "*" } { "" } } */ 
 /* { dg-xfail-if "The array too big" { "h8300-*-*" } { "-mno-h" "-mn" } { "" } } */
 /* { dg-skip-if "" { m32c-*-* } { } { } } */
Index: gcc/testsuite/gcc.c-torture/compile/20001205-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20001205-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20001205-1.c	(working copy)
@@ -1,7 +1,4 @@
-/* This does not work on m68hc11 due to the asm statement which forces
-   two 'long' (32-bits) variables to go in registers.  */
 /* { dg-do assemble } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "" } } */
 
 static inline unsigned long rdfpcr(void)
 {
Index: gcc/testsuite/gcc.c-torture/compile/20010518-2.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20010518-2.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20010518-2.c	(working copy)
@@ -1,10 +1,5 @@
 /* { dg-do compile } */
 
-/* This test fails on HC11/HC12 when it is compiled without -mshort because 
-   the array is too large (INT_MAX/2 > 64K).  Force to use 16-bit ints
-   for it.  */
-/* { dg-options "-w -mshort" { target m6811-*-* m6812-*-* } } */
-
 /* Large static storage.  */
 
 #include <limits.h>
Index: gcc/testsuite/gcc.c-torture/compile/920501-12.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/920501-12.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/920501-12.c	(working copy)
@@ -1,7 +1,4 @@
-/* This test fails on HC11/HC12 when it is compiled without -mshort because 
-   the stack arrays are too large.  Force to use 16-bit ints for it.  */
 /* { dg-do assemble } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "-mshort" } } */
 
 x(x){            return 3 + x;}
 a(x){int y[994]; return 3 + x;}
Index: gcc/testsuite/gcc.c-torture/compile/20020312-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20020312-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20020312-1.c	(working copy)
@@ -1,7 +1,4 @@
-/* This does not compile on HC11/HC12 due to the asm which requires
-   two 32-bit registers.  */
 /* { dg-do assemble } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "" } } */
 /* { dg-skip-if "" { pdp11-*-* } { "-O0" } { "" } } */
 
 /* PR optimization/5892 */
Index: gcc/testsuite/gcc.c-torture/compile/20001226-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/20001226-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/20001226-1.c	(working copy)
@@ -1,7 +1,4 @@
-/* This does not assemble on m68hc11 because the function is larger
-   than 64K.  */
 /* { dg-do assemble } */
-/* { dg-xfail-if "function larger than 64K" { m6811-*-* } { "*" } { "" } } */
 /* { dg-skip-if "too much code for avr" { "avr-*-*" } { "*" } { "" } } */
 /* { dg-skip-if "too much code for pdp11" { "pdp11-*-*" } { "*" } { "" } } */
 /* { dg-xfail-if "jump beyond 128K not supported" { xtensa*-*-* } { "-O0" } { "" } } */
Index: gcc/testsuite/gcc.c-torture/compile/980506-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/980506-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/980506-1.c	(working copy)
@@ -1,7 +1,6 @@
 /* The arrays are too large for the xstormy16 - won't fit in 16 bits. */
 /* { dg-do assemble } */
 /* { dg-require-effective-target size32plus } */
-/* { dg-xfail-if "The array too big" { m6811-*-* m6812-*-* } { "*" } { "" } } /*
 /* { dg-skip-if "Array too big" { "avr-*-*" } { "*" } { "" } } */ 
 /* { dg-xfail-if "The array too big" { h8300-*-* } { "-mno-h" "-mn" } { "" } } */
 
Index: gcc/testsuite/gcc.c-torture/compile/920520-1.c
===================================================================
--- gcc/testsuite/gcc.c-torture/compile/920520-1.c	(revision 171107)
+++ gcc/testsuite/gcc.c-torture/compile/920520-1.c	(working copy)
@@ -1,5 +1,4 @@
 /* { dg-do compile } */
-/* { dg-xfail-if "" { m6811-*-* m6812-*-* } { "*" } { "" } } */
 /* { dg-skip-if "" { pdp11-*-* } { "*" } { "" } } */
 
 f(){asm("%0"::"r"(1.5F));}g(){asm("%0"::"r"(1.5));}
Index: gcc/testsuite/gcc.dg/sibcall-3.c
===================================================================
--- gcc/testsuite/gcc.dg/sibcall-3.c	(revision 171107)
+++ gcc/testsuite/gcc.dg/sibcall-3.c	(working copy)
@@ -5,7 +5,7 @@
    Copyright (C) 2002 Free Software Foundation Inc.
    Contributed by Hans-Peter Nilsson  <hp@bitrange.com>  */
 
-/* { dg-do run { xfail { { arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } || { arm*-*-* && { ! arm32 } } } } } */
+/* { dg-do run { xfail { { avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } || { arm*-*-* && { ! arm32 } } } } } */
 /* -mlongcall disables sibcall patterns.  */
 /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
 /* { dg-options "-O2 -foptimize-sibling-calls" } */
Index: gcc/testsuite/gcc.dg/cpp/assert4.c
===================================================================
--- gcc/testsuite/gcc.dg/cpp/assert4.c	(revision 171107)
+++ gcc/testsuite/gcc.dg/cpp/assert4.c	(working copy)
@@ -139,14 +139,6 @@
 
 /* Check for #cpu and #machine assertions.  */
 
-#if defined __arc__
-# if !#cpu(arc) || !#machine(arc)
-#  error
-# endif
-#elif #cpu(arc) || #machine(arc)
-# error
-#endif
-
 #if defined __alpha__
 # if !#cpu(alpha) || !#machine(alpha) \
 	|| (defined __alpha_cix__ && !#cpu(cix)) \
Index: gcc/testsuite/gcc.dg/sibcall-4.c
===================================================================
--- gcc/testsuite/gcc.dg/sibcall-4.c	(revision 171107)
+++ gcc/testsuite/gcc.dg/sibcall-4.c	(working copy)
@@ -5,7 +5,7 @@
    Copyright (C) 2002 Free Software Foundation Inc.
    Contributed by Hans-Peter Nilsson  <hp@bitrange.com>  */
 
-/* { dg-do run { xfail { { arc-*-* avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* m68hc1?-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } || { arm*-*-* && { ! arm32 } } } } } */
+/* { dg-do run { xfail { { avr-*-* cris-*-* crisv32-*-* h8300-*-* hppa*64*-*-* m32r-*-* mcore-*-* mn10300-*-* xstormy16-*-* v850*-*-* vax-*-* xtensa*-*-* } || { arm*-*-* && { ! arm32 } } } } } */
 /* -mlongcall disables sibcall patterns.  */
 /* { dg-skip-if "" { powerpc*-*-* } { "-mlongcall" } { "" } } */
 /* { dg-options "-O2 -foptimize-sibling-calls" } */
Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 171107)
+++ gcc/configure.ac	(working copy)
@@ -4417,7 +4417,6 @@ AC_MSG_RESULT($have_sys_sdt_h)
 # and later they can use TFmode.
 case "$target" in
   powerpc*-*-linux* | \
-  powerpc*-*-gnu* | \
   sparc*-*-linux* | \
   s390*-*-linux* | \
   alpha*-*-linux*)
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc	(revision 171107)
+++ gcc/config.gcc	(working copy)
@@ -226,31 +226,8 @@ md_file=
 
 # Obsolete configurations.
 case ${target} in
-# Avoid cases below matching.
-   alpha*-*-linux*			\
- | arm*-wince-pe*			\
- | arm*-*-netbsdelf*			\
- | i[34567]86-*-netbsdelf*		\
- | powerpc*-*-linux*			\
- | vax-*-netbsdelf*) ;;
-   arc-*				\
- | alpha*-*-gnu*			\
- | arm*-*-netbsd*			\
- | arm-*-pe*				\
- | crx-*				\
- | i[34567]86-*-interix3*		\
- | i[34567]86-*-netbsd*			\
- | i[34567]86-*-pe			\
- | m68hc11-*-*				\
- | m6811-*-*				\
- | m68hc12-*-*				\
- | m6812-*-*				\
- | m68k-*-uclinuxoldabi*		\
- | mcore-*-pe*				\
- | powerpc*-*-gnu*			\
+   i[34567]86-*-interix3*		\
  | score-*				\
- | sh*-*-symbianelf*			\
- | vax-*-netbsd*			\
  )
     if test "x$enable_obsolete" != xyes; then
       echo "*** Configuration ${target} is obsolete." >&2
@@ -267,6 +244,7 @@ esac
 case ${target} in
    i[34567]86-go32-*			\
  | i[34567]86-*-go32*			\
+ | m68k-*-uclinuxoldabi*		\
  | mips64orion*-*-rtems*		\
  | pdp11-*-bsd				\
  | sparc-hal-solaris2*			\
@@ -719,12 +697,6 @@ alpha*-*-linux*)
 	target_cpu_default="MASK_GAS"
 	tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee alpha/t-linux"
 	;;
-alpha*-*-gnu*)
-	tm_file="$tm_file alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h glibc-stdint.h alpha/gnu.h"
-	extra_options="${extra_options} alpha/elf.opt"
-	target_cpu_default="MASK_GAS"
-	tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee"
-	;;
 alpha*-*-freebsd*)
 	tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
 	extra_options="${extra_options} alpha/elf.opt"
@@ -788,10 +760,6 @@ alpha*-dec-*vms*)
 	install_headers_dir=install-headers-cp
 	extra_options="${extra_options} vms/vms.opt"
 	;;
-arc-*-elf*)
-	tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
-	extra_parts="crtinit.o crtfini.o"
-	;;
 arm-wrs-vxworks)
 	tm_file="elfos.h arm/elf.h arm/aout.h ${tm_file} vx-common.h vxworks.h arm/vxworks.h"
 	extra_options="${extra_options} arm/vxworks.opt"
@@ -806,13 +774,6 @@ arm*-*-netbsdelf*)
 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
 	tmake_file="${tmake_file} arm/t-arm arm/t-netbsd"
 	;;
-arm*-*-netbsd*)
-	tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"
-	extra_options="${extra_options} netbsd.opt"
-	tmake_file="t-netbsd arm/t-arm arm/t-netbsd"
-	extra_parts=""
-	use_collect2=yes
-	;;
 arm*-*-linux*)			# ARM GNU/Linux with ELF
 	tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
 	case $target in
@@ -910,13 +871,6 @@ arm*-wince-pe*)
 	extra_options="${extra_options} arm/pe.opt"
 	extra_objs="pe.o"
 	;;
-arm-*-pe*)
-	tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h dbxcoff.h arm/pe.h newlib-stdint.h"
-	tmake_file="arm/t-arm arm/t-pe"
-	use_gcc_stdint=wrap
-	extra_options="${extra_options} arm/pe.opt"
-	extra_objs="pe.o"
-	;;
 avr-*-rtems*)
 	tm_file="avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h"
 	tmake_file="avr/t-avr t-rtems avr/t-rtems"
@@ -984,11 +938,6 @@ crisv32-*-linux* | cris-*-linux*)
 		;;
 	esac
 	;;
-crx-*-elf)
-	tm_file="elfos.h newlib-stdint.h ${tm_file}"
-	extra_parts="crtbegin.o crtend.o"
-	use_collect2=no
-	;;
 fr30-*-elf)
 	tm_file="dbxelf.h elfos.h newlib-stdint.h ${tm_file}"
 	tmake_file=fr30/t-fr30
@@ -1221,13 +1170,6 @@ i[34567]86-*-netbsdelf*)
 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
 	;;
-i[34567]86-*-netbsd*)
-	tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
-	extra_options="${extra_options} netbsd.opt"
-	tmake_file="${tmake_file} t-netbsd"
-	extra_parts=""
-	use_collect2=yes
-	;;
 x86_64-*-netbsd*)
 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/x86-64.h i386/netbsd64.h"
 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
@@ -1443,7 +1385,7 @@ i[4567]86-wrs-vxworks|i[4567]86-wrs-vxwo
 	    ;;
 	esac
 	;;
-i[34567]86-*-pe | i[34567]86-*-cygwin*)
+i[34567]86-*-cygwin*)
 	tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h"
 	xm_file=i386/xm-cygwin.h
 	# This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
@@ -1688,24 +1630,6 @@ m32rle-*-linux*)
 		thread_file='posix'
 	fi
 	;;
-# m68hc11 and m68hc12 share the same machine description.
-m68hc11-*-*|m6811-*-*)
-	tm_file="dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h"
-	tm_p_file="m68hc11/m68hc11-protos.h"
-	md_file="m68hc11/m68hc11.md"
-	out_file="m68hc11/m68hc11.c"
-	tmake_file="m68hc11/t-m68hc11"
-	use_gcc_stdint=wrap
-        ;;
-m68hc12-*-*|m6812-*-*)
-	tm_file="m68hc11/m68hc12.h dbxelf.h elfos.h usegas.h newlib-stdint.h m68hc11/m68hc11.h"
-	tm_p_file="m68hc11/m68hc11-protos.h"
-	md_file="m68hc11/m68hc11.md"
-	out_file="m68hc11/m68hc11.c"
-	tmake_file="m68hc11/t-m68hc11"
-	extra_options="${extra_options} m68hc11/m68hc11.opt"
-	use_gcc_stdint=wrap
-        ;;
 m68k-*-elf* | fido-*-elf*)
 	case ${target} in
 	fido-*-elf*)
@@ -1756,15 +1680,6 @@ m68k*-*-openbsd*)
 	# we need collect2 until our bug is fixed...
 	use_collect2=yes
 	;;
-m68k-*-uclinuxoldabi*)		# Motorola m68k/ColdFire running uClinux
-				# with uClibc, using the original
-				# m68k-elf-based ABI
-	default_m68k_cpu=68020
-	default_cf_cpu=5206
-	tm_file="${tm_file} m68k/m68k-none.h m68k/m68kelf.h dbxelf.h elfos.h m68k/uclinux-oldabi.h glibc-stdint.h"
- 	tm_defines="${tm_defines} MOTOROLA=1"
-	tmake_file="m68k/t-floatlib m68k/t-uclinux"
-	;;
 m68k-*-uclinux*)		# Motorola m68k/ColdFire running uClinux
 				# with uClibc, using the new GNU/Linux-style
 				# ABI.
@@ -1804,12 +1719,6 @@ mcore-*-elf)
 	tmake_file=mcore/t-mcore
 	inhibit_libc=true
 	;;
-mcore-*-pe*)
-	tm_file="svr3.h dbxcoff.h newlib-stdint.h ${tm_file} mcore/mcore-pe.h"
-	tmake_file=mcore/t-mcore-pe
-	inhibit_libc=true
-	use_gcc_stdint=wrap
-	;;
 mep-*-*)
 	tm_file="dbxelf.h elfos.h ${tm_file}"
 	tmake_file=mep/t-mep
@@ -2173,27 +2082,6 @@ powerpc-*-linux* | powerpc64-*-linux*)
 		tm_file="rs6000/secureplt.h ${tm_file}"
 	fi
 	;;
-powerpc64-*-gnu*)
-	tm_file="${tm_file} elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/default64.h rs6000/linux64.h rs6000/gnu.h glibc-stdint.h"
-	extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
-	tmake_file="t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu"
-	;;
-powerpc-*-gnu-gnualtivec*)
-	tm_file="${cpu_type}/${cpu_type}.h elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h glibc-stdint.h"
-	extra_options="${extra_options} rs6000/sysv4.opt"
-	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
-	if test x$enable_threads = xyes; then
-		thread_file='posix'
-	fi
-	;;
-powerpc-*-gnu*)
-	tm_file="${cpu_type}/${cpu_type}.h elfos.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h glibc-stdint.h"
-	tmake_file="rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppcos t-slibgcc-elf-ver t-slibgcc-libgcc t-gnu rs6000/t-ppccomm"
-	extra_options="${extra_options} rs6000/sysv4.opt"
-	if test x$enable_threads = xyes; then
-		thread_file='posix'
-	fi
-	;;
 powerpc-wrs-vxworks|powerpc-wrs-vxworksae)
 	tm_file="${tm_file} elfos.h freebsd-spec.h rs6000/sysv4.h"
 	tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit rs6000/t-ppccomm rs6000/t-vxworks"
@@ -2315,7 +2203,6 @@ score-*-elf)
         extra_objs="score7.o"
         ;;
 sh-*-elf* | sh[12346l]*-*-elf* | \
-sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
   sh-*-linux* | sh[2346lbe]*-*-linux* | \
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
    sh64-*-netbsd* | sh64l*-*-netbsd*)
@@ -2392,13 +2279,6 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
 		fi
 		extra_headers="shmedia.h ushmedia.h sshmedia.h"
 		;;
-	*-*-symbianelf*)
-		tmake_file="sh/t-symbian"
-		tm_file="sh/symbian-pre.h sh/little.h ${tm_file} sh/symbian-post.h"
-		c_target_objs="symbian-base.o symbian-c.o"
-		cxx_target_objs="symbian-base.o symbian-cxx.o"
-		extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
-		;;
 	*-*-elf*)
 		tm_file="${tm_file} newlib-stdint.h"
 		;;
@@ -2719,13 +2599,6 @@ vax-*-netbsdelf*)
 	tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"
 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt vax/elf.opt"
 	;;
-vax-*-netbsd*)
-	tm_file="${tm_file} netbsd.h netbsd-aout.h vax/netbsd.h"
-	extra_options="${extra_options} netbsd.opt"
-	tmake_file=t-netbsd
-	extra_parts=""
-	use_collect2=yes
-	;;
 vax-*-openbsd*)
 	tm_file="vax/vax.h vax/openbsd1.h openbsd.h openbsd-stdint.h openbsd-pthread.h vax/openbsd.h"
 	extra_options="${extra_options} openbsd.opt"
Index: gcc/config.host
===================================================================
--- gcc/config.host	(revision 171107)
+++ gcc/config.host	(working copy)
@@ -211,7 +211,7 @@ case ${host} in
         ;;
     esac
     ;;
-  i[34567]86-*-pe | i[34567]86-*-cygwin*)
+  i[34567]86-*-cygwin*)
     host_xm_file=i386/xm-cygwin.h
     out_host_hook_obj=host-cygwin.o
     host_xmake_file="${host_xmake_file} i386/x-cygwin"
Index: gcc/config/alpha/gnu.h (deleted)
===================================================================
Index: gcc/config/netbsd-aout.h (deleted)
===================================================================
Index: gcc/config/i386/netbsd.h (deleted)
===================================================================
Index: gcc/config/sh/sh-protos.h
===================================================================
--- gcc/config/sh/sh-protos.h	(revision 171107)
+++ gcc/config/sh/sh-protos.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, 2003,
-   2004, 2005, 2006, 2007, 2008, 2009, 2010
+   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).
@@ -170,17 +170,3 @@ extern int sh2a_is_function_vector_call
 extern void sh_fix_range (const char *);
 extern bool sh_hard_regno_mode_ok (unsigned int, enum machine_mode);
 #endif /* ! GCC_SH_PROTOS_H */
-
-#ifdef SYMBIAN
-extern const char * sh_symbian_strip_name_encoding    (const char *);
-extern bool         sh_symbian_is_dllexported_name    (const char *);
-#ifdef TREE_CODE
-extern bool         sh_symbian_is_dllexported         (tree);
-extern int          sh_symbian_import_export_class    (tree, int);
-extern tree         sh_symbian_handle_dll_attribute   (tree *, tree, tree, int, bool *);
-#ifdef RTX_CODE
-extern void         sh_symbian_encode_section_info    (tree, rtx, int);
-#endif
-#endif
-#endif /* SYMBIAN */
-
Index: gcc/config/sh/sh.c
===================================================================
--- gcc/config/sh/sh.c	(revision 171107)
+++ gcc/config/sh/sh.c	(working copy)
@@ -1,6 +1,6 @@
 /* Output routines for GCC 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).
@@ -315,17 +315,6 @@ static const struct attribute_spec sh_at
   { "nosave_low_regs",   0, 0, true,  false, false, sh_handle_interrupt_handler_attribute },
   { "resbank",           0, 0, true,  false, false, sh_handle_resbank_handler_attribute },
   { "function_vector",   1, 1, true,  false, false, sh2a_handle_function_vector_handler_attribute },
-#ifdef SYMBIAN
-  /* Symbian support adds three new attributes:
-     dllexport - for exporting a function/variable that will live in a dll
-     dllimport - for importing a function/variable from a dll
-
-     Microsoft allows multiple declspecs in one __declspec, separating
-     them with spaces.  We do NOT support this.  Instead, use __declspec
-     multiple times.  */
-  { "dllimport",         0, 0, true,  false, false, sh_symbian_handle_dll_attribute },
-  { "dllexport",         0, 0, true,  false, false, sh_symbian_handle_dll_attribute },
-#endif
   { NULL,                0, 0, false, false, false, NULL }
 };
 
@@ -581,17 +570,6 @@ static const struct default_options sh_o
 #undef  TARGET_ENCODE_SECTION_INFO
 #define TARGET_ENCODE_SECTION_INFO	sh_encode_section_info
 
-#ifdef SYMBIAN
-
-#undef  TARGET_ENCODE_SECTION_INFO
-#define TARGET_ENCODE_SECTION_INFO	sh_symbian_encode_section_info
-#undef  TARGET_STRIP_NAME_ENCODING
-#define TARGET_STRIP_NAME_ENCODING	sh_symbian_strip_name_encoding
-#undef  TARGET_CXX_IMPORT_EXPORT_CLASS
-#define TARGET_CXX_IMPORT_EXPORT_CLASS  sh_symbian_import_export_class
-
-#endif /* SYMBIAN */
-
 #undef TARGET_SECONDARY_RELOAD
 #define TARGET_SECONDARY_RELOAD sh_secondary_reload
 
@@ -2812,12 +2790,6 @@ sh_file_start (void)
 {
   default_file_start ();
 
-#ifdef SYMBIAN
-  /* Declare the .directive section before it is used.  */
-  fputs ("\t.section .directive, \"SM\", @progbits, 1\n", asm_out_file);
-  fputs ("\t.asciz \"#<SYMEDIT>#\\n\"\n", asm_out_file);
-#endif
-
   if (TARGET_ELF)
     /* We need to show the text section with the proper
        attributes as in TEXT_SECTION_ASM_OP, before dwarf2out
Index: gcc/config/sh/symbian-base.c (deleted)
===================================================================
Index: gcc/config/sh/sh-symbian.h (deleted)
===================================================================
Index: gcc/config/sh/symbian-pre.h (deleted)
===================================================================
Index: gcc/config/sh/symbian-cxx.c (deleted)
===================================================================
Index: gcc/config/sh/t-symbian (deleted)
===================================================================
Index: gcc/config/sh/symbian-c.c (deleted)
===================================================================
Index: gcc/config/sh/symbian-post.h (deleted)
===================================================================
Index: gcc/config/svr3.h (deleted)
===================================================================
Index: gcc/config/crx/crx.h (deleted)
===================================================================
Index: gcc/config/crx/crx-protos.h (deleted)
===================================================================
Index: gcc/config/crx/crx.md (deleted)
===================================================================
Index: gcc/config/crx/crx.c (deleted)
===================================================================
Index: gcc/config/crx/crx.opt (deleted)
===================================================================
Index: gcc/config/crx/t-crx (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11-protos.h (deleted)
===================================================================
Index: gcc/config/m68hc11/larith.asm (deleted)
===================================================================
Index: gcc/config/m68hc11/predicates.md (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11.md (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11.c (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11.opt (deleted)
===================================================================
Index: gcc/config/m68hc11/t-m68hc11 (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11.h (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc11-crt0.S (deleted)
===================================================================
Index: gcc/config/m68hc11/m68hc12.h (deleted)
===================================================================
Index: gcc/config/m68k/uclinux-oldabi.h (deleted)
===================================================================
Index: gcc/config/rs6000/gnu.h (deleted)
===================================================================
Index: gcc/config/rs6000/linux64.h
===================================================================
--- gcc/config/rs6000/linux64.h	(revision 171107)
+++ gcc/config/rs6000/linux64.h	(working copy)
@@ -172,10 +172,6 @@ extern int dot_symbols;
 #undef	ASM_SPEC
 #undef	LINK_OS_LINUX_SPEC
 
-/* FIXME: This will quite possibly choose the wrong dynamic linker.  */
-#undef	LINK_OS_GNU_SPEC
-#define	LINK_OS_GNU_SPEC LINK_OS_LINUX_SPEC
-
 #ifndef	RS6000_BI_ARCH
 #define	ASM_DEFAULT_SPEC "-mppc64"
 #define	ASM_SPEC	 "%(asm_spec64) %(asm_spec_common)"
@@ -199,7 +195,6 @@ extern int dot_symbols;
     %{mcall-freebsd: -mbig} \
     %{mcall-i960-old: -mlittle} \
     %{mcall-linux: -mbig} \
-    %{mcall-gnu: -mbig} \
     %{mcall-netbsd: -mbig} \
 }}}}"
 
Index: gcc/config/rs6000/sysv4.h
===================================================================
--- gcc/config/rs6000/sysv4.h	(revision 171107)
+++ gcc/config/rs6000/sysv4.h	(working copy)
@@ -98,8 +98,6 @@ do {									\
       else								\
 	rs6000_current_abi = ABI_V4;					\
     }									\
-  else if (!strcmp (rs6000_abi_name, "gnu"))				\
-    rs6000_current_abi = ABI_V4;					\
   else if (!strcmp (rs6000_abi_name, "netbsd"))				\
     rs6000_current_abi = ABI_V4;					\
   else if (!strcmp (rs6000_abi_name, "openbsd"))			\
@@ -556,8 +554,7 @@ extern int fixuplabelno;
   mcall-freebsd |		   \
   mcall-netbsd  |		   \
   mcall-openbsd |		   \
-  mcall-linux   |		   \
-  mcall-gnu             :-mbig;    \
+  mcall-linux           :-mbig;    \
   mcall-i960-old        :-mlittle}"
 
 #define	CC1_ENDIAN_BIG_SPEC ""
@@ -583,8 +580,7 @@ extern int fixuplabelno;
   mcall-freebsd |					  \
   mcall-netbsd  |					  \
   mcall-openbsd |					  \
-  mcall-linux   |					  \
-  mcall-gnu             : -mbig %(cc1_endian_big);        \
+  mcall-linux           : -mbig %(cc1_endian_big);        \
   mcall-i960-old        : -mlittle %(cc1_endian_little);  \
                         : %(cc1_endian_default)}          \
 %{meabi: %{!mcall-*: -mcall-sysv }} \
@@ -593,7 +589,6 @@ extern int fixuplabelno;
     %{mcall-freebsd: -mno-eabi } \
     %{mcall-i960-old: -meabi } \
     %{mcall-linux: -mno-eabi } \
-    %{mcall-gnu: -mno-eabi } \
     %{mcall-netbsd: -mno-eabi } \
     %{mcall-openbsd: -mno-eabi }}} \
 %{msdata: -msdata=default} \
@@ -609,7 +604,6 @@ extern int fixuplabelno;
   msim         : %(link_start_sim)         ; \
   mcall-freebsd: %(link_start_freebsd)     ; \
   mcall-linux  : %(link_start_linux)       ; \
-  mcall-gnu    : %(link_start_gnu)         ; \
   mcall-netbsd : %(link_start_netbsd)      ; \
   mcall-openbsd: %(link_start_openbsd)     ; \
                : %(link_start_default)     }"
@@ -647,7 +641,6 @@ extern int fixuplabelno;
   msim         : %(link_os_sim)         ; \
   mcall-freebsd: %(link_os_freebsd)     ; \
   mcall-linux  : %(link_os_linux)       ; \
-  mcall-gnu    : %(link_os_gnu)         ; \
   mcall-netbsd : %(link_os_netbsd)      ; \
   mcall-openbsd: %(link_os_openbsd)     ; \
                : %(link_os_default)     }"
@@ -666,7 +659,6 @@ extern int fixuplabelno;
   msim         : %(cpp_os_sim)         ; \
   mcall-freebsd: %(cpp_os_freebsd)     ; \
   mcall-linux  : %(cpp_os_linux)       ; \
-  mcall-gnu    : %(cpp_os_gnu)         ; \
   mcall-netbsd : %(cpp_os_netbsd)      ; \
   mcall-openbsd: %(cpp_os_openbsd)     ; \
                : %(cpp_os_default)     }"
@@ -681,7 +673,6 @@ extern int fixuplabelno;
   msim         : %(startfile_sim)         ; \
   mcall-freebsd: %(startfile_freebsd)     ; \
   mcall-linux  : %(startfile_linux)       ; \
-  mcall-gnu    : %(startfile_gnu)         ; \
   mcall-netbsd : %(startfile_netbsd)      ; \
   mcall-openbsd: %(startfile_openbsd)     ; \
                : %(startfile_default)     }"
@@ -696,7 +687,6 @@ extern int fixuplabelno;
   msim         : %(lib_sim)         ; \
   mcall-freebsd: %(lib_freebsd)     ; \
   mcall-linux  : %(lib_linux)       ; \
-  mcall-gnu    : %(lib_gnu)         ; \
   mcall-netbsd : %(lib_netbsd)      ; \
   mcall-openbsd: %(lib_openbsd)     ; \
                : %(lib_default)     }"
@@ -711,7 +701,6 @@ extern int fixuplabelno;
   msim         : %(endfile_sim)         ; \
   mcall-freebsd: %(endfile_freebsd)     ; \
   mcall-linux  : %(endfile_linux)       ; \
-  mcall-gnu    : %(endfile_gnu)         ; \
   mcall-netbsd : %(endfile_netbsd)      ; \
   mcall-openbsd: %(endfile_openbsd)     ; \
                : %(crtsavres_default) %(endfile_default)     }"
@@ -845,31 +834,6 @@ extern int fixuplabelno;
     %{std=gnu*:-Dunix -D__unix -Dlinux -D__linux}}}		  \
 -Asystem=linux -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
 
-/* GNU/Hurd support.  */
-#define LIB_GNU_SPEC "%{mnewlib: --start-group -lgnu -lc --end-group } \
-%{!mnewlib: %{shared:-lc} %{!shared: %{pthread:-lpthread } \
-%{profile:-lc_p} %{!profile:-lc}}}"
-
-#define	STARTFILE_GNU_SPEC "\
-%{!shared: %{!static: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}} \
-%{static: %{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}}} \
-%{mnewlib: ecrti.o%s} %{!mnewlib: crti.o%s} \
-%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
-
-#define	ENDFILE_GNU_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
-%{mnewlib: ecrtn.o%s} %{!mnewlib: crtn.o%s}"
-
-#define LINK_START_GNU_SPEC ""
-
-#define LINK_OS_GNU_SPEC "-m elf32ppclinux %{!shared: %{!static: \
-  %{rdynamic:-export-dynamic} \
-  -dynamic-linker /lib/ld.so.1}}"
-
-#define CPP_OS_GNU_SPEC "-D__unix__ -D__gnu_hurd__ -D__GNU__	\
-%{!undef:					                \
-  %{!ansi: -Dunix -D__unix}}			                \
--Asystem=gnu -Asystem=unix -Asystem=posix %{pthread:-D_REENTRANT}"
-
 /* NetBSD support.  */
 #define LIB_NETBSD_SPEC "\
 -lc"
@@ -931,7 +895,6 @@ ncrtn.o%s"
   { "lib_mvme",			LIB_MVME_SPEC },			\
   { "lib_sim",			LIB_SIM_SPEC },				\
   { "lib_freebsd",		LIB_FREEBSD_SPEC },			\
-  { "lib_gnu",			LIB_GNU_SPEC },				\
   { "lib_linux",		LIB_LINUX_SPEC },			\
   { "lib_netbsd",		LIB_NETBSD_SPEC },			\
   { "lib_openbsd",		LIB_OPENBSD_SPEC },			\
@@ -941,7 +904,6 @@ ncrtn.o%s"
   { "startfile_mvme",		STARTFILE_MVME_SPEC },			\
   { "startfile_sim",		STARTFILE_SIM_SPEC },			\
   { "startfile_freebsd",	STARTFILE_FREEBSD_SPEC },		\
-  { "startfile_gnu",		STARTFILE_GNU_SPEC },			\
   { "startfile_linux",		STARTFILE_LINUX_SPEC },			\
   { "startfile_netbsd",		STARTFILE_NETBSD_SPEC },		\
   { "startfile_openbsd",	STARTFILE_OPENBSD_SPEC },		\
@@ -951,7 +913,6 @@ ncrtn.o%s"
   { "endfile_mvme",		ENDFILE_MVME_SPEC },			\
   { "endfile_sim",		ENDFILE_SIM_SPEC },			\
   { "endfile_freebsd",		ENDFILE_FREEBSD_SPEC },			\
-  { "endfile_gnu",		ENDFILE_GNU_SPEC },			\
   { "endfile_linux",		ENDFILE_LINUX_SPEC },			\
   { "endfile_netbsd",		ENDFILE_NETBSD_SPEC },			\
   { "endfile_openbsd",		ENDFILE_OPENBSD_SPEC },			\
@@ -964,7 +925,6 @@ ncrtn.o%s"
   { "link_start_mvme",		LINK_START_MVME_SPEC },			\
   { "link_start_sim",		LINK_START_SIM_SPEC },			\
   { "link_start_freebsd",	LINK_START_FREEBSD_SPEC },		\
-  { "link_start_gnu",		LINK_START_GNU_SPEC },			\
   { "link_start_linux",		LINK_START_LINUX_SPEC },		\
   { "link_start_netbsd",	LINK_START_NETBSD_SPEC },		\
   { "link_start_openbsd",	LINK_START_OPENBSD_SPEC },		\
@@ -976,7 +936,6 @@ ncrtn.o%s"
   { "link_os_sim",		LINK_OS_SIM_SPEC },			\
   { "link_os_freebsd",		LINK_OS_FREEBSD_SPEC },			\
   { "link_os_linux",		LINK_OS_LINUX_SPEC },			\
-  { "link_os_gnu",		LINK_OS_GNU_SPEC },			\
   { "link_os_netbsd",		LINK_OS_NETBSD_SPEC },			\
   { "link_os_openbsd",		LINK_OS_OPENBSD_SPEC },			\
   { "link_os_default",		LINK_OS_DEFAULT_SPEC },			\
@@ -989,7 +948,6 @@ ncrtn.o%s"
   { "cpp_os_mvme",		CPP_OS_MVME_SPEC },			\
   { "cpp_os_sim",		CPP_OS_SIM_SPEC },			\
   { "cpp_os_freebsd",		CPP_OS_FREEBSD_SPEC },			\
-  { "cpp_os_gnu",		CPP_OS_GNU_SPEC },			\
   { "cpp_os_linux",		CPP_OS_LINUX_SPEC },			\
   { "cpp_os_netbsd",		CPP_OS_NETBSD_SPEC },			\
   { "cpp_os_openbsd",		CPP_OS_OPENBSD_SPEC },			\
Index: gcc/config/arc/arc-protos.h (deleted)
===================================================================
Index: gcc/config/arc/arc.md (deleted)
===================================================================
Index: gcc/config/arc/lib1funcs.asm (deleted)
===================================================================
Index: gcc/config/arc/arc.c (deleted)
===================================================================
Index: gcc/config/arc/arc.opt (deleted)
===================================================================
Index: gcc/config/arc/t-arc (deleted)
===================================================================
Index: gcc/config/arc/arc-modes.def (deleted)
===================================================================
Index: gcc/config/arc/initfini.c (deleted)
===================================================================
Index: gcc/config/arc/arc.h (deleted)
===================================================================
Index: gcc/config/mcore/t-mcore-pe (deleted)
===================================================================
Index: gcc/config/mcore/mcore-pe.h (deleted)
===================================================================
Index: gcc/config/arm/t-pe (deleted)
===================================================================
Index: gcc/config/arm/netbsd.h (deleted)
===================================================================
Index: gcc/config/vax/netbsd.h (deleted)
===================================================================
Index: gcc/config.build
===================================================================
--- gcc/config.build	(revision 171107)
+++ gcc/config.build	(working copy)
@@ -1,5 +1,6 @@
 # GCC build-specific configuration file.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009, 2010
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009, 2010,
+# 2011
 # Free Software Foundation, Inc.
 
 #This file is part of GCC.
@@ -75,7 +76,7 @@ case $build in
     # IBM 360/370/390 Architecture
     build_xm_defines='FATAL_EXIT_CODE=12'
     ;;
-  i[34567]86-*-cygwin* | i[34567]86-*-pe )
+  i[34567]86-*-cygwin* )
     build_xm_file=i386/xm-cygwin.h
     build_exeext=.exe
     ;;
Index: fixincludes/mkfixinc.sh
===================================================================
--- fixincludes/mkfixinc.sh	(revision 171107)
+++ fixincludes/mkfixinc.sh	(working copy)
@@ -12,8 +12,6 @@ target=fixinc.sh
 # Check for special fix rules for particular targets
 case $machine in
     alpha*-dec-*vms* | \
-    i?86-moss-msdos* | \
-    i?86-*-pe | \
     i?86-*-cygwin* | \
     i?86-*-mingw32* | \
     x86_64-*-mingw32* | \

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Gcc-patches mailing list