# config.bfd
#
-# Copyright (C) 2012-2021 Free Software Foundation, Inc.
+# Copyright (C) 2012-2022 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Catch obsolete configurations.
case $targ in
- m32c-*-rtems* | \
- ns32k-*-netbsd* | \
null)
if test "x$enable_obsolete" != xyes; then
echo "*** Configuration $targ is obsolete." >&2
# Explicit, no defaulting
;;
ns32k-*-netbsd*)
- # The obsolete warning is enough, and ns32k does not have ELF support
+ # The obsolete warning below is enough, and ns32k does not have ELF support
;;
*-*-netbsd* )
targ_migrated=`echo "$targ" | sed 's/netbsd/netbsdaout/'`
mips*-dec-* | \
mips*-sgi-* | \
mips*el-*-rtems* | \
+ m32c-*-rtems* | \
+ ns32k-*-netbsd* | \
openrisc-*-* | \
or32-*-* | \
powerpc-*-lynxos* | powerpc-*-windiss* | \
we32k-*-* | \
xc16x-*-* | \
null)
- echo "*** Configuration $targ is obsolete." >&2
- echo "*** Support has been REMOVED." >&2
+ echo "*** Configuration $targ is now obsolete" >&2
+ echo "*** and so support for it has been REMOVED." >&2
exit 1
;;
esac
am33_2.0*) targ_archs=bfd_mn10300_arch ;;
arc*) targ_archs=bfd_arc_arch ;;
arm*) targ_archs=bfd_arm_arch ;;
+amdgcn*) targ_archs=bfd_amdgcn_arch ;;
bfin*) targ_archs=bfd_bfin_arch ;;
c30*) targ_archs=bfd_tic30_arch ;;
c4x*) targ_archs=bfd_tic4x_arch ;;
targ_defvec=alpha_ecoff_le_vec
want64=true
;;
+ amdgcn-*-*)
+ targ_defvec=amdgcn_elf64_le_vec
+ want64=true
+ ;;
ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu)
targ_defvec=ia64_elf64_le_vec
targ_selvecs="ia64_elf64_be_vec ia64_pei_vec"