config.gcc (arm-*-coff*, [...]): Deprecate targets, excluding more specific h8300...
authorJoseph Myers <joseph@codesourcery.com>
Thu, 10 Jul 2008 17:02:12 +0000 (18:02 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 10 Jul 2008 17:02:12 +0000 (18:02 +0100)
* config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
i[34567]86-*-aout*, i[34567]86-*-coff*, m68k-*-aout*,
m68k-*-coff*, sh-*-*, mips-sgi-irix[56]*, pdp11-*-bsd,
rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Deprecate targets,
excluding more specific h8300-*-* and sh-*-* targets.

From-SVN: r137697

gcc/ChangeLog
gcc/config.gcc

index 860ef8ba286b8d12376c2a94c991e431e9cf5378..caf2bd5afc75870882303d28216731fc505bdb24 100644 (file)
@@ -1,3 +1,11 @@
+2008-07-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
+       i[34567]86-*-aout*, i[34567]86-*-coff*, m68k-*-aout*,
+       m68k-*-coff*, sh-*-*, mips-sgi-irix[56]*, pdp11-*-bsd,
+       rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Deprecate targets,
+       excluding more specific h8300-*-* and sh-*-* targets.
+
 2008-07-10  Daniel Berlin  <dberlin@dberlin.org>
 
        * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert
index e73223b9b3280109cd6fb37d0d2ed38f1a1661ef..1f7f65361f533f97b7dbe2e83afd577f923616a4 100644 (file)
@@ -204,16 +204,32 @@ 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 generic cases below matching.
+   h8300-*-rtems* | h8300-*-elf* \
+ | sh-*-elf* | sh-*-symbianelf* | sh-*-linux* | sh-*-netbsdelf* \
+ | sh-*-rtems* | sh-wrs-vxworks) ;;
+   arm-*-coff*         \
+ | armel-*-coff*       \
+ | h8300-*-*           \
+ | i[34567]86-*-aout*  \
+ | i[34567]86-*-coff*  \
+ | m68k-*-aout*                \
+ | m68k-*-coff*                \
+ | sh-*-*              \
+ | mips-sgi-irix[56]*  \
+ | pdp11-*-bsd         \
+ | rs6000-ibm-aix4.[12]* \
+ | powerpc-ibm-aix4.[12]* \
+ )
+    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