From 32243d46707ec76650af0e33cdf77ee3fc3600eb Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 8 Feb 2011 17:02:56 +0000 Subject: config.gcc (arc-*, [...]): Mark obsolete. * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. From-SVN: r169929 --- gcc/ChangeLog | 8 ++++++++ gcc/config.gcc | 43 +++++++++++++++++++++++++++++++++---------- 2 files changed, 41 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4f256b..81cac7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2011-02-08 Joseph Myers + + * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, + i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, + m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, + m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, + sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. + 2011-02-08 Sebastian Pop PR tree-optimization/46834 diff --git a/gcc/config.gcc b/gcc/config.gcc index c11b854..c353e80 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -225,16 +225,39 @@ xm_file= md_file= # Obsolete configurations. -#case ${target} in -# ) -# if test "x$enable_obsolete" != xyes; then -# echo "*** Configuration ${target} is obsolete." >&2 -# echo "*** Specify --enable-obsolete to build it anyway." >&2 -# echo "*** Support will be REMOVED in the next major release of GCC," >&2 -# echo "*** unless a maintainer comes forward." >&2 -# exit 1 -# fi;; -#esac +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* \ + | i[34567]86-*-interix3* \ + | i[34567]86-*-netbsd* \ + | i[34567]86-*-pe \ + | m68hc11-*-* \ + | m6811-*-* \ + | m68hc12-*-* \ + | m6812-*-* \ + | m68k-*-uclinuxoldabi* \ + | mcore-*-pe* \ + | powerpc*-*-gnu* \ + | sh*-*-symbianelf* \ + | vax-*-netbsd* \ + ) + if test "x$enable_obsolete" != xyes; then + echo "*** Configuration ${target} is obsolete." >&2 + echo "*** Specify --enable-obsolete to build it anyway." >&2 + echo "*** Support will be REMOVED in the next major release of GCC," >&2 + echo "*** unless a maintainer comes forward." >&2 + exit 1 + fi;; +esac # Unsupported targets list. Do not put an entry in this list unless # it would otherwise be caught by a more permissive pattern. The list -- cgit v1.1