# config.bfd
#
-# Copyright (C) 2012-2019 Free Software Foundation, Inc.
+# Copyright (C) 2012-2020 Free Software Foundation, Inc.
+# Copyright (C) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
#
# 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
echo "*** Use or1k-*-elf or or1k-*-linux as the target instead" >&2
exit 1
;;
+ c30-*-*aout* | tic30-*-*aout* | \
null)
if test "x$enable_obsolete" != xyes; then
echo "*** Configuration $targ is obsolete." >&2
arm-*-oabi | \
arm-*-riscix* | \
arm-epoc-pe* | \
+ cr16c-*-* | \
h8300*-*-coff | \
h8500*-*-coff | \
hppa*-*-rtems* | \
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 ;;
x86_64*) targ_archs=bfd_i386_arch ;;
xtensa*) targ_archs=bfd_xtensa_arch ;;
xgate) targ_archs=bfd_xgate_arch ;;
-z80|r800) targ_archs=bfd_z80_arch ;;
+z80*|r800|z180|gbz80|ez80*) targ_archs=bfd_z80_arch ;;
z8k*) targ_archs=bfd_z8k_arch ;;
*) targ_archs=bfd_${targ_cpu}_arch ;;
esac
# convention, else the table becomes a real mess to understand and maintain.
case "${targ}" in
- plugin)
- targ_defvec=plugin_vec
- targ_selvecs="plugin_vec"
- ;;
-
# START OF targmatch.h
#ifdef BFD64
aarch64-*-darwin*)
targ_defvec=alpha_ecoff_le_vec
want64=true
;;
+ amdgcn-*-amdhsa)
+ 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"
targ_underscore=yes
;;
- cr16c-*-elf*)
- targ_defvec=cr16c_elf32_vec
- targ_underscore=yes
- ;;
-
#ifdef BFD64
cris-*-* | crisv32-*-*)
targ_defvec=cris_aout_vec
targ_defvec=d30v_elf32_vec
;;
+#ifdef BFD64
bpf-*-none)
targ_defvec=bpf_elf64_le_vec
targ_selvecs=bpf_elf64_be_vec
targ_underscore=yes
;;
+#endif
epiphany-*-*)
targ_defvec=epiphany_elf32_vec
targ_selvecs="tic6x_elf32_linux_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec"
;;
- tic80*-*-*)
- targ_defvec=tic80_coff_vec
- targ_underscore=yes
- ;;
-
#ifdef BFD64
tilegx-*-*)
targ_defvec=tilegx_elf64_le_vec
targ_defvec=xc16x_elf32_vec
;;
- z80-*-*)
+ z80-*-coff)
targ_defvec=z80_coff_vec
targ_underscore=no
;;
+ z80-*-elf)
+ targ_defvec=z80_elf32_vec
+ targ_underscore=no
+ ;;
+
z8k*-*-*)
targ_defvec=z8k_coff_vec
targ_underscore=yes