# config.bfd
#
-# Copyright (C) 2012-2016 Free Software Foundation, Inc.
+# Copyright (C) 2012-2017 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
mips*-*-sysv* | mips*-*-riscos* | \
ns32k-*-* | \
sh*-*-symbianelf* | \
- sh-*-rtemscoff* | \
sparclet-*-aout* | \
sparc86x-*-aout* | \
sparc*-*-chorus* | \
case $targ in
*-go32-rtems* | \
+ *-*-rtemsaout* | \
+ *-*-rtemscoff* | \
a29k-* | \
arm-*-oabi | \
hppa*-*-rtems* | \
i960-*-rtems* | \
- i[3-7]86*-*-rtemscoff* | \
m68*-*-lynxos* | \
- m68*-*-rtemscoff* | \
m68*-apollo-* | \
m68*-apple-aux* | \
m68*-bull-sysv* | \
maxq-*-coff | \
mips*el-*-rtems* | \
- powerpcle-*-rtems* | \
- sparc*-*-rtemsaout* | \
sparc-*-lynxos* | \
vax-*-vms* | \
null)
pdp11*) targ_archs=bfd_pdp11_arch ;;
pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
+pru*) targ_archs=bfd_pru_arch ;;
riscv*) targ_archs=bfd_riscv_arch ;;
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
s390*) targ_archs=bfd_s390_arch ;;
targ_defvec=arm_elf32_le_vec
targ_selvecs=arm_elf32_be_vec
;;
- arm-*-rtems*)
- targ_defvec=arm_elf32_le_vec
- targ_selvecs=arm_elf32_be_vec
- ;;
armeb-*-elf | arm*b-*-freebsd* | arm*b-*-linux-* | armeb-*-eabi*)
targ_defvec=arm_elf32_be_vec
targ_selvecs=arm_elf32_le_vec
;;
arm-*-elf | arm*-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \
arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \
- arm*-*-eabi* )
+ arm*-*-eabi* | arm-*-rtems*)
targ_defvec=arm_elf32_le_vec
targ_selvecs=arm_elf32_be_vec
;;
targ_defvec=tic30_coff_vec
;;
- c4x-*-*coff* | tic4x-*-*coff* | tic4x-*-rtems*)
+ c4x-*-*coff* | tic4x-*-*coff*)
targ_defvec=tic4x_coff1_vec
targ_selvecs="tic4x_coff1_beh_vec tic4x_coff2_vec tic4x_coff2_beh_vec tic4x_coff0_vec tic4x_coff0_beh_vec"
targ_underscore=yes
targ_defvec=moxie_elf32_le_vec
;;
- h8300*-*-rtemscoff*)
- targ_defvec=h8300_coff_vec
- targ_underscore=yes
- ;;
-
h8300*-*-elf | h8300*-*-rtems*)
targ_defvec=h8300_elf32_vec
targ_underscore=yes
;;
i[3-7]86-*-sysv4* | i[3-7]86-*-unixware* | \
i[3-7]86-*-elf* | i[3-7]86-*-sco3.2v5* | \
- i[3-7]86-*-dgux* | i[3-7]86-*-sysv5*)
+ i[3-7]86-*-dgux* | i[3-7]86-*-sysv5* | i[3-7]86-*-rtems*)
targ_defvec=i386_elf32_vec
targ_selvecs="iamcu_elf32_vec i386_coff_vec"
;;
i[3-7]86-*-aix*)
targ_defvec=i386_coff_vec
;;
- i[3-7]86-*-rtems*)
- targ_defvec=i386_elf32_vec
- targ_selvecs="iamcu_elf32_vec i386_coff_vec i386_aout_vec"
- ;;
i[3-7]86-*-darwin* | i[3-7]86-*-macos10* | i[3-7]86-*-rhapsody*)
targ_defvec=i386_mach_o_vec
targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec"
targ64_selvecs="x86_64_elf64_nacl_vec x86_64_elf32_nacl_vec"
targ_archs="$targ_archs bfd_arm_arch"
;;
+ i[3-7]86-*-redox*)
+ targ_defvec=i386_elf32_vec
+ targ_selvecs=
+ targ64_selvecs=x86_64_elf64_vec
+ ;;
#ifdef BFD64
x86_64-*-cloudabi*)
targ_defvec=x86_64_elf64_cloudabi_vec
targ_defvec=x86_64_elf64_vec
want64=true
;;
+ x86_64-*-redox*)
+ targ_defvec=x86_64_elf64_vec
+ targ_selvecs=i386_elf32_vec
+ want64=true
+ ;;
#endif
i[3-7]86-*-lynxos*)
targ_defvec=i386_elf32_vec
targ_selvecs="core_cisco_be_vec ieee_vec"
targ_underscore=yes
;;
- m68*-*-elf* | m68*-*-sysv4* | m68*-*-uclinux*)
+ m68*-*-elf* | m68*-*-sysv4* | m68*-*-rtems* | m68*-*-uclinux*)
targ_defvec=m68k_elf32_vec
targ_selvecs="m68k_coff_vec ieee_vec"
;;
- m68*-*-rtems*)
- targ_defvec=m68k_elf32_vec
- targ_selvecs="m68k_coff_vec m68k_versados_vec ieee_vec aout0_be_vec"
- ;;
m68*-*-coff* | m68*-*-sysv*)
targ_defvec=m68k_coff_vec
targ_selvecs="m68k_coff_vec m68k_versados_vec ieee_vec"
targ_selvecs="powerpc_pei_le_vec powerpc_pei_vec powerpc_pe_le_vec powerpc_pe_vec"
;;
+ pru-*-*)
+ targ_defvec=pru_elf32_vec
+ targ_underscore=yes
+ ;;
+
#ifdef BFD64
riscv32-*-*)
targ_defvec=riscv_elf32_vec
;;
#endif
- sh-*-rtemscoff*)
- targ_defvec=sh_coff_vec
- targ_selvecs="sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec"
- targ_underscore=yes
- ;;
-
#ifdef BFD64
sh-*-elf* | sh[1234]*-elf* | sh-*-rtems* | sh-*-kaos*)
targ_defvec=sh_elf32_vec