OSDN Git Service

* config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jul 2008 17:02:12 +0000 (17:02 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Jul 2008 17:02:12 +0000 (17:02 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137697 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index 860ef8b..caf2bd5 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 e73223b..1f7f653 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