1993-08-17 16:43:52 +00:00
|
|
|
# config.bfd
|
|
|
|
# Convert a canonical host type into a BFD host type.
|
1995-09-04 18:31:40 +00:00
|
|
|
# Set shell variable targ to canonical target name, and run
|
|
|
|
# using ``. config.bfd''.
|
|
|
|
# Sets the following shell variables:
|
|
|
|
# targ_defvec Default vector for this target
|
|
|
|
# targ_selvecs Vectors to build for this target
|
|
|
|
# targ_archs Architectures for this target
|
|
|
|
# targ_cflags $(CFLAGS) for this target (FIXME: pretty bogus)
|
1996-12-27 17:24:12 +00:00
|
|
|
# targ_underscore Whether underscores are used: yes or no
|
1993-08-17 16:43:52 +00:00
|
|
|
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
# Part of this file is processed by targmatch.sed to generate the
|
|
|
|
# targmatch.h file. The #ifdef and #endif lines that appear below are
|
|
|
|
# copied directly into targmatch.h.
|
|
|
|
|
1994-07-14 21:35:54 +00:00
|
|
|
# The binutils c++filt program wants to know whether underscores are
|
1995-09-04 18:31:40 +00:00
|
|
|
# stripped or not. That is why we set targ_underscore. c++filt uses
|
|
|
|
# this information to choose a default. This information is
|
|
|
|
# duplicated in the symbol_leading_char field of the BFD target
|
|
|
|
# vector, but c++filt does not deal with object files and is not
|
|
|
|
# linked against libbfd.a. It is not terribly important that c++filt
|
|
|
|
# get this right; it is just convenient.
|
|
|
|
|
|
|
|
targ_defvec=
|
|
|
|
targ_selvecs=
|
|
|
|
targ_cflags=
|
|
|
|
targ_underscore=no
|
|
|
|
|
1996-12-27 17:24:12 +00:00
|
|
|
targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1995-09-04 18:31:40 +00:00
|
|
|
case "${targ_cpu}" in
|
1997-10-08 18:39:23 +00:00
|
|
|
alpha*) targ_archs=bfd_alpha_arch ;;
|
1995-09-04 18:31:40 +00:00
|
|
|
arm*) targ_archs=bfd_arm_arch ;;
|
1998-02-12 23:03:13 +00:00
|
|
|
c30*) targ_archs=bfd_tic30_arch ;;
|
1997-12-22 10:05:34 +00:00
|
|
|
thumb*) targ_archs=bfd_arm_arch ;;
|
1995-09-04 18:31:40 +00:00
|
|
|
hppa*) targ_archs=bfd_hppa_arch ;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86) targ_archs=bfd_i386_arch ;;
|
1995-09-04 18:31:40 +00:00
|
|
|
m68*) targ_archs=bfd_m68k_arch ;;
|
|
|
|
m88*) targ_archs=bfd_m88k_arch ;;
|
|
|
|
mips*) targ_archs=bfd_mips_arch ;;
|
|
|
|
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
|
|
|
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
|
1998-04-28 19:18:10 +00:00
|
|
|
sparc*) targ_archs=bfd_sparc_arch ;;
|
1997-08-25 23:00:29 +00:00
|
|
|
v850*) targ_archs=bfd_v850_arch ;;
|
1995-09-04 18:31:40 +00:00
|
|
|
z8k*) targ_archs=bfd_z8k_arch ;;
|
|
|
|
*) targ_archs=bfd_${targ_cpu}_arch ;;
|
|
|
|
esac
|
1994-07-14 21:35:54 +00:00
|
|
|
|
1998-03-18 17:28:50 +00:00
|
|
|
# start-sanitize-sky
|
|
|
|
case "${targ}" in
|
|
|
|
mips64r5900-sky-elf*) targ_archs="${targ_archs} bfd_dvp_arch" ;;
|
|
|
|
esac
|
|
|
|
# end-sanitize-sky
|
|
|
|
|
1993-08-17 16:43:52 +00:00
|
|
|
# WHEN ADDING ENTRIES TO THIS MATRIX:
|
|
|
|
# Make sure that the left side always has two dashes. Otherwise you
|
|
|
|
# can get spurious matches. Even for unambiguous cases, do this as a
|
|
|
|
# convention, else the table becomes a real mess to understand and maintain.
|
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
case "${targ}" in
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
# START OF targmatch.h
|
|
|
|
#ifdef BFD64
|
1998-02-12 23:03:13 +00:00
|
|
|
alpha*-*-netbsd*)
|
|
|
|
targ_defvec=bfd_elf64_alpha_vec
|
|
|
|
targ_selvecs=ecoffalpha_little_vec
|
|
|
|
;;
|
1997-10-03 21:06:27 +00:00
|
|
|
alpha*-*-netware*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=ecoffalpha_little_vec
|
|
|
|
targ_selvecs=nlm32_alpha_vec
|
|
|
|
;;
|
1997-10-03 21:06:27 +00:00
|
|
|
alpha*-*-linuxecoff*)
|
1996-06-21 16:40:43 +00:00
|
|
|
targ_defvec=ecoffalpha_little_vec
|
|
|
|
targ_selvecs=bfd_elf64_alpha_vec
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
alpha*-*-linux-gnu* | alpha*-*-elf*)
|
1996-06-21 16:40:43 +00:00
|
|
|
targ_defvec=bfd_elf64_alpha_vec
|
|
|
|
targ_selvecs=ecoffalpha_little_vec
|
|
|
|
;;
|
1997-10-03 21:06:27 +00:00
|
|
|
alpha*-*-*vms*)
|
1998-07-02 18:41:08 +00:00
|
|
|
targ_defvec=vms_alpha_vec
|
1996-06-21 16:40:43 +00:00
|
|
|
;;
|
1997-10-03 21:06:27 +00:00
|
|
|
alpha*-*-*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=ecoffalpha_little_vec
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
#endif /* BFD64 */
|
1995-09-04 18:31:40 +00:00
|
|
|
|
|
|
|
arc-*-elf*)
|
|
|
|
targ_defvec=bfd_elf32_littlearc_vec
|
1996-07-18 00:47:05 +00:00
|
|
|
targ_selvecs=bfd_elf32_bigarc_vec
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
1997-08-15 12:08:52 +00:00
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
arm-*-riscix*)
|
|
|
|
targ_defvec=riscix_vec
|
|
|
|
;;
|
|
|
|
arm-*-pe*)
|
|
|
|
targ_defvec=armpe_little_vec
|
|
|
|
targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1995-07-03 21:11:15 +00:00
|
|
|
arm-*-aout | armel-*-aout)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=aout_arm_little_vec
|
|
|
|
targ_selvecs=aout_arm_big_vec
|
|
|
|
;;
|
|
|
|
armeb-*-aout)
|
|
|
|
targ_defvec=aout_arm_big_vec
|
|
|
|
targ_selvecs=aout_arm_little_vec
|
|
|
|
;;
|
1995-09-28 08:08:49 +00:00
|
|
|
arm-*-coff)
|
|
|
|
targ_defvec=armcoff_little_vec
|
|
|
|
targ_selvecs=armcoff_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-11-05 00:05:50 +00:00
|
|
|
arm-*-elf)
|
|
|
|
targ_defvec=bfd_elf32_littlearm_vec
|
|
|
|
targ_selvecs=bfd_elf32_bigarm_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-12-22 10:05:34 +00:00
|
|
|
thumb-*-coff)
|
|
|
|
targ_defvec=armcoff_little_vec
|
|
|
|
targ_selvecs=armcoff_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-11-05 00:05:50 +00:00
|
|
|
thumb-*-elf)
|
|
|
|
targ_defvec=bfd_elf32_littlearm_vec
|
|
|
|
targ_selvecs=bfd_elf32_bigarm_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-04-08 18:57:42 +00:00
|
|
|
thumb-*-pe*)
|
1998-03-18 17:28:50 +00:00
|
|
|
targ_defvec=armpe_little_vec
|
|
|
|
targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
|
|
|
|
targ_underscore=yes
|
1998-04-08 18:57:42 +00:00
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \
|
|
|
|
a29k-*-vxworks* | a29k-*-sysv*)
|
|
|
|
targ_defvec=a29kcoff_big_vec
|
|
|
|
targ_selvecs=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
a29k-*-aout* | a29k-*-bsd* | a29k-*-vsta*)
|
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
1998-02-12 23:03:13 +00:00
|
|
|
c30-*-*aout* | tic30-*-*aout*)
|
|
|
|
targ_defvec=tic30_aout_vec
|
|
|
|
;;
|
|
|
|
c30-*-*coff* | tic30-*-*coff*)
|
|
|
|
targ_defvec=tic30_coff_vec
|
|
|
|
;;
|
|
|
|
|
1996-07-18 00:47:05 +00:00
|
|
|
d10v-*-*)
|
|
|
|
targ_defvec=bfd_elf32_d10v_vec
|
|
|
|
;;
|
|
|
|
|
Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in, archures.c, config.bfd, configure.in, elf.c,
reloc.c, targets.c: New target, elf-*-D30V.
* bfd-in2.h, configure, libbfd.h: Rebuilt.
* cpu-d30v.c, elf32-d30v.c: New files.
1997-02-19 01:29:29 +00:00
|
|
|
d30v-*-*)
|
|
|
|
targ_defvec=bfd_elf32_d30v_vec
|
|
|
|
;;
|
|
|
|
|
1998-11-05 00:05:50 +00:00
|
|
|
fr30-*-elf)
|
|
|
|
targ_defvec=bfd_elf32_fr30_vec
|
|
|
|
;;
|
|
|
|
|
1998-03-18 17:28:50 +00:00
|
|
|
# start-sanitize-sky
|
|
|
|
dvp-*-*)
|
|
|
|
targ_defvec=bfd_elf32_littlemips_vec
|
|
|
|
targ_selvecs=bfd_elf64_littlemips_vec
|
|
|
|
;;
|
|
|
|
# end-sanitize-sky
|
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
h8300*-*-*)
|
|
|
|
targ_defvec=h8300coff_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
h8500-*-*)
|
|
|
|
targ_defvec=h8500coff_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
1997-05-05 22:20:46 +00:00
|
|
|
hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_hppa_vec
|
|
|
|
;;
|
1998-12-09 00:49:31 +00:00
|
|
|
#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) || defined (HOST_HPPAMPEIX)
|
1995-09-04 18:31:40 +00:00
|
|
|
hppa*-*-bsd*)
|
|
|
|
targ_defvec=som_vec
|
|
|
|
targ_selvecs=bfd_elf32_hppa_vec
|
|
|
|
;;
|
1998-12-09 00:49:31 +00:00
|
|
|
hppa*-*-hpux* | hppa*-*-hiux* | hppa*-*-mpeix*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=som_vec
|
|
|
|
;;
|
|
|
|
hppa*-*-osf*)
|
|
|
|
targ_defvec=som_vec
|
|
|
|
targ_selvecs=bfd_elf32_hppa_vec
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
#endif /* defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) */
|
1995-09-04 18:31:40 +00:00
|
|
|
|
1998-01-27 17:48:57 +00:00
|
|
|
i[3456]86-*-sco3.2v5*coff)
|
|
|
|
targ_defvec=i386coff_vec
|
1998-04-28 19:18:10 +00:00
|
|
|
targ_selvecs=bfd_elf32_i386_vec
|
1998-01-27 17:48:57 +00:00
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-sysv4* | i[3456]86-*-unixware | i[3456]86-*-solaris2* | \
|
1998-01-27 17:48:57 +00:00
|
|
|
i[3456]86-*-elf | i[3456]86-*-sco3.2v5* | i[3456]86-*-freebsdelf* | \
|
1998-04-28 19:18:10 +00:00
|
|
|
i[3456]86-*-dgux* | i[3456]86-*-sysv5*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
targ_selvecs=i386coff_vec
|
|
|
|
;;
|
1997-12-22 10:05:34 +00:00
|
|
|
i[3456]86-*-msdosdjgpp* | i[3456]*-*-go32* | i[3456]86-go32-rtems* )
|
1997-08-15 12:08:52 +00:00
|
|
|
targ_defvec=go32coff_vec
|
|
|
|
targ_selvecs="go32stubbedcoff_vec i386aout_vec"
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-sysv* | i[3456]86-*-isc* | i[3456]86-*-sco* | i[3456]86-*-coff | \
|
1997-08-15 12:08:52 +00:00
|
|
|
i[3456]86-*-aix* | i[3456]86*-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386coff_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-sequent-bsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386dynix_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-bsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386bsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-freebsd*)
|
1996-01-05 05:44:27 +00:00
|
|
|
targ_defvec=i386freebsd_vec
|
|
|
|
targ_selvecs=i386bsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
i[3456]86-*-netbsd* | i[3456]86-*-openbsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386netbsd_vec
|
|
|
|
targ_selvecs=i386bsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-netware*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec"
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
i[3456]86-*-linux*aout*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386linux_vec
|
|
|
|
targ_selvecs=bfd_elf32_i386_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
i[3456]86-*-linux-gnu*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
targ_selvecs=i386linux_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-lynxos*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386lynx_coff_vec
|
|
|
|
targ_selvecs=i386lynx_aout_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-gnu*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-mach* | i[3456]86-*-osf1mk*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386mach3_vec
|
|
|
|
targ_cflags=-DSTAT_FOR_EXEC
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-os9k)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386os9k_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-msdos*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386aout_vec
|
|
|
|
targ_selvecs=i386msdos_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-moss*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
targ_selvecs="i386msdos_vec i386aout_vec"
|
|
|
|
;;
|
1998-07-23 23:50:13 +00:00
|
|
|
# start-sanitize-beos
|
|
|
|
i[3456]86-*-beospe*)
|
|
|
|
targ_defvec=i386pe_vec
|
|
|
|
targ_selvecs="i386pe_vec i386pei_vec"
|
|
|
|
;;
|
|
|
|
i[3456]86-*-beoself* | i[3456]86-*-beos*)
|
|
|
|
targ_defvec=bfd_elf32_i386_vec
|
|
|
|
;;
|
|
|
|
# end-sanitize-beos
|
1998-12-06 21:31:24 +00:00
|
|
|
i[3456]86-*-mingw32* | i[3456]86-*-cygwin* | i[3456]86-*-winnt | i[3456]86-*-pe)
|
1995-09-18 18:37:58 +00:00
|
|
|
targ_defvec=i386pe_vec
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_selvecs="i386pe_vec i386pei_vec"
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-none-*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=i386coff_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
i[3456]86-*-aout* | i[3456]86*-*-vsta*)
|
1995-09-04 21:03:18 +00:00
|
|
|
targ_defvec=i386aout_vec
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
|
|
|
|
1996-01-05 05:44:27 +00:00
|
|
|
i860-*-mach3* | i860-*-osf1* | i860-*-coff*)
|
|
|
|
targ_defvec=i860coff_vec
|
|
|
|
;;
|
|
|
|
i860-*-sysv4* | i860-*-elf*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_i860_vec
|
|
|
|
;;
|
|
|
|
|
|
|
|
i960-*-vxworks4* | i960-*-vxworks5.0)
|
|
|
|
targ_defvec=b_out_vec_little_host
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-07-18 00:47:05 +00:00
|
|
|
i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv* | i960-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=icoff_little_vec
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*)
|
|
|
|
targ_defvec=b_out_vec_little_host
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1993-08-17 16:43:52 +00:00
|
|
|
|
1996-10-01 20:15:48 +00:00
|
|
|
m32r-*-*)
|
|
|
|
targ_defvec=bfd_elf32_m32r_vec
|
|
|
|
;;
|
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
m68*-apollo-*)
|
|
|
|
targ_defvec=apollocoff_vec
|
|
|
|
;;
|
|
|
|
m68*-bull-sysv*)
|
|
|
|
targ_defvec=m68kcoffun_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-03-20 21:23:10 +00:00
|
|
|
m68*-motorola-sysv*)
|
|
|
|
targ_defvec=m68ksysvcoff_vec
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
m68*-hp-bsd*)
|
|
|
|
targ_defvec=hp300bsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
m68*-*-aout*)
|
|
|
|
targ_defvec=aout0_big_vec
|
1996-03-22 17:21:03 +00:00
|
|
|
# We include cisco_core_vec here, rather than making a separate cisco
|
1995-09-04 18:31:40 +00:00
|
|
|
# configuration, so that cisco-core.c gets routinely tested at
|
|
|
|
# least for compilation.
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="cisco_core_vec ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-01-05 05:44:27 +00:00
|
|
|
m68*-*-elf* | m68*-*-sysv4*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_m68k_vec
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="m68kcoff_vec ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
1996-07-18 00:47:05 +00:00
|
|
|
m68*-*-coff* | m68*-*-sysv* | m68*-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=m68kcoff_vec
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_selvecs="m68kcoff_vec versados_vec ieee_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
|
|
|
m68*-*-hpux*)
|
|
|
|
targ_defvec=hp300hpux_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
m68*-*-linux*aout*)
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_defvec=m68klinux_vec
|
|
|
|
targ_selvecs=bfd_elf32_m68k_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
m68*-*-linux-gnu*)
|
1996-03-22 17:21:03 +00:00
|
|
|
targ_defvec=bfd_elf32_m68k_vec
|
|
|
|
targ_selvecs=m68klinux_vec
|
|
|
|
;;
|
1998-12-06 21:31:24 +00:00
|
|
|
m68*-*-gnu*)
|
|
|
|
targ_defvec=bfd_elf32_m68k_vec
|
|
|
|
# targ_selvecs=m68kmach3_vec
|
|
|
|
# targ_cflags=-DSTAT_FOR_EXEC
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
m68*-*-lynxos*)
|
|
|
|
targ_defvec=m68klynx_coff_vec
|
|
|
|
targ_selvecs=m68klynx_aout_vec
|
|
|
|
;;
|
1995-10-28 00:30:38 +00:00
|
|
|
m68*-hp*-netbsd*)
|
|
|
|
targ_defvec=m68k4knetbsd_vec
|
|
|
|
targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec"
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
m68*-*-netbsd* | m68*-*-openbsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=m68knetbsd_vec
|
1995-10-28 00:30:38 +00:00
|
|
|
targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \
|
|
|
|
m68*-*-bsd* | m68*-*-vsta*)
|
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
m68*-ericsson-*)
|
|
|
|
targ_defvec=sunos_big_vec
|
1996-12-27 17:24:12 +00:00
|
|
|
targ_selvecs="m68kcoff_vec versados_vec tekhex_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-01-05 05:44:27 +00:00
|
|
|
m68*-cbm-*)
|
|
|
|
targ_defvec=bfd_elf32_m68k_vec
|
|
|
|
targ_selvecs=m68kcoff_vec
|
|
|
|
;;
|
1996-01-31 18:17:12 +00:00
|
|
|
m68*-apple-aux*)
|
|
|
|
targ_defvec=m68kaux_coff_vec
|
|
|
|
;;
|
1996-03-22 17:21:03 +00:00
|
|
|
m68*-*-psos*)
|
|
|
|
targ_defvec=bfd_elf32_m68k_vec
|
|
|
|
targ_selvecs=ieee_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
|
|
|
|
m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*)
|
|
|
|
targ_defvec=bfd_elf32_m88k_vec
|
|
|
|
targ_selvecs=m88kbcs_vec
|
|
|
|
;;
|
|
|
|
m88*-*-mach3*)
|
|
|
|
targ_defvec=m88kmach3_vec
|
|
|
|
targ_cflags=-DSTAT_FOR_EXEC
|
|
|
|
;;
|
|
|
|
m88*-*-*)
|
|
|
|
targ_defvec=m88kbcs_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
mips*-big-*)
|
|
|
|
targ_defvec=ecoff_big_vec
|
|
|
|
targ_selvecs=ecoff_little_vec
|
|
|
|
;;
|
1997-12-29 15:04:55 +00:00
|
|
|
mips-dec-netbsd* | mips*el*-*-netbsd*)
|
1995-09-18 18:37:58 +00:00
|
|
|
targ_defvec=bfd_elf32_littlemips_vec
|
1997-12-29 15:04:55 +00:00
|
|
|
targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"
|
|
|
|
;;
|
|
|
|
mips*-*-netbsd*)
|
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
|
1995-09-18 18:37:58 +00:00
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
mips*-dec-bsd*)
|
|
|
|
targ_defvec=aout_mips_little_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
mips*-dec-mach3*)
|
|
|
|
targ_defvec=aout_mips_little_vec
|
|
|
|
targ_cflags=-DSTAT_FOR_EXEC
|
|
|
|
;;
|
|
|
|
mips*-dec-* | mips*el-*-ecoff*)
|
|
|
|
targ_defvec=ecoff_little_vec
|
|
|
|
targ_selvecs=ecoff_big_vec
|
|
|
|
;;
|
|
|
|
mips*-*-ecoff*)
|
|
|
|
targ_defvec=ecoff_big_vec
|
|
|
|
targ_selvecs=ecoff_little_vec
|
|
|
|
;;
|
1996-07-18 20:33:22 +00:00
|
|
|
mips*-*-irix6*)
|
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
mips*-*-irix5*)
|
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
|
|
|
|
;;
|
|
|
|
mips*-sgi-* | mips*-*-bsd*)
|
|
|
|
targ_defvec=ecoff_big_vec
|
|
|
|
targ_selvecs=ecoff_little_vec
|
|
|
|
;;
|
1997-03-20 21:23:10 +00:00
|
|
|
mips*-*-lnews*)
|
|
|
|
targ_defvec=ecoff_biglittle_vec
|
|
|
|
targ_selvecs="ecoff_little_vec ecoff_big_vec"
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
mips*-*-mach3*)
|
|
|
|
targ_defvec=aout_mips_little_vec
|
|
|
|
targ_cflags=-DSTAT_FOR_EXEC
|
|
|
|
;;
|
|
|
|
mips*-*-sysv4*)
|
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
|
|
|
|
;;
|
|
|
|
mips*-*-sysv* | mips*-*-riscos*)
|
|
|
|
targ_defvec=ecoff_big_vec
|
|
|
|
targ_selvecs=ecoff_little_vec
|
|
|
|
;;
|
|
|
|
mips*el-*-elf*)
|
|
|
|
targ_defvec=bfd_elf32_littlemips_vec
|
1996-06-06 15:30:28 +00:00
|
|
|
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
1996-10-01 20:15:48 +00:00
|
|
|
mips*-*-elf* | mips*-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
1996-06-06 15:30:28 +00:00
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in, archures.c, config.bfd, configure.in, elf.c,
reloc.c, targets.c: New target, elf-*-D30V.
* bfd-in2.h, configure, libbfd.h: Rebuilt.
* cpu-d30v.c, elf32-d30v.c: New files.
1997-02-19 01:29:29 +00:00
|
|
|
mips*-*-none)
|
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
mips*el*-*-linux-gnu* | mips*el*-*-openbsd*)
|
1996-12-31 21:27:05 +00:00
|
|
|
targ_defvec=bfd_elf32_littlemips_vec
|
1997-03-28 17:39:23 +00:00
|
|
|
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"
|
1996-12-31 21:27:05 +00:00
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
mips*-*-linux-gnu* | mips*-*-openbsd*)
|
1996-12-31 21:27:05 +00:00
|
|
|
targ_defvec=bfd_elf32_bigmips_vec
|
1997-03-28 17:39:23 +00:00
|
|
|
targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec"
|
1996-12-31 21:27:05 +00:00
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
|
1996-10-03 16:42:22 +00:00
|
|
|
mn10200-*-*)
|
|
|
|
targ_defvec=bfd_elf32_mn10200_vec
|
|
|
|
;;
|
|
|
|
|
|
|
|
mn10300-*-*)
|
|
|
|
targ_defvec=bfd_elf32_mn10300_vec
|
1996-10-03 03:56:20 +00:00
|
|
|
;;
|
|
|
|
|
NS32k changes from Ian Dall:
* aoutx.h (MY_final_link_relocate, MY_relocate_contents): New macros.
(aout_link_input_section_std, aout_link_input_section_ext,
aout_link_reloc_link_order): Call them instead of _bfd_* versions.
* aout-target.h (MY_exec_header_not_counted): New macro, defaults to zero.
(backend_data): Use it instead of hardcoded zero.
* aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro.
(MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi.
* ns32knetbsd.c: Include bfd.h.
(MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros.
(MY_bfd_reloc_type_lookup): Declare function too.
* pc532-mach.c (set_sizes): Don't declare.
(MY_text_includes_header, MY_exec_header_not_counted): Define.
(backend_data, MY_backend_data): Don't define.
* config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-*-lites*
like ns32k-*-netbsd*.
* hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to compile on
lites.
1995-10-04 20:25:21 +00:00
|
|
|
ns32k-pc532-mach* | ns32k-pc532-ux*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=pc532machaout_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=pc532netbsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
1997-03-20 21:23:10 +00:00
|
|
|
powerpc-*-aix* | powerpc-*-beos*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=rs6000coff_vec
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
|
1998-02-12 23:03:13 +00:00
|
|
|
powerpc-*-solaris2* | powerpc-*-linux-gnu* | powerpc-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_powerpc_vec
|
1998-04-08 18:57:42 +00:00
|
|
|
targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
NS32k changes from Ian Dall:
* aoutx.h (MY_final_link_relocate, MY_relocate_contents): New macros.
(aout_link_input_section_std, aout_link_input_section_ext,
aout_link_reloc_link_order): Call them instead of _bfd_* versions.
* aout-target.h (MY_exec_header_not_counted): New macro, defaults to zero.
(backend_data): Use it instead of hardcoded zero.
* aout-ns32k.c (CTOR_TABLE_RELOC_HOWTO): New macro.
(MY_swap_std_reloc_out): Use udata.i for KEEPIT, don't call stoi.
* ns32knetbsd.c: Include bfd.h.
(MY_text_includes_header, MY_bfd_reloc_type_lookup): New macros.
(MY_bfd_reloc_type_lookup): Declare function too.
* pc532-mach.c (set_sizes): Don't declare.
(MY_text_includes_header, MY_exec_header_not_counted): Define.
(backend_data, MY_backend_data): Don't define.
* config.bfd: Treat ns32k-pc532-ux* like ns32k-pc532-mach*, and ns32k-*-lites*
like ns32k-*-netbsd*.
* hosts/nbsd.h: Swap order of sys/vmparam.h and sys/param.h, to compile on
lites.
1995-10-04 20:25:21 +00:00
|
|
|
powerpc-*-macos* | powerpc-*-mpw*)
|
|
|
|
targ_defvec=pmac_xcoff_vec
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
powerpc-*-netware*)
|
|
|
|
targ_defvec=bfd_elf32_powerpc_vec
|
|
|
|
targ_selvecs="nlm32_powerpc_vec rs6000coff_vec"
|
|
|
|
;;
|
|
|
|
powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
|
1998-02-12 23:03:13 +00:00
|
|
|
powerpcle-*-solaris2* | powerpcle-*-linux-gnu*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_powerpcle_vec
|
1998-04-08 18:57:42 +00:00
|
|
|
targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
|
1995-09-04 18:31:40 +00:00
|
|
|
;;
|
|
|
|
|
1998-12-06 21:31:24 +00:00
|
|
|
powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*)
|
1995-09-27 11:36:47 +00:00
|
|
|
targ_defvec=bfd_powerpcle_pe_vec
|
|
|
|
targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
|
|
|
|
;;
|
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
rs6000-*-*)
|
|
|
|
targ_defvec=rs6000coff_vec
|
|
|
|
;;
|
|
|
|
|
1998-04-08 18:57:42 +00:00
|
|
|
sh-*-elf*)
|
1996-09-09 19:32:40 +00:00
|
|
|
targ_defvec=bfd_elf32_sh_vec
|
1997-10-22 20:12:02 +00:00
|
|
|
targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
|
1996-09-09 19:32:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-04-08 18:57:42 +00:00
|
|
|
sh-*-* | sh-*-rtems*)
|
1996-09-09 19:32:40 +00:00
|
|
|
targ_defvec=shcoff_vec
|
1997-10-22 20:12:02 +00:00
|
|
|
targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
|
1996-09-09 19:32:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
sparclet-*-aout*)
|
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_selvecs=sparcle_aout_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-11-05 00:05:50 +00:00
|
|
|
sparc86x-*-aout*)
|
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-04-28 19:18:10 +00:00
|
|
|
sparclite-*-elf* | sparc86x-*-elf*)
|
1998-03-18 17:28:50 +00:00
|
|
|
targ_defvec=bfd_elf32_sparc_vec
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
sparc-*-linux*aout*)
|
|
|
|
targ_defvec=sparclinux_vec
|
|
|
|
targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
sparc-*-linux-gnu*)
|
1997-05-05 22:20:46 +00:00
|
|
|
targ_defvec=bfd_elf32_sparc_vec
|
|
|
|
targ_selvecs="sparclinux_vec sunos_big_vec"
|
|
|
|
;;
|
1995-09-04 18:31:40 +00:00
|
|
|
sparc-*-lynxos*)
|
|
|
|
targ_defvec=sparclynx_coff_vec
|
|
|
|
targ_selvecs=sparclynx_aout_vec
|
|
|
|
;;
|
1997-05-05 22:20:46 +00:00
|
|
|
sparc-*-netbsd* | sparc-*-openbsd*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=sparcnetbsd_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
sparc-*-elf* | sparc-*-solaris2*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=bfd_elf32_sparc_vec
|
|
|
|
targ_selvecs=sunos_big_vec
|
|
|
|
;;
|
1996-08-29 21:16:27 +00:00
|
|
|
sparc-*-sysv4*)
|
|
|
|
targ_defvec=bfd_elf32_sparc_vec
|
|
|
|
;;
|
1997-12-22 10:05:34 +00:00
|
|
|
sparc-*-netware*)
|
|
|
|
targ_defvec=bfd_elf32_sparc_vec
|
|
|
|
targ_selvecs="nlm32_sparc_vec sunos_big_vec"
|
|
|
|
;;
|
|
|
|
#ifdef BFD64
|
1996-01-05 05:44:27 +00:00
|
|
|
sparc64-*-aout*)
|
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
1998-02-12 23:03:13 +00:00
|
|
|
sparc64-*-linux-gnu*)
|
1997-12-22 10:05:34 +00:00
|
|
|
targ_defvec=bfd_elf64_sparc_vec
|
|
|
|
targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
|
|
|
|
;;
|
* archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.
start-sanitize-v8plus
(bfd_mach_sparc_{v8plus,v8plusa}): Define.
end-sanitize-v8plus
(bfd_mach_sparc_v9a): Define.
* bfd-in2.h: Regenerated.
* aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to
bfd_mach_sparc_v9.
* config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec
to bfd_elf32_sparc_vec.
* cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info.
start-sanitize-v8plus
Add v8plus{,a} support.
end-sanitize-v8plus
Add v9a support.
start-sanitize-v8plus
* elf32-sparc.h: #include "elf/sparc.h".
(elf32_sparc_set_private_flags, elf32_sparc_copy_private_bfd_data,
elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p,
elf32_sparc_final_write_processing): New functions.
(bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p,
elf_backend_final_write_processing): Define.
end-sanitize-v8plus
1996-01-22 17:15:49 +00:00
|
|
|
sparc64-*-elf*)
|
|
|
|
targ_defvec=bfd_elf64_sparc_vec
|
|
|
|
targ_selvecs=bfd_elf32_sparc_vec
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
#endif /* BFD64 */
|
1995-09-04 18:31:40 +00:00
|
|
|
sparc*-*-coff*)
|
|
|
|
targ_defvec=sparccoff_vec
|
|
|
|
;;
|
1996-07-18 00:47:05 +00:00
|
|
|
sparc*-*-* | sparc*-*-rtems*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=sunos_big_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
1997-05-09 21:40:42 +00:00
|
|
|
#if HAVE_host_aout_vec
|
1995-09-04 18:31:40 +00:00
|
|
|
tahoe-*-*)
|
|
|
|
targ_defvec=host_aout_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
#endif
|
1996-12-28 04:09:34 +00:00
|
|
|
# start-sanitize-tic80
|
1997-12-29 08:38:52 +00:00
|
|
|
|
Tue Feb 18 17:22:59 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* Makefile.in, archures.c, config.bfd, configure.in, elf.c,
reloc.c, targets.c: New target, elf-*-D30V.
* bfd-in2.h, configure, libbfd.h: Rebuilt.
* cpu-d30v.c, elf32-d30v.c: New files.
1997-02-19 01:29:29 +00:00
|
|
|
tic80*-*-*)
|
1996-12-28 04:09:34 +00:00
|
|
|
targ_defvec=tic80coff_vec
|
1997-08-15 12:08:52 +00:00
|
|
|
targ_underscore=yes
|
1996-12-28 04:09:34 +00:00
|
|
|
;;
|
|
|
|
|
|
|
|
# end-sanitize-tic80
|
1997-12-22 16:47:21 +00:00
|
|
|
|
1996-08-29 21:16:27 +00:00
|
|
|
v850-*-*)
|
|
|
|
targ_defvec=bfd_elf32_v850_vec
|
|
|
|
;;
|
1997-08-25 23:00:29 +00:00
|
|
|
# start-sanitize-v850e
|
|
|
|
v850e-*-*)
|
|
|
|
targ_defvec=bfd_elf32_v850_vec
|
|
|
|
;;
|
1997-12-22 10:05:34 +00:00
|
|
|
v850ea-*-*)
|
1997-08-25 23:00:29 +00:00
|
|
|
targ_defvec=bfd_elf32_v850_vec
|
|
|
|
;;
|
1997-10-03 21:06:27 +00:00
|
|
|
# end-sanitize-v850e
|
1997-05-09 21:40:42 +00:00
|
|
|
#if HAVE_host_aout_vec
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
vax-*-bsd* | vax-*-ultrix*)
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_defvec=host_aout_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
#endif
|
1995-09-04 18:31:40 +00:00
|
|
|
|
1998-07-02 18:41:08 +00:00
|
|
|
vax*-*-*vms*)
|
|
|
|
targ_defvec=vms_vax_vec
|
|
|
|
;;
|
|
|
|
|
1995-09-04 18:31:40 +00:00
|
|
|
we32k-*-*)
|
|
|
|
targ_defvec=we32kcoff_vec
|
|
|
|
;;
|
|
|
|
|
|
|
|
w65-*-*)
|
|
|
|
targ_defvec=w65_vec
|
|
|
|
;;
|
|
|
|
|
|
|
|
z8k*-*-*)
|
|
|
|
targ_defvec=z8kcoff_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
*-*-ieee*)
|
|
|
|
targ_defvec=ieee_vec
|
|
|
|
;;
|
|
|
|
|
|
|
|
*-adobe-*)
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
targ_defvec=a_out_adobe_vec
|
1995-09-04 18:31:40 +00:00
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
*-sony-*)
|
|
|
|
targ_defvec=newsos3_vec
|
|
|
|
targ_underscore=yes
|
|
|
|
;;
|
|
|
|
|
|
|
|
*-tandem-*)
|
|
|
|
targ_defvec=m68kcoff_vec
|
|
|
|
targ_selvecs=ieee_vec
|
|
|
|
;;
|
* configure.in: Add havevecs, and put it in tdefaults.
* mpw-config.in: Likewise.
* configure: Rebuild.
* targmatch.sed: New file; a sed script to build targmatch.h from
config.bfd.
* config.bfd: Add #if, #endif, and comments for targmatch.h.
* targets.c: Include "fnmatch.h".
(struct targmatch): Define.
(bfd_target_match): Define by including targmatch.h.
(bfd_find_target): If the target is not found by name, search for
it as a configuration triplet.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add aout-arm.o, aout-sparcle.o, hp300bsd.o,
i386dynix.o, m68k4knetbsd.o, and riscix.o.
(BFD32_BACKENDS_CFILES): Add aout-arm.c, aout-sparcle.c,
hp300bsd.c, i386dynix.c, m68k4knetbsd.c, and riscix.c.
(HFILES): Add targmatch.h. Also, alphabetize and reindent.
(CFILES): Remove i386dynix.c and hp300bsd.c.
(targmatch.h): New target.
(do_clean): Remove targmatch.h.
* configure.in: Add BFD_NEED_DECLARATION(getenv).
* acconfig.h: Add NEED_DECLARATION_GETENV.
* configure, config.in: Rebuild.
* sysdep.h: If NEED_DECLARATION_GETENV, declare getenv.
* aout-adobe.c (aout_adobe_object_p): Don't declare getenv.
1996-10-03 21:36:08 +00:00
|
|
|
# END OF targmatch.h
|
1995-09-04 18:31:40 +00:00
|
|
|
*)
|
|
|
|
echo 1>&2 "*** BFD does not support target ${targ}."
|
|
|
|
echo 1>&2 "*** Look in bfd/config.bfd for supported targets."
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
1998-07-02 18:41:08 +00:00
|
|
|
|
|
|
|
# If we support any ELF target, then automatically add support for the
|
|
|
|
# generic ELF targets. This permits an objdump with some ELF support
|
|
|
|
# to be used on an arbitrary ELF file for anything other than
|
|
|
|
# relocation information.
|
|
|
|
case "${targ_defvec} ${targ_selvecs}" in
|
|
|
|
*bfd_elf64*)
|
|
|
|
targ_selvecs="${targ_selvecs} bfd_elf64_little_generic_vec bfd_elf64_big_generic_vec bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec"
|
|
|
|
;;
|
|
|
|
*bfd_elf32*)
|
|
|
|
targ_selvecs="${targ_selvecs} bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec"
|
|
|
|
;;
|
|
|
|
esac
|