diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-07-10 18:02:12 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-07-10 18:02:12 +0100 |
commit | e68152b607d95496a9eb81b0aa2e5c18495cf5d6 (patch) | |
tree | 05599dfc4870828f25f85ee7af372f4cc8a0feef /gcc/config.gcc | |
parent | 6999afe1b9fd5fe6babd4139b34ed9bbaacaeebb (diff) | |
download | gcc-e68152b607d95496a9eb81b0aa2e5c18495cf5d6.zip gcc-e68152b607d95496a9eb81b0aa2e5c18495cf5d6.tar.gz gcc-e68152b607d95496a9eb81b0aa2e5c18495cf5d6.tar.bz2 |
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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e73223b..1f7f653 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 |