From e68152b607d95496a9eb81b0aa2e5c18495cf5d6 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 10 Jul 2008 18:02:12 +0100 Subject: [PATCH] config.gcc (arm-*-coff*, [...]): Deprecate targets, excluding more specific h8300-*-* and sh-*-* targets. * 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 | 8 ++++++++ gcc/config.gcc | 36 ++++++++++++++++++++++++++---------- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 860ef8ba286..caf2bd5afc7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2008-07-10 Joseph Myers + + * 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 * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert diff --git a/gcc/config.gcc b/gcc/config.gcc index e73223b9b32..1f7f65361f5 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 -- 2.30.2