aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-02-08 17:02:56 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2011-02-08 17:02:56 +0000
commit32243d46707ec76650af0e33cdf77ee3fc3600eb (patch)
treef9aea2f5aea00d3d5dec5a196fece73235ddc0cd
parent479c1fb3fad9e7d6778e8a224b9c95082145a685 (diff)
downloadgcc-32243d46707ec76650af0e33cdf77ee3fc3600eb.zip
gcc-32243d46707ec76650af0e33cdf77ee3fc3600eb.tar.gz
gcc-32243d46707ec76650af0e33cdf77ee3fc3600eb.tar.bz2
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
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config.gcc43
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 <joseph@codesourcery.com>
+
+ * 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 <sebastian.pop@amd.com>
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