bfd target vector rationalisation
authorAlan Modra <amodra@gmail.com>
Fri, 2 May 2014 10:39:40 +0000 (20:09 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 2 May 2014 10:39:40 +0000 (20:09 +0930)
This renames the bfd targets to <cpu>_<format>_<other>_<endian>_vec.
So for example, bfd_elf32_ntradlittlemips_vec becomes
mips_elf32_ntrad_le_vec and hp300bsd_vec becomes m68k_aout_hp300bsd_vec.

bfd/
* aix386-core.c, * aout-adobe.c, * aout-arm.c, * aout-ns32k.c,
* aout-sparcle.c, * aout0.c, * aoutx.h, * armnetbsd.c, * bout.c,
* cf-i386lynx.c, * cf-sparclynx.c, * cisco-core.c, * coff-alpha.c,
* coff-apollo.c, * coff-arm.c, * coff-aux.c, * coff-go32.c,
* coff-h8300.c, * coff-h8500.c, * coff-i386.c, * coff-i860.c,
* coff-i960.c, * coff-m68k.c, * coff-m88k.c, * coff-mips.c,
* coff-rs6000.c, * coff-sh.c, * coff-sparc.c, * coff-stgo32.c,
* coff-svm68k.c, * coff-tic80.c, * coff-u68k.c, * coff-w65.c,
* coff-we32k.c, * coff-x86_64.c, * coff-z80.c, * coff-z8k.c,
* coff64-rs6000.c, * config.bfd, * configure.com, * configure.in,
* demo64.c, * elf-m10200.c, * elf-m10300.c, * elf32-am33lin.c,
* elf32-arc.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c,
* elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
* elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
* elf32-fr30.c, * elf32-frv.c, * elf32-gen.c, * elf32-h8300.c,
* elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-i860.c,
* elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
* elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
* elf32-m68k.c, * elf32-m88k.c, * elf32-mcore.c, * elf32-mep.c,
* elf32-metag.c, * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
* elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-nios2.c,
* elf32-or1k.c, * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c,
* elf32-rx.c, * elf32-s390.c, * elf32-score.c, * elf32-sh-symbian.c,
* elf32-sh.c, * elf32-sh64.c, * elf32-sparc.c, * elf32-spu.c,
* elf32-tic6x.c, * elf32-tilegx.c, * elf32-tilepro.c, * elf32-v850.c,
* elf32-vax.c, * elf32-xc16x.c, * elf32-xgate.c, * elf32-xstormy16.c,
* elf32-xtensa.c, * elf64-alpha.c, * elf64-gen.c, * elf64-hppa.c,
* elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, * elf64-ppc.c,
* elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c, * elf64-tilegx.c,
* elf64-x86-64.c, * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
* epoc-pe-arm.c, * epoc-pei-arm.c, * hp300bsd.c, * hp300hpux.c,
* hppabsd-core.c, * hpux-core.c, * i386aout.c, * i386bsd.c,
* i386dynix.c, * i386freebsd.c, * i386linux.c, * i386lynx.c,
* i386mach3.c, * i386msdos.c, * i386netbsd.c, * i386os9k.c,
* irix-core.c, * m68k4knetbsd.c, * m68klinux.c, * m68knetbsd.c,
* m88kmach3.c, * m88kopenbsd.c, * mach-o-i386.c, * mach-o-x86-64.c,
* makefile.vms, * mipsbsd.c, * mmo.c, * netbsd-core.c, * newsos3.c,
* nlm32-alpha.c, * nlm32-i386.c, * nlm32-ppc.c, * nlm32-sparc.c,
* ns32knetbsd.c, * osf-core.c, * pc532-mach.c, * pe-arm-wince.c,
* pe-arm.c, * pe-i386.c, * pe-mcore.c, * pe-mips.c, * pe-ppc.c,
* pe-sh.c, * pe-x86_64.c, * pei-arm-wince.c, * pei-arm.c,
* pei-i386.c, * pei-ia64.c, * pei-mcore.c, * pei-mips.c, * pei-ppc.c,
* pei-sh.c, * pei-x86_64.c, * ppcboot.c, * ptrace-core.c, * riscix.c,
* sco5-core.c, * som.c, * sparclinux.c, * sparclynx.c,
* sparcnetbsd.c, * sunos.c, * targets.c, * trad-core.c,
* vax1knetbsd.c, * vaxbsd.c, * vaxnetbsd.c, * versados.c,
* vms-alpha.c, * vms-lib.c: Rename bfd targets to
<cpu>_<format>_<other>_<endian>_vec.  Adjust associated MY macros
on aout targets.
* configure: Regenerate.
binutils/
* emul_aix.c: Update bfd target vector naming.
* testsuite/binutils-all/objcopy.exp: Likewise.
ld/
* emultempl/metagelf.em: Update bfd target vector naming.
* emultempl/nios2elf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/tic6xdsbt.em: Likewise.

201 files changed:
bfd/ChangeLog
bfd/aix386-core.c
bfd/aout-adobe.c
bfd/aout-arm.c
bfd/aout-ns32k.c
bfd/aout-sparcle.c
bfd/aout0.c
bfd/aoutx.h
bfd/armnetbsd.c
bfd/bout.c
bfd/cf-i386lynx.c
bfd/cf-sparclynx.c
bfd/cisco-core.c
bfd/coff-alpha.c
bfd/coff-apollo.c
bfd/coff-arm.c
bfd/coff-aux.c
bfd/coff-go32.c
bfd/coff-h8300.c
bfd/coff-h8500.c
bfd/coff-i386.c
bfd/coff-i860.c
bfd/coff-i960.c
bfd/coff-m68k.c
bfd/coff-m88k.c
bfd/coff-mips.c
bfd/coff-rs6000.c
bfd/coff-sh.c
bfd/coff-sparc.c
bfd/coff-stgo32.c
bfd/coff-svm68k.c
bfd/coff-tic80.c
bfd/coff-u68k.c
bfd/coff-w65.c
bfd/coff-we32k.c
bfd/coff-x86_64.c
bfd/coff-z80.c
bfd/coff-z8k.c
bfd/coff64-rs6000.c
bfd/config.bfd
bfd/configure
bfd/configure.com
bfd/configure.in
bfd/demo64.c
bfd/elf-m10200.c
bfd/elf-m10300.c
bfd/elf32-am33lin.c
bfd/elf32-arc.c
bfd/elf32-arm.c
bfd/elf32-avr.c
bfd/elf32-bfin.c
bfd/elf32-cr16.c
bfd/elf32-cr16c.c
bfd/elf32-cris.c
bfd/elf32-crx.c
bfd/elf32-d10v.c
bfd/elf32-d30v.c
bfd/elf32-dlx.c
bfd/elf32-epiphany.c
bfd/elf32-fr30.c
bfd/elf32-frv.c
bfd/elf32-gen.c
bfd/elf32-h8300.c
bfd/elf32-hppa.c
bfd/elf32-i370.c
bfd/elf32-i386.c
bfd/elf32-i860.c
bfd/elf32-i960.c
bfd/elf32-ip2k.c
bfd/elf32-iq2000.c
bfd/elf32-lm32.c
bfd/elf32-m32c.c
bfd/elf32-m32r.c
bfd/elf32-m68hc11.c
bfd/elf32-m68hc12.c
bfd/elf32-m68k.c
bfd/elf32-m88k.c
bfd/elf32-mcore.c
bfd/elf32-mep.c
bfd/elf32-metag.c
bfd/elf32-microblaze.c
bfd/elf32-mips.c
bfd/elf32-moxie.c
bfd/elf32-msp430.c
bfd/elf32-mt.c
bfd/elf32-nds32.c
bfd/elf32-nios2.c
bfd/elf32-or1k.c
bfd/elf32-pj.c
bfd/elf32-ppc.c
bfd/elf32-rl78.c
bfd/elf32-rx.c
bfd/elf32-s390.c
bfd/elf32-score.c
bfd/elf32-sh-symbian.c
bfd/elf32-sh.c
bfd/elf32-sh64.c
bfd/elf32-sparc.c
bfd/elf32-spu.c
bfd/elf32-tic6x.c
bfd/elf32-tilegx.c
bfd/elf32-tilepro.c
bfd/elf32-v850.c
bfd/elf32-vax.c
bfd/elf32-xc16x.c
bfd/elf32-xgate.c
bfd/elf32-xstormy16.c
bfd/elf32-xtensa.c
bfd/elf64-alpha.c
bfd/elf64-gen.c
bfd/elf64-hppa.c
bfd/elf64-ia64-vms.c
bfd/elf64-mips.c
bfd/elf64-mmix.c
bfd/elf64-ppc.c
bfd/elf64-s390.c
bfd/elf64-sh64.c
bfd/elf64-sparc.c
bfd/elf64-tilegx.c
bfd/elf64-x86-64.c
bfd/elfn32-mips.c
bfd/elfnn-aarch64.c
bfd/elfnn-ia64.c
bfd/epoc-pe-arm.c
bfd/epoc-pei-arm.c
bfd/hp300bsd.c
bfd/hp300hpux.c
bfd/hppabsd-core.c
bfd/hpux-core.c
bfd/i386aout.c
bfd/i386bsd.c
bfd/i386dynix.c
bfd/i386freebsd.c
bfd/i386linux.c
bfd/i386lynx.c
bfd/i386mach3.c
bfd/i386msdos.c
bfd/i386netbsd.c
bfd/i386os9k.c
bfd/irix-core.c
bfd/m68k4knetbsd.c
bfd/m68klinux.c
bfd/m68knetbsd.c
bfd/m88kmach3.c
bfd/m88kopenbsd.c
bfd/mach-o-i386.c
bfd/mach-o-x86-64.c
bfd/makefile.vms
bfd/mipsbsd.c
bfd/mmo.c
bfd/netbsd-core.c
bfd/newsos3.c
bfd/nlm32-alpha.c
bfd/nlm32-i386.c
bfd/nlm32-ppc.c
bfd/nlm32-sparc.c
bfd/ns32knetbsd.c
bfd/osf-core.c
bfd/pc532-mach.c
bfd/pe-arm-wince.c
bfd/pe-arm.c
bfd/pe-i386.c
bfd/pe-mcore.c
bfd/pe-mips.c
bfd/pe-ppc.c
bfd/pe-sh.c
bfd/pe-x86_64.c
bfd/pei-arm-wince.c
bfd/pei-arm.c
bfd/pei-i386.c
bfd/pei-ia64.c
bfd/pei-mcore.c
bfd/pei-mips.c
bfd/pei-ppc.c
bfd/pei-sh.c
bfd/pei-x86_64.c
bfd/ppcboot.c
bfd/ptrace-core.c
bfd/riscix.c
bfd/sco5-core.c
bfd/som.c
bfd/sparclinux.c
bfd/sparclynx.c
bfd/sparcnetbsd.c
bfd/sunos.c
bfd/targets.c
bfd/trad-core.c
bfd/vax1knetbsd.c
bfd/vaxbsd.c
bfd/vaxnetbsd.c
bfd/versados.c
bfd/vms-alpha.c
bfd/vms-lib.c
binutils/ChangeLog
binutils/emul_aix.c
binutils/testsuite/binutils-all/objcopy.exp
ld/ChangeLog
ld/emultempl/metagelf.em
ld/emultempl/nios2elf.em
ld/emultempl/spuelf.em
ld/emultempl/tic6xdsbt.em

index fbe5f72ceceeb394e95992d1c5f19b3300a1d694..ed546256d14adf378f01a15d558860ccff5caf82 100644 (file)
@@ -1,3 +1,56 @@
+2014-05-02  Alan Modra  <amodra@gmail.com>
+
+       * aix386-core.c, * aout-adobe.c, * aout-arm.c, * aout-ns32k.c,
+       * aout-sparcle.c, * aout0.c, * aoutx.h, * armnetbsd.c, * bout.c,
+       * cf-i386lynx.c, * cf-sparclynx.c, * cisco-core.c, * coff-alpha.c,
+       * coff-apollo.c, * coff-arm.c, * coff-aux.c, * coff-go32.c,
+       * coff-h8300.c, * coff-h8500.c, * coff-i386.c, * coff-i860.c,
+       * coff-i960.c, * coff-m68k.c, * coff-m88k.c, * coff-mips.c,
+       * coff-rs6000.c, * coff-sh.c, * coff-sparc.c, * coff-stgo32.c,
+       * coff-svm68k.c, * coff-tic80.c, * coff-u68k.c, * coff-w65.c,
+       * coff-we32k.c, * coff-x86_64.c, * coff-z80.c, * coff-z8k.c,
+       * coff64-rs6000.c, * config.bfd, * configure.com, * configure.in,
+       * demo64.c, * elf-m10200.c, * elf-m10300.c, * elf32-am33lin.c,
+       * elf32-arc.c, * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c,
+       * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c,
+       * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c,
+       * elf32-fr30.c, * elf32-frv.c, * elf32-gen.c, * elf32-h8300.c,
+       * elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-i860.c,
+       * elf32-i960.c, * elf32-ip2k.c, * elf32-iq2000.c, * elf32-lm32.c,
+       * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c,
+       * elf32-m68k.c, * elf32-m88k.c, * elf32-mcore.c, * elf32-mep.c,
+       * elf32-metag.c, * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c,
+       * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-nios2.c,
+       * elf32-or1k.c, * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c,
+       * elf32-rx.c, * elf32-s390.c, * elf32-score.c, * elf32-sh-symbian.c,
+       * elf32-sh.c, * elf32-sh64.c, * elf32-sparc.c, * elf32-spu.c,
+       * elf32-tic6x.c, * elf32-tilegx.c, * elf32-tilepro.c, * elf32-v850.c,
+       * elf32-vax.c, * elf32-xc16x.c, * elf32-xgate.c, * elf32-xstormy16.c,
+       * elf32-xtensa.c, * elf64-alpha.c, * elf64-gen.c, * elf64-hppa.c,
+       * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, * elf64-ppc.c,
+       * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c, * elf64-tilegx.c,
+       * elf64-x86-64.c, * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
+       * epoc-pe-arm.c, * epoc-pei-arm.c, * hp300bsd.c, * hp300hpux.c,
+       * hppabsd-core.c, * hpux-core.c, * i386aout.c, * i386bsd.c,
+       * i386dynix.c, * i386freebsd.c, * i386linux.c, * i386lynx.c,
+       * i386mach3.c, * i386msdos.c, * i386netbsd.c, * i386os9k.c,
+       * irix-core.c, * m68k4knetbsd.c, * m68klinux.c, * m68knetbsd.c,
+       * m88kmach3.c, * m88kopenbsd.c, * mach-o-i386.c, * mach-o-x86-64.c,
+       * makefile.vms, * mipsbsd.c, * mmo.c, * netbsd-core.c, * newsos3.c,
+       * nlm32-alpha.c, * nlm32-i386.c, * nlm32-ppc.c, * nlm32-sparc.c,
+       * ns32knetbsd.c, * osf-core.c, * pc532-mach.c, * pe-arm-wince.c,
+       * pe-arm.c, * pe-i386.c, * pe-mcore.c, * pe-mips.c, * pe-ppc.c,
+       * pe-sh.c, * pe-x86_64.c, * pei-arm-wince.c, * pei-arm.c,
+       * pei-i386.c, * pei-ia64.c, * pei-mcore.c, * pei-mips.c, * pei-ppc.c,
+       * pei-sh.c, * pei-x86_64.c, * ppcboot.c, * ptrace-core.c, * riscix.c,
+       * sco5-core.c, * som.c, * sparclinux.c, * sparclynx.c,
+       * sparcnetbsd.c, * sunos.c, * targets.c, * trad-core.c,
+       * vax1knetbsd.c, * vaxbsd.c, * vaxnetbsd.c, * versados.c,
+       * vms-alpha.c, * vms-lib.c: Rename bfd targets to
+       <cpu>_<format>_<other>_<endian>_vec.  Adjust associated MY macros
+       on aout targets.
+       * configure: Regenerate.
+
 2014-05-01  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * mmo.c (mmo File layout documentation): Add note about low bits
index c0d530c2543e501c3069e45cb93e871fa2e72f38..d3e2080fb50a3c637779ba660b92281e7aef32ef 100644 (file)
@@ -224,7 +224,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target aix386_core_vec =
+const bfd_target core_aix386_vec =
 {
   "aix386-core",
   bfd_target_unknown_flavour,
index 2516a8dd3f4fbf5b9c0f279f7f8f5664b4f2e818..904a5bc291a92e621a18864420ce81a433778b28 100644 (file)
@@ -26,7 +26,7 @@
 #include "libaout.h"           /* BFD a.out internal data structures.  */
 
 /* Forward decl.  */
-extern const bfd_target a_out_adobe_vec;
+extern const bfd_target aout_adobe_vec;
 
 /* Swaps the information in an executable header taken from a raw byte
    stream memory image, into the internal exec_header structure.  */
@@ -216,7 +216,7 @@ aout_adobe_object_p (bfd *abfd)
   if (N_BADMAG (anexec))
     {
       targ = getenv ("GNUTARGET");
-      if (targ && !strcmp (targ, a_out_adobe_vec.name))
+      if (targ && !strcmp (targ, aout_adobe_vec.name))
        /* Just continue anyway, if specifically set to this format.  */
        ;
       else
@@ -472,7 +472,7 @@ aout_adobe_sizeof_headers (bfd *ignore_abfd ATTRIBUTE_UNUSED,
 #define aout_32_bfd_final_link                     _bfd_generic_final_link
 #define aout_32_bfd_link_split_section             _bfd_generic_link_split_section
 
-const bfd_target a_out_adobe_vec =
+const bfd_target aout_adobe_vec =
 {
   "a.out.adobe",               /* Name.  */
   bfd_target_aout_flavour,
index 250fcf5aa0450eff2577a1b9b414aeaf8fa9f6c4..5f336ff5e5f844781967bce66eb2bad9cd2888b1 100644 (file)
 #define SEGMENT_SIZE TARGET_PAGE_SIZE
 #define DEFAULT_ARCH bfd_arch_arm
 
-#define MY(OP) CONCAT2 (aoutarm_,OP)
+#define MY(OP) CONCAT2 (arm_aout_,OP)
 #define N_BADMAG(x) ((((x).a_info & ~007200) != ZMAGIC) && \
                      (((x).a_info & ~006000) != OMAGIC) && \
                      ((x).a_info != NMAGIC))
 #define N_MAGIC(x) ((x).a_info & ~07200)
 
-#define MY_bfd_reloc_type_lookup aoutarm_bfd_reloc_type_lookup
-#define MY_bfd_reloc_name_lookup aoutarm_bfd_reloc_name_lookup
+#define MY_bfd_reloc_type_lookup arm_aout_bfd_reloc_type_lookup
+#define MY_bfd_reloc_name_lookup arm_aout_bfd_reloc_name_lookup
 
 #include "libaout.h"
 #include "aout/aout64.h"
@@ -461,9 +461,9 @@ MY_swap_std_reloc_out (bfd *abfd,
 
 #include "aout-target.h"
 
-extern const bfd_target aout_arm_big_vec;
+extern const bfd_target arm_aout_be_vec;
 
-const bfd_target aout_arm_little_vec =
+const bfd_target arm_aout_le_vec =
 {
   "a.out-arm-little",           /* Name.  */
   bfd_target_aout_flavour,
@@ -500,12 +500,12 @@ const bfd_target aout_arm_little_vec =
   BFD_JUMP_TABLE_LINK (MY),
   BFD_JUMP_TABLE_DYNAMIC (MY),
 
-  & aout_arm_big_vec,
+  & arm_aout_be_vec,
 
   (void *) MY_backend_data,
 };
 
-const bfd_target aout_arm_big_vec =
+const bfd_target arm_aout_be_vec =
 {
   "a.out-arm-big",              /* Name.  */
   bfd_target_aout_flavour,
@@ -542,7 +542,7 @@ const bfd_target aout_arm_big_vec =
   BFD_JUMP_TABLE_LINK (MY),
   BFD_JUMP_TABLE_DYNAMIC (MY),
 
-  & aout_arm_little_vec,
+  & arm_aout_le_vec,
 
   (void *) MY_backend_data,
 };
index b21a871bbe15cb60bf55fb4f88b65dd8bb6e5be2..b436b2125f29d6edcc645d3dd32c1701c33cff1d 100644 (file)
@@ -27,7 +27,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MYNS(OP) CONCAT2 (ns32kaout_,OP)
+#define MYNS(OP) CONCAT2 (ns32k_aout_,OP)
 
 reloc_howto_type * MYNS (bfd_reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
 reloc_howto_type * MYNS (bfd_reloc_name_lookup) (bfd *, const char *);
index 7fca027a7a3569db823eac5f23717991c7bb3212..0d75a28c3d1b9cd95b1fe46271f89bd3afa5dd3b 100644 (file)
@@ -23,7 +23,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (sparcle_aout_,OP)
+#define MY(OP) CONCAT2 (sparc_aout_le_,OP)
 
 #include "sysdep.h"
 #include "bfd.h"
index ea9617da126194d7d7fdb67af2fb76c4e7285aa4..a0370e39deb97f9ad4ed88f722f5e928443204a2 100644 (file)
@@ -24,7 +24,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (aout0_big_,OP)
+#define MY(OP) CONCAT2 (aout0_be_,OP)
 
 #include "sysdep.h"
 #include "bfd.h"
index ad81a7a60da6746822907bac9620f175164df66b..4f99c4772048453e8f57ed0ebb91b90cb2a57a6a 100644 (file)
@@ -66,12 +66,12 @@ DESCRIPTION
        from @file{sunos.c}:
 
 |      #define TARGET_NAME "a.out-sunos-big"
-|      #define VECNAME    sunos_big_vec
+|      #define VECNAME    sparc_aout_sunos_be_vec
 |      #include "aoutf1.h"
 
        requires all the names from @file{aout32.c}, and produces the jump vector
 
-|      sunos_big_vec
+|      sparc_aout_sunos_be_vec
 
        The file @file{host-aout.c} is a special case.  It is for a large set
        of hosts that use ``more or less standard'' a.out files, and
index acb7aa5e2c990cb3d10b22b32965fe99a464a741..05b76359856b8ab16b41e73abb7e100f1b121290 100644 (file)
@@ -31,7 +31,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP)                         CONCAT2 (armnetbsd_, OP)
+#define MY(OP)                         CONCAT2 (arm_aout_nbsd_, OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME             "a.out-arm-netbsd"
index 2c19eccd705ff6f82c0b7bdcd0d7cd34950c8f31..fddc77d075c278400b8f5ad4cc87233dd9a0a59e 100644 (file)
@@ -1393,9 +1393,9 @@ b_out_bfd_get_relocated_section_contents (bfd *output_bfd,
 #define b_out_bfd_define_common_symbol         bfd_generic_define_common_symbol
 #define aout_32_get_section_contents_in_window _bfd_generic_get_section_contents_in_window
 
-extern const bfd_target b_out_vec_little_host;
+extern const bfd_target bout_le_vec;
 
-const bfd_target b_out_vec_big_host =
+const bfd_target bout_be_vec =
 {
   "b.out.big",                 /* Name.  */
   bfd_target_aout_flavour,
@@ -1432,12 +1432,12 @@ const bfd_target b_out_vec_big_host =
      BFD_JUMP_TABLE_LINK (b_out),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & b_out_vec_little_host,
+  & bout_le_vec,
 
   NULL
 };
 
-const bfd_target b_out_vec_little_host =
+const bfd_target bout_le_vec =
 {
   "b.out.little",              /* Name.  */
   bfd_target_aout_flavour,
@@ -1475,7 +1475,7 @@ const bfd_target b_out_vec_little_host =
      BFD_JUMP_TABLE_LINK (b_out),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & b_out_vec_big_host,
+  & bout_be_vec,
 
   NULL
 };
index a244b10a6fcd45e18c473017bfe6d2d164a6c8c2..480c27577dc82e716a73cee476524b9c528fe2b1 100644 (file)
@@ -22,7 +22,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM     i386lynx_coff_vec
+#define TARGET_SYM     i386_coff_lynx_vec
 #define TARGET_NAME    "coff-i386-lynx"
 
 #define LYNXOS
index 028ccb9546fa0d35a2d3e1c59329cb75aca05456..2be004849a5565d0726c63e78949d976637a6026 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#define TARGET_SYM     sparclynx_coff_vec
+#define TARGET_SYM     sparc_coff_lynx_vec
 #define TARGET_NAME    "coff-sparc-lynx"
 
 #define LYNXOS
index 6c3de2787291a0b137fab8aef8a67635767790e7..36845a2804e9bac0fdd25439302b375dc54e5359 100644 (file)
@@ -313,9 +313,9 @@ cisco_core_file_failing_signal (bfd *abfd ATTRIBUTE_UNUSED)
   return abfd->tdata.cisco_core_data->sig;
 }
 \f
-extern const bfd_target cisco_core_little_vec;
+extern const bfd_target core_cisco_le_vec;
 
-const bfd_target cisco_core_big_vec =
+const bfd_target core_cisco_be_vec =
 {
     "cisco-ios-core-big",
     bfd_target_unknown_flavour,
@@ -361,12 +361,12 @@ const bfd_target cisco_core_big_vec =
        BFD_JUMP_TABLE_LINK (_bfd_nolink),
        BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-    & cisco_core_little_vec,
+    & core_cisco_le_vec,
 
     NULL       /* backend_data */
 };
 
-const bfd_target cisco_core_little_vec =
+const bfd_target core_cisco_le_vec =
 {
     "cisco-ios-core-little",
     bfd_target_unknown_flavour,
@@ -412,7 +412,7 @@ const bfd_target cisco_core_little_vec =
        BFD_JUMP_TABLE_LINK (_bfd_nolink),
        BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-    &cisco_core_big_vec,
+    &core_cisco_be_vec,
 
     NULL                       /* backend_data */
 };
index 8c68b56a80fb06c8ca3e99e91ad8516ebe7e62d1..0e78088ad796c77405f6c2f94ae789aa6f33e43a 100644 (file)
@@ -2346,7 +2346,7 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data =
   _bfd_coff_section_already_linked
 #define _bfd_ecoff_bfd_define_common_symbol bfd_generic_define_common_symbol
 
-const bfd_target ecoffalpha_little_vec =
+const bfd_target alpha_ecoff_le_vec =
 {
   "ecoff-littlealpha",         /* name */
   bfd_target_ecoff_flavour,
index a12b33b71748c9e2d68b6c1123bbce6ec0a3326c..2c755986e6d9291b4e77afdb51964850c879d1df 100644 (file)
@@ -106,7 +106,7 @@ apollo_howto2rtype (reloc_howto_type *internal)
 #include "coffcode.h"
 
 #ifndef TARGET_SYM
-#define TARGET_SYM apollocoff_vec
+#define TARGET_SYM m68k_coff_apollo_vec
 #endif
 
 #ifndef TARGET_NAME
index 9540a04dc89262b8319935b3515f557ed552b05d..d47b77e3509e728d32ee8aad5c170ce94fb6429d 100644 (file)
@@ -2528,13 +2528,13 @@ coff_arm_final_link_postscript (bfd * abfd ATTRIBUTE_UNUSED,
 #include "coffcode.h"
 
 #ifndef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM armcoff_little_vec
+#define TARGET_LITTLE_SYM arm_coff_le_vec
 #endif
 #ifndef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME "coff-arm-little"
 #endif
 #ifndef TARGET_BIG_SYM
-#define TARGET_BIG_SYM armcoff_big_vec
+#define TARGET_BIG_SYM arm_coff_be_vec
 #endif
 #ifndef TARGET_BIG_NAME
 #define TARGET_BIG_NAME "coff-arm-big"
index ce84231d8a2d8fed4274420e1682eb880105ea81..e79c77ae50424cf8cccd9d5f3d566609dd727e18 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#define TARGET_SYM     m68kaux_coff_vec
+#define TARGET_SYM     m68k_coff_aux_vec
 #define TARGET_NAME    "coff-m68k-aux"
 
 #ifndef TARG_AUX
index d605fd1402bc288d9df26b5768013c64dc781d34..47972650684003a9ad8b5f2a95fd11f0fcf42906 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#define TARGET_SYM             go32coff_vec
+#define TARGET_SYM             i386_coff_go32_vec
 #define TARGET_NAME            "coff-go32"
 #define TARGET_UNDERSCORE      '_'
 #define COFF_LONG_SECTION_NAMES
index 221a2171aa344161fbaa66ad9bad899f5a87e215..5ec48c960dbf7030535bfccda1c11155836df0ef 100644 (file)
@@ -1414,4 +1414,4 @@ h8300_bfd_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
   bfd_coff_reloc16_get_relocated_section_contents
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_BIG_COFF_TARGET_VEC (h8300coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (h8300_coff_vec, "coff-h8300", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
index 32254058309706b727de52e2a39d3d91fe6c98d7..574f95648b9e5042ee340bbdad49357ec438bf9e 100644 (file)
@@ -301,4 +301,4 @@ extra_case (bfd *in_abfd,
   bfd_coff_reloc16_get_relocated_section_contents
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_BIG_COFF_TARGET_VEC (h8500coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (h8500_coff_vec, "coff-h8500", 0, 0, '_', NULL, COFF_SWAP_TABLE)
index 312037e3e730180bd6fd60963de1fce0c4739bbb..6a9dbcaf9d22732372d30c62a455cd84c32afd14 100644 (file)
@@ -612,7 +612,7 @@ const bfd_target
 #ifdef TARGET_SYM
   TARGET_SYM =
 #else
-  i386coff_vec =
+  i386_coff_vec =
 #endif
 {
 #ifdef TARGET_NAME
index 3a61468695446bf654621a24aaea589150b45421..341183f16b3acae262727b0a825dc670a77af6a3 100644 (file)
@@ -656,7 +656,7 @@ const bfd_target
 #ifdef TARGET_SYM
   TARGET_SYM =
 #else
-  i860coff_vec =
+  i860_coff_vec =
 #endif
 {
 #ifdef TARGET_NAME
index 1c26ed87ac8c6b7b88c7bd46f8e1645ded3ccb2a..14482576323d5b8dfe43722629d3a06524f22dc2 100644 (file)
@@ -608,11 +608,11 @@ coff_i960_adjust_symndx (bfd *obfd ATTRIBUTE_UNUSED,
 
 #include "coffcode.h"
 
-extern const bfd_target icoff_big_vec;
+extern const bfd_target icoff_be_vec;
 
-CREATE_LITTLE_COFF_TARGET_VEC (icoff_little_vec, "coff-Intel-little", 0, 0, '_', & icoff_big_vec, COFF_SWAP_TABLE)
+CREATE_LITTLE_COFF_TARGET_VEC (icoff_le_vec, "coff-Intel-little", 0, 0, '_', & icoff_be_vec, COFF_SWAP_TABLE)
 
-const bfd_target icoff_big_vec =
+const bfd_target icoff_be_vec =
 {
   "coff-Intel-big",            /* name */
   bfd_target_coff_flavour,
@@ -653,7 +653,7 @@ bfd_getb64, bfd_getb_signed_64, bfd_putb64,
      BFD_JUMP_TABLE_LINK (coff),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & icoff_little_vec,
+  & icoff_le_vec,
 
   COFF_SWAP_TABLE
 };
index eb6f3701f8786cadd92d59c59894aca8bd6f9a55..f7089a681b04683789febb9a419cb7af6abf7f2c 100644 (file)
@@ -30,7 +30,7 @@
    variants.  The following macros control its behaviour:
 
    TARGET_SYM
-     The C name of the BFD target vector.  The default is m68kcoff_vec.
+     The C name of the BFD target vector.  The default is m68k_coff_vec.
    TARGET_NAME
      The user visible target name.  The default is "coff-m68k".
    NAMES_HAVE_UNDERSCORE
@@ -528,7 +528,7 @@ bfd_m68k_coff_create_embedded_relocs (bfd *abfd,
 #include "coffcode.h"
 
 #ifndef TARGET_SYM
-#define TARGET_SYM m68kcoff_vec
+#define TARGET_SYM m68k_coff_vec
 #endif
 
 #ifndef TARGET_NAME
index 15ad28d00a360ec666cab13be458f48f9c517448..7d474f951b99fc4d5c0e5d2b8aa0486ac7c4382a 100644 (file)
@@ -281,4 +281,4 @@ reloc_processing (arelent *relent,
 
 #undef coff_write_armap
 
-CREATE_BIG_COFF_TARGET_VEC (m88kbcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (m88k_coff_bcs_vec, "coff-m88kbcs", 0, 0, '_', NULL, COFF_SWAP_TABLE)
index 3a30d83f0f0a42e7bd8e4209463ab85a2000bee5..298671c11227f0b34ebf8e5cfd9eecc98682e10a 100644 (file)
@@ -1363,9 +1363,9 @@ static const struct ecoff_backend_data mips_ecoff_backend_data =
   _bfd_coff_section_already_linked
 #define _bfd_ecoff_bfd_define_common_symbol bfd_generic_define_common_symbol
 
-extern const bfd_target ecoff_big_vec;
+extern const bfd_target mips_ecoff_be_vec;
 
-const bfd_target ecoff_little_vec =
+const bfd_target mips_ecoff_le_vec =
 {
   "ecoff-littlemips",          /* name */
   bfd_target_ecoff_flavour,
@@ -1405,12 +1405,12 @@ const bfd_target ecoff_little_vec =
      BFD_JUMP_TABLE_LINK (_bfd_ecoff),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & ecoff_big_vec,
+  & mips_ecoff_be_vec,
 
   & mips_ecoff_backend_data
 };
 
-const bfd_target ecoff_big_vec =
+const bfd_target mips_ecoff_be_vec =
 {
   "ecoff-bigmips",             /* name */
   bfd_target_ecoff_flavour,
@@ -1449,12 +1449,12 @@ const bfd_target ecoff_big_vec =
      BFD_JUMP_TABLE_LINK (_bfd_ecoff),
      BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & ecoff_little_vec,
+  & mips_ecoff_le_vec,
 
   & mips_ecoff_backend_data
 };
 
-const bfd_target ecoff_biglittle_vec =
+const bfd_target mips_ecoff_bele_vec =
 {
   "ecoff-biglittlemips",               /* name */
   bfd_target_ecoff_flavour,
index d0b8eaf1804b503b31d5b9f4703de1c7c2fef048..4c41740a5804f7b025da91a03f4c608be47608b7 100644 (file)
@@ -4177,7 +4177,7 @@ static const struct xcoff_backend_data_rec bfd_xcoff_backend_data =
   };
 
 /* The transfer vector that leads the outside world to all of the above.  */
-const bfd_target rs6000coff_vec =
+const bfd_target rs6000_xcoff_vec =
   {
     "aixcoff-rs6000",
     bfd_target_xcoff_flavour,
@@ -4358,7 +4358,7 @@ static const struct xcoff_backend_data_rec bfd_pmac_xcoff_backend_data =
   };
 
 /* The transfer vector that leads the outside world to all of the above.  */
-const bfd_target pmac_xcoff_vec =
+const bfd_target powerpc_xcoff_vec =
   {
     "xcoff-powermac",
     bfd_target_xcoff_flavour,
index 1bf3f21fc9e32957121b3d2c6b717d651c000501..23e32ec6330b0cee241d2b7cb5c92e078051a2ba 100644 (file)
@@ -2998,13 +2998,13 @@ sh_coff_get_relocated_section_contents (bfd *output_bfd,
 /* The target vectors.  */
 
 #ifndef TARGET_SHL_SYM
-CREATE_BIG_COFF_TARGET_VEC (shcoff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (sh_coff_vec, "coff-sh", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
 #endif
 
 #ifdef TARGET_SHL_SYM
 #define TARGET_SYM TARGET_SHL_SYM
 #else
-#define TARGET_SYM shlcoff_vec
+#define TARGET_SYM sh_coff_le_vec
 #endif
 
 #ifndef TARGET_SHL_NAME
@@ -3112,9 +3112,9 @@ static bfd_coff_backend_data bfd_coff_small_swap_table =
 #define coff_small_get_section_contents_in_window \
   coff_get_section_contents_in_window
 
-extern const bfd_target shlcoff_small_vec;
+extern const bfd_target sh_coff_small_le_vec;
 
-const bfd_target shcoff_small_vec =
+const bfd_target sh_coff_small_vec =
 {
   "coff-sh-small",             /* name */
   bfd_target_coff_flavour,
@@ -3154,12 +3154,12 @@ const bfd_target shcoff_small_vec =
   BFD_JUMP_TABLE_LINK (coff),
   BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & shlcoff_small_vec,
+  & sh_coff_small_le_vec,
 
   & bfd_coff_small_swap_table
 };
 
-const bfd_target shlcoff_small_vec =
+const bfd_target sh_coff_small_le_vec =
 {
   "coff-shl-small",            /* name */
   bfd_target_coff_flavour,
@@ -3199,7 +3199,7 @@ const bfd_target shlcoff_small_vec =
   BFD_JUMP_TABLE_LINK (coff),
   BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-  & shcoff_small_vec,
+  & sh_coff_small_vec,
 
   & bfd_coff_small_swap_table
 };
index fc65f34cdc9ca8d39f0101c96c875544aa8a0604..031dcd0851b7027620aded96599859bb2be486a9 100644 (file)
@@ -198,7 +198,7 @@ rtype2howto (arelent *cache_ptr, struct internal_reloc *dst)
 #include "coffcode.h"
 
 #ifndef TARGET_SYM
-#define TARGET_SYM sparccoff_vec
+#define TARGET_SYM sparc_coff_vec
 #endif
 
 #ifndef TARGET_NAME
index 9bbbba136e0fce84c26242efac7f6495218806b6..4dc90149e8768fe682177604c04c3f89ce9568d2 100644 (file)
@@ -35,7 +35,7 @@
    To be compatible with any existing executables I have fixed this
    here and NOT in the DJGPP startup code.  */
 
-#define TARGET_SYM             go32stubbedcoff_vec
+#define TARGET_SYM             i386_coff_go32stubbed_vec
 #define TARGET_NAME            "coff-go32-exe"
 #define TARGET_UNDERSCORE      '_'
 #define COFF_GO32_EXE
index c2b539d38434520b94ab9289be314c37c910e5f9..f759abbe2d81ba65f078f802ae41ff8d4cd4a660 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#define TARGET_SYM     m68ksysvcoff_vec
+#define TARGET_SYM     m68k_coff_sysv_vec
 #define TARGET_NAME    "coff-m68k-sysv"
 #define STATIC_RELOCS
 #define COFF_COMMON_ADDEND
index 79783a97e410dec4d961e6d6d93e68a177b1737a..80bb05ef19589e210325942d70cc00fa323cfd14 100644 (file)
@@ -709,4 +709,4 @@ coff_tic80_relocate_section (bfd *output_bfd,
 
 #include "coffcode.h"
 
-CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_LITTLE_COFF_TARGET_VEC (tic80_coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE)
index 917a337dd3c33c2d622a05e7c20681d6a66edee8..260853ce170f0ed535b631b024b04c0404227562 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
-#define TARGET_SYM     m68kcoffun_vec
+#define TARGET_SYM     m68k_coff_un_vec
 #define TARGET_NAME    "coff-m68k-un"
 
 #define NAMES_HAVE_UNDERSCORE
index 957ada6c93bf388d3e7e1c6a65e5ae652d0e0339..f2087308aa1559f2c5f06fa70e7acbe479f4d373 100644 (file)
@@ -374,4 +374,4 @@ w65_reloc16_extra_cases (bfd *abfd,
   bfd_coff_reloc16_get_relocated_section_contents
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_LITTLE_COFF_TARGET_VEC (w65_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_LITTLE_COFF_TARGET_VEC (w65_coff_vec, "coff-w65", BFD_IS_RELAXABLE, 0, '_', NULL, COFF_SWAP_TABLE)
index 747d7ff3d14f9ee22e3510211b2cbcc055a7a502..d5481b8ff2ee024b67946e6fa6fb549ae4de3133 100644 (file)
@@ -70,4 +70,4 @@ static reloc_howto_type howto_table[] =
 
 #define coff_write_armap bsd_write_armap
 
-CREATE_BIG_COFF_TARGET_VEC (we32kcoff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (we32k_coff_vec, "coff-we32k", 0, 0, 0, NULL, COFF_SWAP_TABLE)
index 979996ca887315e4388ba5a5641801ad1465d3fe..682658fcb175195e706384501d969e05b363bbc2 100644 (file)
@@ -737,7 +737,7 @@ const bfd_target
 #ifdef TARGET_SYM
   TARGET_SYM =
 #else
-  x86_64coff_vec =
+  x86_64_coff_vec =
 #endif
 {
 #ifdef TARGET_NAME
index 5297058336edb45bc91c075a2594bf3637063ef3..7b62cdf149e4eea6475b2281e2217a4a2210e4b0 100644 (file)
@@ -283,7 +283,7 @@ extra_case (bfd *in_abfd,
 #undef  coff_bfd_relax_section
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_LITTLE_COFF_TARGET_VEC (z80coff_vec, "coff-z80", 0,
+CREATE_LITTLE_COFF_TARGET_VEC (z80_coff_vec, "coff-z80", 0,
                               SEC_CODE | SEC_DATA, '\0', NULL,
                               COFF_SWAP_TABLE)
 
index 89bbce167f28bf80d6512118a85b0b4397f26633..c85713ff8dfe5eced11b4122013ba21e3473e95b 100644 (file)
@@ -384,4 +384,4 @@ extra_case (bfd *in_abfd,
 #undef  coff_bfd_relax_section
 #define coff_bfd_relax_section bfd_coff_reloc16_relax_section
 
-CREATE_BIG_COFF_TARGET_VEC (z8kcoff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE)
+CREATE_BIG_COFF_TARGET_VEC (z8k_coff_vec, "coff-z8k", 0, 0, '_', NULL, COFF_SWAP_TABLE)
index d660e3a52670a1f16cc9112e30a0ce55104c7b7a..eb3b05b08939c61d4beee474469ad5d91d5a2c73 100644 (file)
@@ -2614,7 +2614,7 @@ static const struct xcoff_backend_data_rec bfd_xcoff_backend_data =
   };
 
 /* The transfer vector that leads the outside world to all of the above.  */
-const bfd_target rs6000coff64_vec =
+const bfd_target rs6000_xcoff64_vec =
   {
     "aixcoff64-rs6000",
     bfd_target_xcoff_flavour,
@@ -2873,7 +2873,7 @@ static const struct xcoff_backend_data_rec bfd_xcoff_aix5_backend_data =
   };
 
 /* The transfer vector that leads the outside world to all of the above.  */
-const bfd_target aix5coff64_vec =
+const bfd_target rs6000_xcoff64_aix_vec =
   {
     "aix5coff64-rs6000",
     bfd_target_xcoff_flavour,
index 9269c02e3b702157356490d9ebff0088005fbdbe..b58d54f9f7d2bf69ac0460427f8a1b53f511da13 100644 (file)
@@ -169,28 +169,28 @@ case "${targ}" in
 # START OF targmatch.h
 #ifdef BFD64
   aarch64-*-elf)
-    targ_defvec=bfd_elf64_littleaarch64_vec
-    targ_selvecs="bfd_elf64_bigaarch64_vec bfd_elf32_littleaarch64_vec bfd_elf32_bigaarch64_vec bfd_elf32_littlearm_vec bfd_elf32_bigarm_vec"
+    targ_defvec=aarch64_elf64_le_vec
+    targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
     want64=true
     ;;
   aarch64_be-*-elf)
-    targ_defvec=bfd_elf64_bigaarch64_vec
-    targ_selvecs="bfd_elf64_littleaarch64_vec bfd_elf32_littleaarch64_vec bfd_elf32_bigaarch64_vec bfd_elf32_bigarm_vec bfd_elf32_littlearm_vec"
+    targ_defvec=aarch64_elf64_be_vec
+    targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec"
     want64=true
     ;;
   aarch64-*-linux*)
-    targ_defvec=bfd_elf64_littleaarch64_vec
-    targ_selvecs="bfd_elf64_bigaarch64_vec bfd_elf32_littleaarch64_vec bfd_elf32_bigaarch64_vec bfd_elf32_littlearm_vec bfd_elf32_bigarm_vec"
+    targ_defvec=aarch64_elf64_le_vec
+    targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
     want64=true
     ;;
   aarch64_be-*-linux*)
-    targ_defvec=bfd_elf64_bigaarch64_vec
-    targ_selvecs="bfd_elf64_littleaarch64_vec bfd_elf32_littleaarch64_vec bfd_elf32_bigaarch64_vec bfd_elf32_bigarm_vec bfd_elf32_littlearm_vec"
+    targ_defvec=aarch64_elf64_be_vec
+    targ_selvecs="aarch64_elf64_le_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_be_vec arm_elf32_le_vec"
     want64=true
     ;;
   alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
-    targ_defvec=bfd_elf64_alpha_freebsd_vec
-    targ_selvecs="bfd_elf64_alpha_vec ecoffalpha_little_vec"
+    targ_defvec=alpha_elf64_fbsd_vec
+    targ_selvecs="alpha_elf64_vec alpha_ecoff_le_vec"
     want64=true
     # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling.
     case "${targ}" in
@@ -199,170 +199,170 @@ case "${targ}" in
     esac
     ;;
   alpha*-*-netbsd* | alpha*-*-openbsd*)
-    targ_defvec=bfd_elf64_alpha_vec
-    targ_selvecs=ecoffalpha_little_vec
+    targ_defvec=alpha_elf64_vec
+    targ_selvecs=alpha_ecoff_le_vec
     want64=true
     ;;
   alpha*-*-netware*)
-    targ_defvec=ecoffalpha_little_vec
-    targ_selvecs=nlm32_alpha_vec
+    targ_defvec=alpha_ecoff_le_vec
+    targ_selvecs=alpha_nlm32_vec
     want64=true
     ;;
   alpha*-*-linux*ecoff*)
-    targ_defvec=ecoffalpha_little_vec
-    targ_selvecs=bfd_elf64_alpha_vec
+    targ_defvec=alpha_ecoff_le_vec
+    targ_selvecs=alpha_elf64_vec
     want64=true
     ;;
   alpha*-*-linux-* | alpha*-*-elf*)
-    targ_defvec=bfd_elf64_alpha_vec
-    targ_selvecs=ecoffalpha_little_vec
+    targ_defvec=alpha_elf64_vec
+    targ_selvecs=alpha_ecoff_le_vec
     want64=true
     ;;
   alpha*-*-*vms*)
-    targ_defvec=vms_alpha_vec
-    targ_selvecs=vms_lib_txt_vec
+    targ_defvec=alpha_vms_vec
+    targ_selvecs=alpha_vms_lib_txt_vec
     want64=true
     ;;
   alpha*-*-*)
-    targ_defvec=ecoffalpha_little_vec
+    targ_defvec=alpha_ecoff_le_vec
     want64=true
     ;;
   ia64*-*-freebsd* | ia64*-*-netbsd* | ia64*-*-linux-* | ia64*-*-elf* | ia64*-*-kfreebsd*-gnu)
-    targ_defvec=bfd_elf64_ia64_little_vec
-    targ_selvecs="bfd_elf64_ia64_big_vec bfd_pei_ia64_vec"
+    targ_defvec=ia64_elf64_le_vec
+    targ_selvecs="ia64_elf64_be_vec ia64_pei_vec"
     want64=true
     ;;
   ia64*-*-hpux*)
-    targ_defvec=bfd_elf32_ia64_hpux_big_vec
-    targ_selvecs="bfd_elf64_ia64_hpux_big_vec"
+    targ_defvec=ia64_elf32_hpux_be_vec
+    targ_selvecs="ia64_elf64_hpux_be_vec"
     want64=true
     ;;
   ia64*-*-*vms*)
-    targ_defvec=bfd_elf64_ia64_vms_vec
-    targ_selvecs=vms_lib_txt_vec
+    targ_defvec=ia64_elf64_vms_vec
+    targ_selvecs=alpha_vms_lib_txt_vec
     want64=true
     ;;
   sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu)
-    targ_defvec=bfd_elf64_sparc_freebsd_vec
-    targ_selvecs="bfd_elf64_sparc_vec bfd_elf32_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_elf64_fbsd_vec
+    targ_selvecs="sparc_elf64_vec sparc_elf32_vec sparc_aout_sunos_be_vec"
     ;;
   sparc64-*-netbsd* | sparc64-*-openbsd*)
-    targ_defvec=bfd_elf64_sparc_vec
-    targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_elf64_vec
+    targ_selvecs="sparc_elf32_vec sparc_aout_sunos_be_vec"
     want64=true
     ;;
 #endif /* BFD64 */
 
   am34-*-linux* | am33_2.0-*-linux*)
-    targ_defvec=bfd_elf32_am33lin_vec
+    targ_defvec=am33_elf32_linux_vec
     ;;
 
   arc-*-elf*)
-    targ_defvec=bfd_elf32_littlearc_vec
-    targ_selvecs=bfd_elf32_bigarc_vec
+    targ_defvec=arc_elf32_le_vec
+    targ_selvecs=arc_elf32_be_vec
     ;;
 
   arm-*-nacl*)
-    targ_defvec=bfd_elf32_littlearm_nacl_vec
-    targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_i386_nacl_vec"
-    targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
+    targ_defvec=arm_elf32_nacl_le_vec
+    targ_selvecs="arm_elf32_nacl_be_vec i386_elf32_nacl_vec"
+    targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec"
     targ_archs="$targ_archs bfd_i386_arch"
     ;;
   armeb-*-nacl*)
-    targ_defvec=bfd_elf32_bigarm_nacl_vec
-    targ_selvecs="bfd_elf32_littlearm_nacl_vec bfd_elf32_i386_nacl_vec"
-    targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
+    targ_defvec=arm_elf32_nacl_be_vec
+    targ_selvecs="arm_elf32_nacl_le_vec i386_elf32_nacl_vec"
+    targ64_selvecs="x86_64_elf32_nacl_vec x86_64_elf64_nacl_vec"
     targ_archs="$targ_archs bfd_i386_arch"
     ;;
   armeb-*-netbsdelf*)
-    targ_defvec=bfd_elf32_bigarm_vec
-    targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec"
+    targ_defvec=arm_elf32_be_vec
+    targ_selvecs="arm_elf32_le_vec arm_aout_nbsd_vec"
     ;;
   arm-*-netbsdelf*)
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs="bfd_elf32_bigarm_vec armnetbsd_vec"
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs="arm_elf32_be_vec arm_aout_nbsd_vec"
     ;;
   arm-*-netbsd* | arm-*-openbsd*)
-    targ_defvec=armnetbsd_vec
-    targ_selvecs="bfd_elf32_littlearm_vec bfd_elf32_bigarm_vec"
+    targ_defvec=arm_aout_nbsd_vec
+    targ_selvecs="arm_elf32_le_vec arm_elf32_be_vec"
     targ_underscore=yes
     targ_cflags=-D__QNXTARGET__
     ;;
   arm-*-nto* | nto*arm*)
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs=bfd_elf32_bigarm_vec
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs=arm_elf32_be_vec
     ;;
   arm-*-riscix*)
-    targ_defvec=riscix_vec
+    targ_defvec=arm_aout_riscix_vec
     ;;
   arm-epoc-pe*)
-    targ_defvec=arm_epoc_pe_little_vec
-    targ_selvecs="arm_epoc_pe_little_vec arm_epoc_pe_big_vec arm_epoc_pei_little_vec arm_epoc_pei_big_vec"
+    targ_defvec=arm_pe_epoc_le_vec
+    targ_selvecs="arm_pe_epoc_le_vec arm_pe_epoc_be_vec arm_pei_epoc_le_vec arm_pei_epoc_be_vec"
     targ_underscore=no
     targ_cflags=-DARM_COFF_BUGFIX
     ;;
   arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
-    targ_defvec=arm_wince_pe_little_vec
-    targ_selvecs="arm_wince_pe_little_vec arm_wince_pe_big_vec arm_wince_pei_little_vec arm_wince_pei_big_vec"
+    targ_defvec=arm_pe_wince_le_vec
+    targ_selvecs="arm_pe_wince_le_vec arm_pe_wince_be_vec arm_pei_wince_le_vec arm_pei_wince_be_vec"
     targ_underscore=no
     targ_cflags="-DARM_WINCE -DARM_COFF_BUGFIX"
     ;;
   arm-*-pe*)
-    targ_defvec=armpe_little_vec
-    targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
+    targ_defvec=arm_pe_le_vec
+    targ_selvecs="arm_pe_le_vec arm_pe_be_vec arm_pei_le_vec arm_pei_be_vec"
     targ_underscore=yes
     ;;
   arm-*-aout | armel-*-aout)
-    targ_defvec=aout_arm_little_vec
-    targ_selvecs=aout_arm_big_vec
+    targ_defvec=arm_aout_le_vec
+    targ_selvecs=arm_aout_be_vec
     ;;
   armeb-*-aout)
-    targ_defvec=aout_arm_big_vec
-    targ_selvecs=aout_arm_little_vec
+    targ_defvec=arm_aout_be_vec
+    targ_selvecs=arm_aout_le_vec
     ;;
   arm-*-coff)
-    targ_defvec=armcoff_little_vec
-    targ_selvecs=armcoff_big_vec
+    targ_defvec=arm_coff_le_vec
+    targ_selvecs=arm_coff_be_vec
     targ_underscore=yes
     ;;
   arm-*-rtems*)
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs=bfd_elf32_bigarm_vec
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs=arm_elf32_be_vec
     ;;
   armeb-*-elf | arm*b-*-linux-*)
-    targ_defvec=bfd_elf32_bigarm_vec
-    targ_selvecs=bfd_elf32_littlearm_vec
+    targ_defvec=arm_elf32_be_vec
+    targ_selvecs=arm_elf32_le_vec
     ;;
   arm-*-kaos*)
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs=bfd_elf32_bigarm_vec
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs=arm_elf32_be_vec
     ;;
   arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \
   arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \
   arm*-*-eabi* )
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs=bfd_elf32_bigarm_vec
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs=arm_elf32_be_vec
     ;;
   arm*-*-vxworks | arm*-*-windiss)
-    targ_defvec=bfd_elf32_littlearm_vxworks_vec
-    targ_selvecs=bfd_elf32_bigarm_vxworks_vec
+    targ_defvec=arm_elf32_vxworks_le_vec
+    targ_selvecs=arm_elf32_vxworks_be_vec
     ;;
   arm*-*-symbianelf*)
-    targ_defvec=bfd_elf32_littlearm_symbian_vec
-    targ_selvecs=bfd_elf32_bigarm_symbian_vec
+    targ_defvec=arm_elf32_symbian_le_vec
+    targ_selvecs=arm_elf32_symbian_be_vec
     ;;
   arm9e-*-elf)
-    targ_defvec=bfd_elf32_littlearm_vec
-    targ_selvecs=bfd_elf32_bigarm_vec
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs=arm_elf32_be_vec
     ;;
 
   avr-*-*)
-    targ_defvec=bfd_elf32_avr_vec
+    targ_defvec=avr_elf32_vec
     ;;
 
   bfin-*-*)
-    targ_defvec=bfd_elf32_bfin_vec
-    targ_selvecs=bfd_elf32_bfinfdpic_vec
+    targ_defvec=bfin_elf32_vec
+    targ_selvecs=bfin_elf32_fdpic_vec
     targ_underscore=yes
     ;;
 
@@ -386,211 +386,211 @@ case "${targ}" in
     ;;
 
   cr16-*-elf* | cr16*-*-uclinux*)
-    targ_defvec=bfd_elf32_cr16_vec
+    targ_defvec=cr16_elf32_vec
     targ_underscore=yes
     ;;
 
   cr16c-*-elf*)
-    targ_defvec=bfd_elf32_cr16c_vec
+    targ_defvec=cr16c_elf32_vec
     targ_underscore=yes
     ;;
 
   cris-*-* | crisv32-*-*)
     targ_defvec=cris_aout_vec
-    targ_selvecs="bfd_elf32_us_cris_vec bfd_elf32_cris_vec ieee_vec"
-    targ_underscore=yes # Note: not true for bfd_elf32_cris_vec.
+    targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
+    targ_underscore=yes # Note: not true for cris_elf32_vec.
     ;;
 
   crx-*-elf*)
-    targ_defvec=bfd_elf32_crx_vec
+    targ_defvec=crx_elf32_vec
     targ_underscore=yes
     ;;
 
   d10v-*-*)
-    targ_defvec=bfd_elf32_d10v_vec
+    targ_defvec=d10v_elf32_vec
     ;;
 
   dlx-*-elf*)
-    targ_defvec=bfd_elf32_dlx_big_vec
-    targ_selvecs="bfd_elf32_dlx_big_vec"
+    targ_defvec=dlx_elf32_be_vec
+    targ_selvecs="dlx_elf32_be_vec"
     ;;
 
   d30v-*-*)
-    targ_defvec=bfd_elf32_d30v_vec
+    targ_defvec=d30v_elf32_vec
     ;;
 
   epiphany-*-elf)
-    targ_defvec=bfd_elf32_epiphany_vec
+    targ_defvec=epiphany_elf32_vec
     ;;
 
   fido-*-elf* )
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs="m68kcoff_vec ieee_vec"
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs="m68k_coff_vec ieee_vec"
     ;;
 
   fr30-*-elf)
-    targ_defvec=bfd_elf32_fr30_vec
+    targ_defvec=fr30_elf32_vec
     ;;
 
   frv-*-elf)
-    targ_defvec=bfd_elf32_frv_vec
-    targ_selvecs=bfd_elf32_frvfdpic_vec
+    targ_defvec=frv_elf32_vec
+    targ_selvecs=frv_elf32_fdpic_vec
     ;;
 
   frv-*-*linux*)
-    targ_defvec=bfd_elf32_frvfdpic_vec
-    targ_selvecs=bfd_elf32_frv_vec
+    targ_defvec=frv_elf32_fdpic_vec
+    targ_selvecs=frv_elf32_vec
     ;;
 
   moxie-*-elf | moxie-*-rtems* | moxie-*-uclinux)
-    targ_defvec=bfd_elf32_bigmoxie_vec
-    targ_selvecs=bfd_elf32_littlemoxie_vec
+    targ_defvec=moxie_elf32_be_vec
+    targ_selvecs=moxie_elf32_le_vec
     ;;
 
   h8300*-*-rtemscoff*)
-    targ_defvec=h8300coff_vec
+    targ_defvec=h8300_coff_vec
     targ_underscore=yes
     ;;
 
   h8300*-*-elf | h8300*-*-rtems*)
-    targ_defvec=bfd_elf32_h8300_vec
+    targ_defvec=h8300_elf32_vec
     targ_underscore=yes
     ;;
 
   h8300*-*-*)
-    targ_defvec=h8300coff_vec
+    targ_defvec=h8300_coff_vec
     targ_underscore=yes
     ;;
 
   h8500-*-*)
-    targ_defvec=h8500coff_vec
+    targ_defvec=h8500_coff_vec
     targ_underscore=yes
     ;;
 
 #ifdef BFD64
   hppa*64*-*-linux-*)
-    targ_defvec=bfd_elf64_hppa_linux_vec
-    targ_selvecs=bfd_elf64_hppa_vec
+    targ_defvec=hppa_elf64_linux_vec
+    targ_selvecs=hppa_elf64_vec
     want64=true
     ;;
   hppa*64*-*-hpux11*)
-    targ_defvec=bfd_elf64_hppa_vec
-    targ_selvecs=bfd_elf64_hppa_linux_vec
+    targ_defvec=hppa_elf64_vec
+    targ_selvecs=hppa_elf64_linux_vec
     targ_cflags=-DHPUX_LARGE_AR_IDS
     want64=true
     ;;
 #endif
 
   hppa*-*-linux-*)
-    targ_defvec=bfd_elf32_hppa_linux_vec
-    targ_selvecs=bfd_elf32_hppa_vec
+    targ_defvec=hppa_elf32_linux_vec
+    targ_selvecs=hppa_elf32_vec
     ;;
   hppa*-*-netbsd*)
-    targ_defvec=bfd_elf32_hppa_nbsd_vec
-    targ_selvecs="bfd_elf32_hppa_vec bfd_elf32_hppa_linux_vec"
+    targ_defvec=hppa_elf32_nbsd_vec
+    targ_selvecs="hppa_elf32_vec hppa_elf32_linux_vec"
     ;;
   hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-sysv4* | hppa*-*-openbsd*)
-    targ_defvec=bfd_elf32_hppa_vec
-    targ_selvecs=bfd_elf32_hppa_linux_vec
+    targ_defvec=hppa_elf32_vec
+    targ_selvecs=hppa_elf32_linux_vec
     ;;
 
   hppa*-*-bsd*)
-    targ_defvec=som_vec
-    targ_selvecs=bfd_elf32_hppa_vec
+    targ_defvec=hppa_som_vec
+    targ_selvecs=hppa_elf32_vec
     ;;
   hppa*-*-hpux* | hppa*-*-hiux* | hppa*-*-mpeix*)
-    targ_defvec=som_vec
+    targ_defvec=hppa_som_vec
     ;;
   hppa*-*-osf*)
-    targ_defvec=som_vec
-    targ_selvecs=bfd_elf32_hppa_vec
+    targ_defvec=hppa_som_vec
+    targ_selvecs=hppa_elf32_vec
     ;;
 
   i370-*-*)
-    targ_defvec=bfd_elf32_i370_vec
-    targ_selvecs="bfd_elf32_i370_vec"
+    targ_defvec=i370_elf32_vec
+    targ_selvecs="i370_elf32_vec"
     ;;
   i[3-7]86-*-sco3.2v5*coff)
-    targ_defvec=i386coff_vec
-    targ_selvecs=bfd_elf32_i386_vec
+    targ_defvec=i386_coff_vec
+    targ_selvecs=i386_elf32_vec
     ;;
   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*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=i386coff_vec
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_coff_vec
     ;;
   i[3-7]86-*-solaris2*)
-    targ_defvec=bfd_elf32_i386_sol2_vec
-    targ_selvecs="i386coff_vec"
-    targ64_selvecs="bfd_elf64_x86_64_sol2_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=i386_elf32_sol2_vec
+    targ_selvecs="i386_coff_vec"
+    targ64_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
 #ifdef BFD64
   x86_64-*-solaris2*)
-    targ_defvec=bfd_elf32_i386_sol2_vec
-    targ_selvecs="bfd_elf64_x86_64_sol2_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec"
+    targ_defvec=i386_elf32_sol2_vec
+    targ_selvecs="x86_64_elf64_sol2_vec l1om_elf64_vec k1om_elf64_vec i386_coff_vec"
     want64=true
     ;;
 #endif
   i[3-7]86-*-kaos*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=bfd_elf32_i386_vec
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_elf32_vec
     ;;
   i[3-7]86-*-nto*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=i386coff_vec
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_coff_vec
     ;;
   i[3-7]86-*-aros*)
-    targ_defvec=bfd_elf32_i386_vec
+    targ_defvec=i386_elf32_vec
     ;;
   i[3-7]86-*-chorus*)
-    targ_defvec=bfd_elf32_i386_vec
+    targ_defvec=i386_elf32_vec
     ;;
   i[3-7]86-*-dicos*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=i386_elf32_vec
+    targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec"
     ;;
   *-*-msdosdjgpp* | *-*-go32* )
-    targ_defvec=go32coff_vec
-    targ_selvecs="go32stubbedcoff_vec i386aout_vec"
+    targ_defvec=i386_coff_go32_vec
+    targ_selvecs="i386_coff_go32stubbed_vec i386_aout_vec"
     ;;
   i[3-7]86-*-sysv* | i[3-7]86-*-isc* | i[3-7]86-*-sco* | i[3-7]86-*-coff | \
   i[3-7]86-*-aix*)
-    targ_defvec=i386coff_vec
+    targ_defvec=i386_coff_vec
     ;;
   i[3-7]86-*-rtems*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="i386coff_vec i386aout_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_coff_vec i386_aout_vec"
     ;;
   i[3-7]86-*-darwin* | i[3-7]86-*-macos10* | i[3-7]86-*-rhapsody*)
-    targ_defvec=mach_o_i386_vec
+    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=mach_o_x86_64_vec
+    targ64_selvecs=x86_64_mach_o_vec
     targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch"
     ;;
   i[3-7]86-sequent-bsd*)
-    targ_defvec=i386dynix_vec
+    targ_defvec=i386_aout_dynix_vec
     targ_underscore=yes
     ;;
   i[3-7]86-*-bsd*)
-    targ_defvec=i386bsd_vec
+    targ_defvec=i386_aout_bsd_vec
     targ_underscore=yes
     ;;
   i[3-7]86-*-dragonfly*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=i386_elf32_vec
+    targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec"
     ;;
   i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | \
   i[3-7]86-*-freebsd[12])
-    targ_defvec=i386freebsd_vec
-    targ_selvecs=i386bsd_vec
+    targ_defvec=i386_aout_fbsd_vec
+    targ_selvecs=i386_aout_bsd_vec
     targ_underscore=yes
     ;;
   i[3-7]86-*-freebsd* | i[3-7]86-*-kfreebsd*-gnu)
-    targ_defvec=bfd_elf32_i386_freebsd_vec
-    targ_selvecs="bfd_elf32_i386_vec i386pei_vec i386coff_vec"
-    targ64_selvecs="bfd_elf64_x86_64_freebsd_vec bfd_elf64_x86_64_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_l1om_freebsd_vec bfd_elf64_k1om_vec bfd_elf64_k1om_freebsd_vec"
+    targ_defvec=i386_elf32_fbsd_vec
+    targ_selvecs="i386_elf32_vec i386_pei_vec i386_coff_vec"
+    targ64_selvecs="x86_64_elf64_fbsd_vec x86_64_elf64_vec x86_64_pei_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec"
     # FreeBSD <= 4.0 supports only the old nonstandard way of ABI labelling.
     case "${targ}" in
       i[3-7]86-*-freebsd3* | i[3-7]86-*-freebsd4 | i[3-7]86-*-freebsd4.0*)
@@ -598,584 +598,584 @@ case "${targ}" in
     esac
     ;;
   i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=i386netbsd_vec
-    targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_aout_nbsd_vec
+    targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec"
     ;;
   i[3-7]86-*-netbsdpe*)
-    targ_defvec=i386pe_vec
-    targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
+    targ_defvec=i386_pe_vec
+    targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec"
     ;;
   i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | \
   i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3])
-    targ_defvec=i386netbsd_vec
-    targ_selvecs="bfd_elf32_i386_vec i386bsd_vec"
+    targ_defvec=i386_aout_nbsd_vec
+    targ_selvecs="i386_elf32_vec i386_aout_bsd_vec"
     targ_underscore=yes
     ;;
   i[3-7]86-*-openbsd*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=i386netbsd_vec
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_aout_nbsd_vec
     ;;
   i[3-7]86-*-netware*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="nlm32_i386_vec i386coff_vec i386aout_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_nlm32_vec i386_coff_vec i386_aout_vec"
     ;;
   i[3-7]86-*-linux*aout*)
-    targ_defvec=i386linux_vec
-    targ_selvecs=bfd_elf32_i386_vec
+    targ_defvec=i386_aout_linux_vec
+    targ_selvecs=i386_elf32_vec
     targ_underscore=yes
     ;;
   i[3-7]86-*-linux-*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="i386linux_vec i386pei_vec"
-    targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_aout_linux_vec i386_pei_vec"
+    targ64_selvecs="x86_64_elf64_vec x86_64_elf32_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
     ;;
   i[3-7]86-*-nacl*)
-    targ_defvec=bfd_elf32_i386_nacl_vec
-    targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec"
-    targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec"
+    targ_defvec=i386_elf32_nacl_vec
+    targ_selvecs="arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec"
+    targ64_selvecs="x86_64_elf64_nacl_vec x86_64_elf32_nacl_vec"
     targ_archs="$targ_archs bfd_arm_arch"
     ;;
 #ifdef BFD64
   x86_64-*-darwin*)
-    targ_defvec=mach_o_x86_64_vec
-    targ_selvecs="mach_o_i386_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec"
+    targ_defvec=x86_64_mach_o_vec
+    targ_selvecs="i386_mach_o_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_vec sym_vec"
     targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch"
     want64=true
     ;;
   x86_64-*-dicos*)
-    targ_defvec=bfd_elf64_x86_64_vec
-    targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=x86_64_elf64_vec
+    targ_selvecs="i386_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
   x86_64-*-elf*)
-    targ_defvec=bfd_elf64_x86_64_vec
-    targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=x86_64_elf64_vec
+    targ_selvecs="i386_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
   x86_64-*-dragonfly*)
-    targ_defvec=bfd_elf64_x86_64_vec
-    targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=x86_64_elf64_vec
+    targ_selvecs="i386_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
   x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
-    targ_defvec=bfd_elf64_x86_64_freebsd_vec
-    targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec i386pei_vec x86_64pei_vec bfd_elf32_i386_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_l1om_freebsd_vec bfd_elf64_k1om_vec bfd_elf64_k1om_freebsd_vec"
+    targ_defvec=x86_64_elf64_fbsd_vec
+    targ_selvecs="i386_elf32_fbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec i386_elf32_vec x86_64_elf64_vec l1om_elf64_vec l1om_elf64_fbsd_vec k1om_elf64_vec k1om_elf64_fbsd_vec"
     want64=true
     ;;
   x86_64-*-netbsd* | x86_64-*-openbsd*)
-    targ_defvec=bfd_elf64_x86_64_vec
-    targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec i386pei_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=x86_64_elf64_vec
+    targ_selvecs="i386_elf32_vec i386_aout_nbsd_vec i386_coff_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
   x86_64-*-linux-*)
-    targ_defvec=bfd_elf64_x86_64_vec
-    targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec i386linux_vec i386pei_vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
+    targ_defvec=x86_64_elf64_vec
+    targ_selvecs="i386_elf32_vec x86_64_elf32_vec i386_aout_linux_vec i386_pei_vec x86_64_pei_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
   x86_64-*-nacl*)
-    targ_defvec=bfd_elf32_x86_64_nacl_vec
-    targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec"
+    targ_defvec=x86_64_elf32_nacl_vec
+    targ_selvecs="i386_elf32_nacl_vec x86_64_elf64_nacl_vec arm_elf32_nacl_be_vec arm_elf32_nacl_le_vec"
     targ_archs="$targ_archs bfd_arm_arch"
     want64=true
     ;;
   x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin)
-    targ_defvec=x86_64pe_vec
-    targ_selvecs="x86_64pe_vec x86_64pei_vec x86_64pe_bigobj_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec"
+    targ_defvec=x86_64_pe_vec
+    targ_selvecs="x86_64_pe_vec x86_64_pei_vec x86_64_pe_be_vec x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec i386_pe_vec i386_pei_vec i386_elf32_vec"
     want64=true
     targ_underscore=no
     ;;
   x86_64-*-rdos*)
-    targ_defvec=bfd_elf64_x86_64_vec
+    targ_defvec=x86_64_elf64_vec
     want64=true
     ;;
 #endif
   i[3-7]86-*-lynxos*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="i386lynx_coff_vec i386lynx_aout_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_coff_lynx_vec i386_aout_lynx_vec"
     ;;
   i[3-7]86-*-gnu*)
-    targ_defvec=bfd_elf32_i386_vec
+    targ_defvec=i386_elf32_vec
     ;;
   i[3-7]86-*-mach* | i[3-7]86-*-osf1mk*)
-    targ_defvec=i386mach3_vec
+    targ_defvec=i386_aout_mach3_vec
     targ_cflags=-DSTAT_FOR_EXEC
     targ_underscore=yes
     ;;
   i[3-7]86-*-os9k)
-    targ_defvec=i386os9k_vec
+    targ_defvec=i386_aout_os9k_vec
     ;;
   i[3-7]86-*-msdos*)
-    targ_defvec=i386aout_vec
-    targ_selvecs=i386msdos_vec
+    targ_defvec=i386_aout_vec
+    targ_selvecs=i386_msdos_vec
     ;;
   i[3-7]86-*-moss*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="i386msdos_vec i386aout_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_msdos_vec i386_aout_vec"
     ;;
   i[3-7]86-*-beospe*)
-    targ_defvec=i386pe_vec
-    targ_selvecs="i386pe_vec i386pei_vec"
+    targ_defvec=i386_pe_vec
+    targ_selvecs="i386_pe_vec i386_pei_vec"
     ;;
   i[3-7]86-*-beoself* | i[3-7]86-*-beos*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs="i386pe_vec i386pei_vec"
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_pe_vec i386_pei_vec"
     ;;
   i[3-7]86-*-interix*)
-    targ_defvec=i386pei_vec
-    targ_selvecs="i386pe_vec"
+    targ_defvec=i386_pei_vec
+    targ_selvecs="i386_pe_vec"
     # FIXME: This should eventually be checked at runtime.
     targ_cflags=-DSTRICT_PE_FORMAT
     ;;
   i[3-7]86-*-rdos*)
-    targ_defvec=bfd_elf32_i386_vec
-    targ_selvecs=i386coff_vec
+    targ_defvec=i386_elf32_vec
+    targ_selvecs=i386_coff_vec
     ;;
   i[3-7]86-*-mingw32* | i[3-7]86-*-cygwin* | i[3-7]86-*-winnt | i[3-7]86-*-pe)
-    targ_defvec=i386pe_vec
-    targ_selvecs="i386pe_vec i386pei_vec bfd_elf32_i386_vec"
+    targ_defvec=i386_pe_vec
+    targ_selvecs="i386_pe_vec i386_pei_vec i386_elf32_vec"
     targ_underscore=yes
     ;;
   i[3-7]86-none-*)
-    targ_defvec=i386coff_vec
+    targ_defvec=i386_coff_vec
     ;;
   i[3-7]86-*-aout* | i[3-7]86*-*-vsta*)
-    targ_defvec=i386aout_vec
+    targ_defvec=i386_aout_vec
     ;;
   i[3-7]86-*-vxworks*)
-    targ_defvec=bfd_elf32_i386_vxworks_vec
+    targ_defvec=i386_elf32_vxworks_vec
     targ_underscore=yes
     ;;
   i[3-7]86-*-chaos)
-    targ_defvec=bfd_elf32_i386_vec
+    targ_defvec=i386_elf32_vec
     targ_selfvecs=i386chaos_vec
     ;;
 
   i860-*-mach3* | i860-*-osf1* | i860-*-coff*)
-    targ_defvec=i860coff_vec
+    targ_defvec=i860_coff_vec
     ;;
   i860-stardent-sysv4* | i860-stardent-elf*)
-    targ_defvec=bfd_elf32_i860_little_vec
-    targ_selvecs="bfd_elf32_i860_vec bfd_elf32_i860_little_vec"
+    targ_defvec=i860_elf32_le_vec
+    targ_selvecs="i860_elf32_vec i860_elf32_le_vec"
     ;;
   i860-*-sysv4* | i860-*-elf*)
-    targ_defvec=bfd_elf32_i860_vec
+    targ_defvec=i860_elf32_vec
     ;;
 
   i960-*-vxworks4* | i960-*-vxworks5.0)
-    targ_defvec=b_out_vec_little_host
-    targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
+    targ_defvec=bout_le_vec
+    targ_selvecs="bout_be_vec icoff_le_vec icoff_be_vec ieee_vec"
     targ_underscore=yes
     ;;
   i960-*-vxworks5.* | i960-*-coff* | i960-*-sysv*)
-    targ_defvec=icoff_little_vec
-    targ_selvecs="icoff_big_vec b_out_vec_little_host b_out_vec_big_host ieee_vec"
+    targ_defvec=icoff_le_vec
+    targ_selvecs="icoff_be_vec bout_le_vec bout_be_vec ieee_vec"
     targ_underscore=yes
     ;;
   i960-*-vxworks* | i960-*-aout* | i960-*-bout* | i960-*-nindy*)
-    targ_defvec=b_out_vec_little_host
-    targ_selvecs="b_out_vec_big_host icoff_little_vec icoff_big_vec ieee_vec"
+    targ_defvec=bout_le_vec
+    targ_selvecs="bout_be_vec icoff_le_vec icoff_be_vec ieee_vec"
     targ_underscore=yes
     ;;
   i960-*-elf*)
-    targ_defvec=bfd_elf32_i960_vec
-    targ_selvecs="icoff_little_vec icoff_big_vec"
+    targ_defvec=i960_elf32_vec
+    targ_selvecs="icoff_le_vec icoff_be_vec"
     ;;
 
   ip2k-*-elf)
-    targ_defvec=bfd_elf32_ip2k_vec
+    targ_defvec=ip2k_elf32_vec
     ;;
 
   iq2000-*-elf)
-    targ_defvec=bfd_elf32_iq2000_vec
+    targ_defvec=iq2000_elf32_vec
     ;;
 
   lm32-*-elf | lm32-*-rtems*)
-    targ_defvec=bfd_elf32_lm32_vec
-    targ_selvecs=bfd_elf32_lm32fdpic_vec
+    targ_defvec=lm32_elf32_vec
+    targ_selvecs=lm32_elf32_fdpic_vec
     ;;
 
   lm32-*-*linux*)
-    targ_defvec=bfd_elf32_lm32fdpic_vec
-    targ_selvecs=bfd_elf32_lm32_vec
+    targ_defvec=lm32_elf32_fdpic_vec
+    targ_selvecs=lm32_elf32_vec
     ;;
 
   m32c-*-elf | m32c-*-rtems*)
-    targ_defvec=bfd_elf32_m32c_vec
+    targ_defvec=m32c_elf32_vec
     ;;
 
   m32r*le-*-linux*)
-    targ_defvec=bfd_elf32_m32rlelin_vec
-    targ_selvecs="bfd_elf32_m32rlin_vec  bfd_elf32_m32rlelin_vec"
+    targ_defvec=m32r_elf32_linux_le_vec
+    targ_selvecs="m32r_elf32_linux_vec  m32r_elf32_linux_le_vec"
     ;;
   m32r*-*-linux*)
-    targ_defvec=bfd_elf32_m32rlin_vec
-    targ_selvecs="bfd_elf32_m32rlin_vec  bfd_elf32_m32rlelin_vec"
+    targ_defvec=m32r_elf32_linux_vec
+    targ_selvecs="m32r_elf32_linux_vec  m32r_elf32_linux_le_vec"
     ;;
   m32r*le-*-*)
-    targ_defvec=bfd_elf32_m32rle_vec
-    targ_selvecs="bfd_elf32_m32r_vec bfd_elf32_m32rle_vec"
+    targ_defvec=m32r_elf32_le_vec
+    targ_selvecs="m32r_elf32_vec m32r_elf32_le_vec"
     ;;
   m32r-*-*)
-    targ_defvec=bfd_elf32_m32r_vec
+    targ_defvec=m32r_elf32_vec
     ;;
 
   m68hc11-*-* | m6811-*-*)
-    targ_defvec=bfd_elf32_m68hc11_vec
-    targ_selvecs="bfd_elf32_m68hc11_vec bfd_elf32_m68hc12_vec"
+    targ_defvec=m68hc11_elf32_vec
+    targ_selvecs="m68hc11_elf32_vec m68hc12_elf32_vec"
     ;;
   m68hc12-*-* | m6812-*-*)
-    targ_defvec=bfd_elf32_m68hc12_vec
-    targ_selvecs="bfd_elf32_m68hc11_vec bfd_elf32_m68hc12_vec"
+    targ_defvec=m68hc12_elf32_vec
+    targ_selvecs="m68hc11_elf32_vec m68hc12_elf32_vec"
     ;;
 
   m68*-motorola-sysv*)
-    targ_defvec=m68ksysvcoff_vec
+    targ_defvec=m68k_coff_sysv_vec
     ;;
   m68*-hp-bsd*)
-    targ_defvec=hp300bsd_vec
+    targ_defvec=m68k_aout_hp300bsd_vec
     targ_underscore=yes
     ;;
   m68*-*-aout*)
-    targ_defvec=aout0_big_vec
-    # We include cisco_core_big_vec here, rather than making a separate cisco
+    targ_defvec=aout0_be_vec
+    # We include core_cisco_be_vec here, rather than making a separate cisco
     # configuration, so that cisco-core.c gets routinely tested at
     # least for compilation.
-    targ_selvecs="cisco_core_big_vec ieee_vec"
+    targ_selvecs="core_cisco_be_vec ieee_vec"
     targ_underscore=yes
     ;;
   m68*-*-elf* | m68*-*-sysv4* | m68*-*-uclinux*)
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs="m68kcoff_vec ieee_vec"
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs="m68k_coff_vec ieee_vec"
     ;;
   m68*-*-rtems*)
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs="m68kcoff_vec versados_vec ieee_vec aout0_big_vec"
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs="m68k_coff_vec m68k_versados_vec ieee_vec aout0_be_vec"
     ;;
   m68*-*-coff* | m68*-*-sysv*)
-    targ_defvec=m68kcoff_vec
-    targ_selvecs="m68kcoff_vec versados_vec ieee_vec"
+    targ_defvec=m68k_coff_vec
+    targ_selvecs="m68k_coff_vec m68k_versados_vec ieee_vec"
     ;;
   m68*-*-hpux*)
-    targ_defvec=hp300hpux_vec
+    targ_defvec=m68k_aout_hp300hpux_vec
     targ_underscore=yes
     ;;
   m68*-*-linux*aout*)
-    targ_defvec=m68klinux_vec
-    targ_selvecs=bfd_elf32_m68k_vec
+    targ_defvec=m68k_aout_linux_vec
+    targ_selvecs=m68k_elf32_vec
     targ_underscore=yes
     ;;
   m68*-*-linux-*)
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs=m68klinux_vec
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs=m68k_aout_linux_vec
     ;;
   m68*-*-gnu*)
-    targ_defvec=bfd_elf32_m68k_vec
+    targ_defvec=m68k_elf32_vec
     # targ_selvecs=m68kmach3_vec
     # targ_cflags=-DSTAT_FOR_EXEC
     ;;
   m68*-hp*-netbsd*)
-    targ_defvec=m68k4knetbsd_vec
-    targ_selvecs="m68knetbsd_vec hp300bsd_vec sunos_big_vec"
+    targ_defvec=m68k_aout_4knbsd_vec
+    targ_selvecs="m68k_aout_nbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec"
     targ_underscore=yes
     ;;
   m68*-*-netbsdelf*)
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs="m68knetbsd_vec m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs="m68k_aout_nbsd_vec m68k_aout_4knbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec"
     ;;
   m68*-*-netbsdaout* | m68*-*-netbsd*)
-    targ_defvec=m68knetbsd_vec
-    targ_selvecs="m68k4knetbsd_vec bfd_elf32_m68k_vec hp300bsd_vec sunos_big_vec"
+    targ_defvec=m68k_aout_nbsd_vec
+    targ_selvecs="m68k_aout_4knbsd_vec m68k_elf32_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec"
     targ_underscore=yes
     ;;
   m68*-*-openbsd*)
-    targ_defvec=m68knetbsd_vec
-    targ_selvecs="m68k4knetbsd_vec hp300bsd_vec sunos_big_vec"
+    targ_defvec=m68k_aout_nbsd_vec
+    targ_selvecs="m68k_aout_4knbsd_vec m68k_aout_hp300bsd_vec sparc_aout_sunos_be_vec"
     targ_underscore=yes
     ;;
   m68*-*-sunos* | m68*-*-os68k* | m68*-*-vxworks* | m68*-netx-* | \
   m68*-*-bsd* | m68*-*-vsta*)
-    targ_defvec=sunos_big_vec
+    targ_defvec=sparc_aout_sunos_be_vec
     targ_underscore=yes
     ;;
   m68*-ericsson-*)
-    targ_defvec=sunos_big_vec
-    targ_selvecs="m68kcoff_vec versados_vec tekhex_vec"
+    targ_defvec=sparc_aout_sunos_be_vec
+    targ_selvecs="m68k_coff_vec m68k_versados_vec tekhex_vec"
     targ_underscore=yes
     ;;
   m68*-cbm-*)
-    targ_defvec=bfd_elf32_m68k_vec
-    targ_selvecs=m68kcoff_vec
+    targ_defvec=m68k_elf32_vec
+    targ_selvecs=m68k_coff_vec
     ;;
   m68*-*-psos*)
-    targ_defvec=bfd_elf32_m68k_vec
+    targ_defvec=m68k_elf32_vec
     targ_selvecs=ieee_vec
     targ_underscore=yes
     ;;
 
   m88*-harris-cxux* | m88*-*-dgux* | m88*-*-sysv4*)
-    targ_defvec=bfd_elf32_m88k_vec
-    targ_selvecs=m88kbcs_vec
+    targ_defvec=m88k_elf32_vec
+    targ_selvecs=m88k_coff_bcs_vec
     ;;
   m88*-*-mach3*)
-    targ_defvec=m88kmach3_vec
+    targ_defvec=m88k_aout_mach3_vec
     targ_cflags=-DSTAT_FOR_EXEC
     ;;
   m88*-*-openbsd*)
-   targ_defvec=m88kopenbsd_vec
+   targ_defvec=m88k_aout_obsd_vec
    targ_underscore=yes
    ;;
   m88*-*-*)
-    targ_defvec=m88kbcs_vec
+    targ_defvec=m88k_coff_bcs_vec
     targ_underscore=yes
     ;;
 
   mcore-*-elf)
-    targ_defvec=bfd_elf32_mcore_big_vec
-    targ_selvecs="bfd_elf32_mcore_big_vec bfd_elf32_mcore_little_vec"
+    targ_defvec=mcore_elf32_be_vec
+    targ_selvecs="mcore_elf32_be_vec mcore_elf32_le_vec"
     ;;
   mcore-*-pe)
-    targ_defvec=mcore_pe_big_vec
-    targ_selvecs="mcore_pe_big_vec mcore_pe_little_vec mcore_pei_big_vec mcore_pei_little_vec"
+    targ_defvec=mcore_pe_be_vec
+    targ_selvecs="mcore_pe_be_vec mcore_pe_le_vec mcore_pei_be_vec mcore_pei_le_vec"
     ;;
 
   mep-*-elf)
-    targ_defvec=bfd_elf32_mep_vec
-    targ_selvecs=bfd_elf32_mep_little_vec
+    targ_defvec=mep_elf32_vec
+    targ_selvecs=mep_elf32_le_vec
     ;;
 
   metag-*-*)
-    targ_defvec=bfd_elf32_metag_vec
+    targ_defvec=metag_elf32_vec
     targ_underscore=yes
     ;;
 
   microblazeel*-*)
-    targ_defvec=bfd_elf32_microblazeel_vec
-    targ_selvecs=bfd_elf32_microblaze_vec
+    targ_defvec=microblaze_elf32_le_vec
+    targ_selvecs=microblaze_elf32_vec
     ;;
 
   microblaze*-*)
-    targ_defvec=bfd_elf32_microblaze_vec
-    targ_selvecs=bfd_elf32_microblazeel_vec
+    targ_defvec=microblaze_elf32_vec
+    targ_selvecs=microblaze_elf32_le_vec
     ;;
 
   mips*-big-*)
-    targ_defvec=ecoff_big_vec
-    targ_selvecs=ecoff_little_vec
+    targ_defvec=mips_ecoff_be_vec
+    targ_selvecs=mips_ecoff_le_vec
     ;;
 #ifdef BFD64
   mips*el-*-netbsd*)
-    targ_defvec=bfd_elf32_tradlittlemips_vec
-    targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec"
+    targ_defvec=mips_elf32_trad_le_vec
+    targ_selvecs="mips_elf32_trad_be_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_le_vec mips_ecoff_be_vec"
     ;;
   mips*-*-netbsd*)
-    targ_defvec=bfd_elf32_tradbigmips_vec
-    targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec"
+    targ_defvec=mips_elf32_trad_be_vec
+    targ_selvecs="mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
     ;;
 #endif
   mips*-dec-* | mips*el-*-ecoff*)
-    targ_defvec=ecoff_little_vec
-    targ_selvecs=ecoff_big_vec
+    targ_defvec=mips_ecoff_le_vec
+    targ_selvecs=mips_ecoff_be_vec
     ;;
   mips*-*-ecoff*)
-    targ_defvec=ecoff_big_vec
-    targ_selvecs=ecoff_little_vec
+    targ_defvec=mips_ecoff_be_vec
+    targ_selvecs=mips_ecoff_le_vec
     ;;
 #ifdef BFD64
   mips*-*-irix6*)
-    targ_defvec=bfd_elf32_nbigmips_vec
-    targ_selvecs="bfd_elf32_nlittlemips_vec bfd_elf32_bigmips_vec bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_n_be_vec
+    targ_selvecs="mips_elf32_n_le_vec mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips64*-ps2-elf*)
-    targ_defvec=bfd_elf32_nlittlemips_vec
-    targ_selvecs="bfd_elf32_nlittlemips_vec bfd_elf32_nbigmips_vec bfd_elf32_bigmips_vec bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_n_le_vec
+    targ_selvecs="mips_elf32_n_le_vec mips_elf32_n_be_vec mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*-ps2-elf*)
-    targ_defvec=bfd_elf32_littlemips_vec
-    targ_selvecs="bfd_elf32_bigmips_vec bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_le_vec
+    targ_selvecs="mips_elf32_be_vec mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*-*-irix5*)
-    targ_defvec=bfd_elf32_bigmips_vec
-    targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
+    targ_defvec=mips_elf32_be_vec
+    targ_selvecs="mips_elf32_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
     ;;
 #endif
   mips*-sgi-* | mips*-*-bsd*)
-    targ_defvec=ecoff_big_vec
-    targ_selvecs=ecoff_little_vec
+    targ_defvec=mips_ecoff_be_vec
+    targ_selvecs=mips_ecoff_le_vec
     ;;
   mips*-*-lnews*)
-    targ_defvec=ecoff_biglittle_vec
-    targ_selvecs="ecoff_little_vec ecoff_big_vec"
+    targ_defvec=mips_ecoff_bele_vec
+    targ_selvecs="mips_ecoff_le_vec mips_ecoff_be_vec"
     ;;
 #ifdef BFD64
   mips*-*-sysv4*)
-    targ_defvec=bfd_elf32_tradbigmips_vec
-    targ_selvecs="bfd_elf32_tradlittlemips_vec ecoff_big_vec ecoff_little_vec"
+    targ_defvec=mips_elf32_trad_be_vec
+    targ_selvecs="mips_elf32_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
     ;;
 #endif
   mips*-*-sysv* | mips*-*-riscos*)
-    targ_defvec=ecoff_big_vec
-    targ_selvecs=ecoff_little_vec
+    targ_defvec=mips_ecoff_be_vec
+    targ_selvecs=mips_ecoff_le_vec
     ;;
 #ifdef BFD64
   mips*el-*-vxworks*)
-    targ_defvec=bfd_elf32_littlemips_vxworks_vec
-    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf32_bigmips_vxworks_vec bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_vxworks_le_vec
+    targ_selvecs="mips_elf32_le_vec mips_elf32_vxworks_be_vec mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*-*-vxworks*)
-    targ_defvec=bfd_elf32_bigmips_vxworks_vec
-    targ_selvecs="bfd_elf32_bigmips_vec bfd_elf32_littlemips_vxworks_vec bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_vxworks_be_vec
+    targ_selvecs="mips_elf32_be_vec mips_elf32_vxworks_le_vec mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*el-sde-elf*)
-    targ_defvec=bfd_elf32_tradlittlemips_vec
-    targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+    targ_defvec=mips_elf32_trad_le_vec
+    targ_selvecs="mips_elf32_trad_be_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
     ;;
   mips*-sde-elf* | mips*-mti-elf*)
-    targ_defvec=bfd_elf32_tradbigmips_vec
-    targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+    targ_defvec=mips_elf32_trad_be_vec
+    targ_selvecs="mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
     ;;
   mips*el-*-elf* | mips*el-*-vxworks* | mips*-*-chorus*)
-    targ_defvec=bfd_elf32_littlemips_vec
-    targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_le_vec
+    targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*-*-elf* | mips*-*-rtems* | mips*-*-vxworks | mips*-*-windiss)
-    targ_defvec=bfd_elf32_bigmips_vec
-    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_be_vec
+    targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips*-*-none)
-    targ_defvec=bfd_elf32_bigmips_vec
-    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+    targ_defvec=mips_elf32_be_vec
+    targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec"
     ;;
   mips64*-*-openbsd*)
-    targ_defvec=bfd_elf64_tradbigmips_vec
-    targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+    targ_defvec=mips_elf64_trad_be_vec
+    targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec"
     ;;
   mips*el-*-openbsd*)
-    targ_defvec=bfd_elf32_littlemips_vec
-    targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"
+    targ_defvec=mips_elf32_le_vec
+    targ_selvecs="mips_elf32_be_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_le_vec mips_ecoff_be_vec"
     ;;
   mips*-*-openbsd*)
-    targ_defvec=bfd_elf32_bigmips_vec
-    targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec"
+    targ_defvec=mips_elf32_be_vec
+    targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
     ;;
   mips64*el-*-linux*)
-    targ_defvec=bfd_elf32_ntradlittlemips_vec
-    targ_selvecs="bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
+    targ_defvec=mips_elf32_ntrad_le_vec
+    targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec"
     ;;
   mips64*-*-linux*)
-    targ_defvec=bfd_elf32_ntradbigmips_vec
-    targ_selvecs="bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+    targ_defvec=mips_elf32_ntrad_be_vec
+    targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
     ;;
   mips*el-*-linux*)
-    targ_defvec=bfd_elf32_tradlittlemips_vec
-    targ_selvecs="bfd_elf32_tradbigmips_vec ecoff_little_vec ecoff_big_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec"
+    targ_defvec=mips_elf32_trad_le_vec
+    targ_selvecs="mips_elf32_trad_be_vec mips_ecoff_le_vec mips_ecoff_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec"
     ;;
   mips*-*-linux*)
-    targ_defvec=bfd_elf32_tradbigmips_vec
-    targ_selvecs="bfd_elf32_tradlittlemips_vec ecoff_big_vec ecoff_little_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradlittlemips_vec"
+    targ_defvec=mips_elf32_trad_be_vec
+    targ_selvecs="mips_elf32_trad_le_vec mips_ecoff_be_vec mips_ecoff_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec"
     ;;
   mips64*el-*-freebsd* | mips64*el-*-kfreebsd*-gnu)
     # FreeBSD vectors
-    targ_defvec=bfd_elf32_ntradlittlemips_freebsd_vec
-    targ_selvecs="bfd_elf32_ntradbigmips_freebsd_vec bfd_elf32_tradlittlemips_freebsd_vec bfd_elf32_tradbigmips_freebsd_vec bfd_elf64_tradlittlemips_freebsd_vec bfd_elf64_tradbigmips_freebsd_vec"
+    targ_defvec=mips_elf32_ntradfbsd_le_vec
+    targ_selvecs="mips_elf32_ntradfbsd_be_vec mips_elf32_tradfbsd_le_vec mips_elf32_tradfbsd_be_vec mips_elf64_tradfbsd_le_vec mips_elf64_tradfbsd_be_vec"
     # Generic vectors
-    targ_selvecs="${targ_selvecs} bfd_elf32_ntradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec"
+    targ_selvecs="${targ_selvecs} mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec"
     ;;
   mips64*-*-freebsd* | mips64*-*-kfreebsd*-gnu)
     # FreeBSD vectors
-    targ_defvec=bfd_elf32_ntradbigmips_freebsd_vec
-    targ_selvecs="bfd_elf32_ntradlittlemips_freebsd_vec bfd_elf32_tradbigmips_freebsd_vec bfd_elf32_tradlittlemips_freebsd_vec bfd_elf64_tradbigmips_freebsd_vec bfd_elf64_tradlittlemips_freebsd_vec"
+    targ_defvec=mips_elf32_ntradfbsd_be_vec
+    targ_selvecs="mips_elf32_ntradfbsd_le_vec mips_elf32_tradfbsd_be_vec mips_elf32_tradfbsd_le_vec mips_elf64_tradfbsd_be_vec mips_elf64_tradfbsd_le_vec"
     # Generic vectors
-    targ_selvecs="${targ_selvecs} bfd_elf32_ntradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec"
+    targ_selvecs="${targ_selvecs} mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
     ;;
   mips*el-*-freebsd* | mips*el-*-kfreebsd*-gnu)
     # FreeBSD vectors
-    targ_defvec=bfd_elf32_tradlittlemips_freebsd_vec
-    targ_selvecs="bfd_elf32_tradbigmips_freebsd_vec bfd_elf32_ntradlittlemips_freebsd_vec bfd_elf64_tradlittlemips_freebsd_vec bfd_elf32_ntradbigmips_freebsd_vec bfd_elf64_tradbigmips_freebsd_vec"
+    targ_defvec=mips_elf32_tradfbsd_le_vec
+    targ_selvecs="mips_elf32_tradfbsd_be_vec mips_elf32_ntradfbsd_le_vec mips_elf64_tradfbsd_le_vec mips_elf32_ntradfbsd_be_vec mips_elf64_tradfbsd_be_vec"
     # Generic vectors
-    targ_selvecs="${targ_selvecs} bfd_elf32_tradlittlemips_vec bfd_elf32_tradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec"
+    targ_selvecs="${targ_selvecs} mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec"
     ;;
   mips*-*-freebsd* | mips*-*-kfreebsd*-gnu)
     # FreeBSD vectors
-    targ_defvec=bfd_elf32_tradbigmips_freebsd_vec
-    targ_selvecs="bfd_elf32_tradlittlemips_freebsd_vec bfd_elf32_ntradbigmips_freebsd_vec bfd_elf64_tradbigmips_freebsd_vec bfd_elf32_ntradlittlemips_freebsd_vec bfd_elf64_tradlittlemips_freebsd_vec"
+    targ_defvec=mips_elf32_tradfbsd_be_vec
+    targ_selvecs="mips_elf32_tradfbsd_le_vec mips_elf32_ntradfbsd_be_vec mips_elf64_tradfbsd_be_vec mips_elf32_ntradfbsd_le_vec mips_elf64_tradfbsd_le_vec"
     # Generic vectors
-    targ_selvecs="${targ_selvecs} bfd_elf32_tradbigmips_vec bfd_elf32_tradlittlemips_vec bfd_elf32_ntradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf32_ntradlittlemips_vec bfd_elf64_tradlittlemips_vec"
+    targ_selvecs="${targ_selvecs} mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf32_ntrad_be_vec mips_elf64_trad_be_vec mips_elf32_ntrad_le_vec mips_elf64_trad_le_vec"
     ;;
   mmix-*-*)
-    targ_defvec=bfd_elf64_mmix_vec
-    targ_selvecs=bfd_mmo_vec
+    targ_defvec=mmix_elf64_vec
+    targ_selvecs=mmix_mmo_vec
     want64=true
     ;;
 #endif
   mn10200-*-*)
-    targ_defvec=bfd_elf32_mn10200_vec
+    targ_defvec=mn10200_elf32_vec
     ;;
 
   mn10300-*-*)
-    targ_defvec=bfd_elf32_mn10300_vec
+    targ_defvec=mn10300_elf32_vec
     targ_underscore=yes
     ;;
 
   mt-*-elf)
-    targ_defvec=bfd_elf32_mt_vec
+    targ_defvec=mt_elf32_vec
     ;;
 
   msp430-*-*)
-    targ_defvec=bfd_elf32_msp430_vec
-    targ_selvecs=bfd_elf32_msp430_ti_vec
+    targ_defvec=msp430_elf32_vec
+    targ_selvecs=msp430_elf32_ti_vec
     ;;
 
   nds32*le-*-linux*)
-    targ_defvec=bfd_elf32_nds32lelin_vec
-    targ_selvecs=bfd_elf32_nds32belin_vec
+    targ_defvec=nds32_elf32_linux_le_vec
+    targ_selvecs=nds32_elf32_linux_be_vec
     ;;
 
   nds32*be-*-linux*)
-    targ_defvec=bfd_elf32_nds32belin_vec
-    targ_selvecs=bfd_elf32_nds32lelin_vec
+    targ_defvec=nds32_elf32_linux_be_vec
+    targ_selvecs=nds32_elf32_linux_le_vec
     ;;
 
   nds32*le-*-*)
-    targ_defvec=bfd_elf32_nds32le_vec
-    targ_selvecs=bfd_elf32_nds32be_vec
+    targ_defvec=nds32_elf32_le_vec
+    targ_selvecs=nds32_elf32_be_vec
     ;;
 
   nds32*be-*-*)
-    targ_defvec=bfd_elf32_nds32be_vec
-    targ_selvecs=bfd_elf32_nds32le_vec
+    targ_defvec=nds32_elf32_be_vec
+    targ_selvecs=nds32_elf32_le_vec
     ;;
 
   ns32k-pc532-mach* | ns32k-pc532-ux*)
-    targ_defvec=pc532machaout_vec
+    targ_defvec=ns32k_aout_pc532mach_vec
     targ_underscore=yes
     ;;
   ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*)
-    targ_defvec=pc532netbsd_vec
+    targ_defvec=ns32k_aout_pc532nbsd_vec
     targ_underscore=yes
     ;;
 
   nios2eb-*-*)
-    targ_defvec=bfd_elf32_bignios2_vec
-    targ_selvecs=bfd_elf32_littlenios2_vec
+    targ_defvec=nios2_elf32_be_vec
+    targ_selvecs=nios2_elf32_le_vec
     ;;
 
   nios2el-*-*)
-    targ_defvec=bfd_elf32_littlenios2_vec
-    targ_selvecs=bfd_elf32_bignios2_vec
+    targ_defvec=nios2_elf32_le_vec
+    targ_selvecs=nios2_elf32_be_vec
     ;;
 
   nios2-*-*)
-    targ_defvec=bfd_elf32_littlenios2_vec
-    targ_selvecs=bfd_elf32_bignios2_vec
+    targ_defvec=nios2_elf32_le_vec
+    targ_selvecs=nios2_elf32_be_vec
     ;;
 
   or1k-*-elf | or1k-*-linux*)
-    targ_defvec=bfd_elf32_or1k_vec
+    targ_defvec=or1k_elf32_vec
     ;;
 
   or1knd-*-elf | or1knd-*-linux*)
-    targ_defvec=bfd_elf32_or1k_vec
+    targ_defvec=or1k_elf32_vec
     ;;
 
   pdp11-*-*)
@@ -1184,45 +1184,45 @@ case "${targ}" in
     ;;
 
   pj-*-*)
-    targ_defvec=bfd_elf32_pj_vec
-    targ_selvecs="bfd_elf32_pj_vec bfd_elf32_pjl_vec"
+    targ_defvec=pj_elf32_vec
+    targ_selvecs="pj_elf32_vec pj_elf32_le_vec"
     ;;
 
   pjl-*-*)
-    targ_defvec=bfd_elf32_pjl_vec
-    targ_selvecs="bfd_elf32_pjl_vec bfd_elf32_pj_vec bfd_elf32_i386_vec"
+    targ_defvec=pj_elf32_le_vec
+    targ_selvecs="pj_elf32_le_vec pj_elf32_vec i386_elf32_vec"
     ;;
 
   powerpc-*-aix5.[01] | rs6000-*-aix5.[01])
-    targ_defvec=rs6000coff_vec
-    targ_selvecs="aix5coff64_vec"
+    targ_defvec=rs6000_xcoff_vec
+    targ_selvecs="rs6000_xcoff64_aix_vec"
     want64=true
     ;;
 #ifdef BFD64
   powerpc64-*-aix5.[01] | rs6000-*-aix5.[01])
-    targ_defvec=aix5coff64_vec
-    targ_selvecs="rs6000coff_vec"
+    targ_defvec=rs6000_xcoff64_aix_vec
+    targ_selvecs="rs6000_xcoff_vec"
     want64=true
     ;;
 #endif
   powerpc-*-aix[5-9]* | rs6000-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
-    targ_defvec=rs6000coff_vec
-    targ_selvecs="aix5coff64_vec"
+    targ_defvec=rs6000_xcoff_vec
+    targ_selvecs="rs6000_xcoff64_aix_vec"
     want64=true
     ;;
 #ifdef BFD64
   powerpc64-*-aix[5-9]* | rs6000-*-aix[5-9]*)
     targ_cflags=-DAIX_WEAK_SUPPORT
-    targ_defvec=aix5coff64_vec
-    targ_selvecs="rs6000coff_vec"
+    targ_defvec=rs6000_xcoff64_aix_vec
+    targ_selvecs="rs6000_xcoff_vec"
     want64=true
     ;;
 #endif
 
   powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
-    targ_defvec=rs6000coff_vec
-    targ64_selvecs=rs6000coff64_vec
+    targ_defvec=rs6000_xcoff_vec
+    targ64_selvecs=rs6000_xcoff64_vec
     case "${targ}" in
        *-*-aix4.[3456789]* | *-*-aix[56789]*)
        want64=true;;
@@ -1232,44 +1232,44 @@ case "${targ}" in
     ;;
 #ifdef BFD64
   powerpc64-*-aix*)
-    targ_defvec=rs6000coff64_vec
-    targ_selvecs=rs6000coff_vec
+    targ_defvec=rs6000_xcoff64_vec
+    targ_selvecs=rs6000_xcoff_vec
     want64=true
     ;;
   powerpc64-*-freebsd*)
-    targ_defvec=bfd_elf64_powerpc_freebsd_vec
-    targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpc_vec bfd_elf32_powerpc_freebsd_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
+    targ_defvec=powerpc_elf64_fbsd_vec
+    targ_selvecs="powerpc_elf64_vec powerpc_elf32_vec powerpc_elf32_fbsd_vec powerpc_elf32_le_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec"
     want64=true
     ;;
   powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \
   powerpc64-*-*bsd*)
-    targ_defvec=bfd_elf64_powerpc_vec
-    targ_selvecs="bfd_elf64_powerpcle_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
+    targ_defvec=powerpc_elf64_vec
+    targ_selvecs="powerpc_elf64_le_vec powerpc_elf32_vec powerpc_elf32_le_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec"
     want64=true
     ;;
   powerpc64le-*-elf* | powerpcle-*-elf64* | powerpc64le-*-linux* | \
   powerpc64le-*-*bsd*)
-    targ_defvec=bfd_elf64_powerpcle_vec
-    targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpcle_vec bfd_elf32_powerpc_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
+    targ_defvec=powerpc_elf64_le_vec
+    targ_selvecs="powerpc_elf64_vec powerpc_elf32_le_vec powerpc_elf32_vec rs6000_xcoff_vec rs6000_xcoff64_vec rs6000_xcoff64_aix_vec"
     want64=true
     ;;
 #endif
   powerpc-*-*freebsd*)
-    targ_defvec=bfd_elf32_powerpc_freebsd_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec ppcboot_vec"
-    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec bfd_elf64_powerpc_freebsd_vec"
+    targ_defvec=powerpc_elf32_fbsd_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_elf32_le_vec powerpc_boot_vec"
+    targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec powerpc_elf64_fbsd_vec"
     ;;
   powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
   powerpc-*-solaris2* | powerpc-*-linux-* | powerpc-*-rtems* | \
   powerpc-*-chorus*)
-    targ_defvec=bfd_elf32_powerpc_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"
-    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
+    targ_defvec=powerpc_elf32_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec"
+    targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
     ;;
   powerpc-*-kaos*)
-    targ_defvec=bfd_elf32_powerpc_vec
-    targ_selvecs="bfd_elf32_powerpcle_vec ppcboot_vec"
-    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
+    targ_defvec=powerpc_elf32_vec
+    targ_selvecs="powerpc_elf32_le_vec powerpc_boot_vec"
+    targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
     ;;
   powerpc-*-darwin* | powerpc-*-macos10* | powerpc-*-rhapsody*)
     targ_defvec=mach_o_be_vec
@@ -1277,415 +1277,415 @@ case "${targ}" in
     targ_archs="$targ_archs bfd_i386_arch"
     ;;
   powerpc-*-macos*)
-    targ_defvec=pmac_xcoff_vec
+    targ_defvec=powerpc_xcoff_vec
     ;;
   powerpc-*-lynxos*)
-    targ_defvec=bfd_elf32_powerpc_vec
-    targ_selvecs="rs6000coff_vec"
+    targ_defvec=powerpc_elf32_vec
+    targ_selvecs="rs6000_xcoff_vec"
     targ_cflags=-DSMALL_ARCHIVE
     ;;
   powerpc-*-netware*)
-    targ_defvec=bfd_elf32_powerpc_vec
-    targ_selvecs="nlm32_powerpc_vec rs6000coff_vec"
+    targ_defvec=powerpc_elf32_vec
+    targ_selvecs="powerpc_nlm32_vec rs6000_xcoff_vec"
     ;;
   powerpc-*-nto*)
-    targ_defvec=bfd_elf32_powerpc_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpcle_vec ppcboot_vec"
+    targ_defvec=powerpc_elf32_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_le_vec powerpc_boot_vec"
     ;;
   powerpc-*-vxworks* | powerpc-*-windiss*)
-    targ_defvec=bfd_elf32_powerpc_vxworks_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec ppcboot_vec"
-    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
+    targ_defvec=powerpc_elf32_vxworks_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_elf32_le_vec powerpc_boot_vec"
+    targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
     ;;
   powerpcle-*-nto*)
-    targ_defvec=bfd_elf32_powerpcle_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
+    targ_defvec=powerpc_elf32_le_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_boot_vec"
     ;;
   powerpcle-*-elf* | powerpcle-*-sysv4* | powerpcle-*-eabi* | \
   powerpcle-*-solaris2* | powerpcle-*-linux-* | powerpcle-*-vxworks*)
-    targ_defvec=bfd_elf32_powerpcle_vec
-    targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec ppcboot_vec"
-    targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec"
+    targ_defvec=powerpc_elf32_le_vec
+    targ_selvecs="rs6000_xcoff_vec powerpc_elf32_vec powerpc_boot_vec"
+    targ64_selvecs="powerpc_elf64_vec powerpc_elf64_le_vec"
     ;;
   powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin*)
-    targ_defvec=bfd_powerpcle_pe_vec
-    targ_selvecs="bfd_powerpcle_pei_vec bfd_powerpc_pei_vec bfd_powerpcle_pe_vec bfd_powerpc_pe_vec"
+    targ_defvec=powerpc_pe_le_vec
+    targ_selvecs="powerpc_pei_le_vec powerpc_pei_vec powerpc_pe_le_vec powerpc_pe_vec"
     ;;
 
   rl78-*-elf)
-    targ_defvec=bfd_elf32_rl78_vec
+    targ_defvec=rl78_elf32_vec
     ;;
 
   rx-*-elf)
-    targ_defvec=bfd_elf32_rx_le_vec
-    targ_selvecs="bfd_elf32_rx_be_vec bfd_elf32_rx_le_vec bfd_elf32_rx_be_ns_vec"
+    targ_defvec=rx_elf32_le_vec
+    targ_selvecs="rx_elf32_be_vec rx_elf32_le_vec rx_elf32_be_ns_vec"
     ;;
 
   s390-*-linux*)
-    targ_defvec=bfd_elf32_s390_vec
-    targ64_selvecs=bfd_elf64_s390_vec
+    targ_defvec=s390_elf32_vec
+    targ64_selvecs=s390_elf64_vec
     want64=true
     ;;
 #ifdef BFD64
   s390x-*-linux*)
-    targ_defvec=bfd_elf64_s390_vec
-    targ_selvecs=bfd_elf32_s390_vec
+    targ_defvec=s390_elf64_vec
+    targ_selvecs=s390_elf32_vec
     want64=true
     ;;
   s390x-*-tpf*)
-    targ_defvec=bfd_elf64_s390_vec
+    targ_defvec=s390_elf64_vec
     want64=true
     ;;
 
   score*-*-elf*)
-    targ_defvec=bfd_elf32_bigscore_vec
-    targ_selvecs=bfd_elf32_littlescore_vec
+    targ_defvec=score_elf32_be_vec
+    targ_selvecs=score_elf32_le_vec
     ;;
 
   sh64l*-*-elf*)
-    targ_defvec=bfd_elf32_sh64l_vec
-    targ_selvecs="bfd_elf32_sh64_vec bfd_elf64_sh64l_vec bfd_elf64_sh64_vec bfd_elf32_shl_vec bfd_elf32_sh_vec"
+    targ_defvec=sh64_elf32_le_vec
+    targ_selvecs="sh64_elf32_vec sh64_elf64_le_vec sh64_elf64_vec sh_elf32_le_vec sh_elf32_vec"
     targ_underscore=yes
     want64=true
     ;;
   sh64-*-elf*)
-    targ_defvec=bfd_elf32_sh64_vec
-    targ_selvecs="bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec bfd_elf32_sh_vec bfd_elf32_shl_vec"
+    targ_defvec=sh64_elf32_vec
+    targ_selvecs="sh64_elf32_le_vec sh64_elf64_vec sh64_elf64_le_vec sh_elf32_vec sh_elf32_le_vec"
     targ_underscore=yes
     want64=true
     ;;
   sh64eb-*-linux*)
-    targ_defvec=bfd_elf32_sh64blin_vec
-    targ_selvecs="bfd_elf32_sh64lin_vec bfd_elf64_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf32_shblin_vec bfd_elf32_shlin_vec"
+    targ_defvec=sh64_elf32_linux_be_vec
+    targ_selvecs="sh64_elf32_linux_vec sh64_elf64_linux_be_vec sh64_elf64_linux_vec sh_elf32_linux_be_vec sh_elf32_linux_vec"
     want64=true
     ;;
   sh64-*-linux*)
-    targ_defvec=bfd_elf32_sh64lin_vec
-    targ_selvecs="bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec bfd_elf32_shlin_vec bfd_elf32_shblin_vec"
+    targ_defvec=sh64_elf32_linux_vec
+    targ_selvecs="sh64_elf32_linux_be_vec sh64_elf64_linux_vec sh64_elf64_linux_be_vec sh_elf32_linux_vec sh_elf32_linux_be_vec"
     want64=true
     ;;
   sh-*-linux*)
-    targ_defvec=bfd_elf32_shblin_vec
-    targ_selvecs="bfd_elf32_shlin_vec bfd_elf32_sh64lin_vec bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec"
+    targ_defvec=sh_elf32_linux_be_vec
+    targ_selvecs="sh_elf32_linux_vec sh64_elf32_linux_vec sh64_elf32_linux_be_vec sh64_elf64_linux_vec sh64_elf64_linux_be_vec"
     want64=true
     ;;
 #endif /* BFD64 */
 
   sh*eb-*-linux*)
-    targ_defvec=bfd_elf32_shblin_vec
-    targ_selvecs=bfd_elf32_shlin_vec
+    targ_defvec=sh_elf32_linux_be_vec
+    targ_selvecs=sh_elf32_linux_vec
     ;;
   sh*-*-linux*)
-    targ_defvec=bfd_elf32_shlin_vec
-    targ_selvecs=bfd_elf32_shblin_vec
+    targ_defvec=sh_elf32_linux_vec
+    targ_selvecs=sh_elf32_linux_be_vec
     ;;
 
   sh-*-uclinux* | sh[12]-*-uclinux*)
-    targ_defvec=bfd_elf32_sh_vec
-    targ_selvecs="bfd_elf32_shl_vec bfd_elf32_shblin_vec bfd_elf32_shlin_vec bfd_elf32_shfd_vec bfd_elf32_shbfd_vec"
+    targ_defvec=sh_elf32_vec
+    targ_selvecs="sh_elf32_le_vec sh_elf32_linux_be_vec sh_elf32_linux_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec"
 #ifdef BFD64
-    targ_selvecs="${targ_selvecs} bfd_elf32_sh64lin_vec bfd_elf32_sh64blin_vec bfd_elf64_sh64lin_vec bfd_elf64_sh64blin_vec"
+    targ_selvecs="${targ_selvecs} sh64_elf32_linux_vec sh64_elf32_linux_be_vec sh64_elf64_linux_vec sh64_elf64_linux_be_vec"
 #endif
     ;;
 
 #ifdef BFD64
   sh5le-*-netbsd*)
-    targ_defvec=bfd_elf32_sh64lnbsd_vec
-    targ_selvecs="bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec bfd_elf32_shnbsd_vec bfd_elf32_shlnbsd_vec"
+    targ_defvec=sh64_elf32_nbsd_le_vec
+    targ_selvecs="sh64_elf32_nbsd_vec sh64_elf64_nbsd_le_vec sh64_elf64_nbsd_vec sh_elf32_nbsd_vec sh_elf32_nbsd_le_vec"
     want64=true
     ;;
   sh5-*-netbsd*)
-    targ_defvec=bfd_elf32_sh64nbsd_vec
-    targ_selvecs="bfd_elf32_sh64lnbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec bfd_elf32_shnbsd_vec bfd_elf32_shlnbsd_vec"
+    targ_defvec=sh64_elf32_nbsd_vec
+    targ_selvecs="sh64_elf32_nbsd_le_vec sh64_elf64_nbsd_le_vec sh64_elf64_nbsd_vec sh_elf32_nbsd_vec sh_elf32_nbsd_le_vec"
     want64=true
     ;;
 
   sh64le-*-netbsd*)
-    targ_defvec=bfd_elf64_sh64lnbsd_vec
-    targ_selvecs="bfd_elf64_sh64nbsd_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf32_shnbsd_vec bfd_elf32_shlnbsd_vec"
+    targ_defvec=sh64_elf64_nbsd_le_vec
+    targ_selvecs="sh64_elf64_nbsd_vec sh64_elf32_nbsd_le_vec sh64_elf32_nbsd_vec sh_elf32_nbsd_vec sh_elf32_nbsd_le_vec"
     want64=true
     ;;
   sh64-*-netbsd*)
-    targ_defvec=bfd_elf64_sh64nbsd_vec
-    targ_selvecs="bfd_elf64_sh64lnbsd_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf32_shnbsd_vec bfd_elf32_shlnbsd_vec"
+    targ_defvec=sh64_elf64_nbsd_vec
+    targ_selvecs="sh64_elf64_nbsd_le_vec sh64_elf32_nbsd_le_vec sh64_elf32_nbsd_vec sh_elf32_nbsd_vec sh_elf32_nbsd_le_vec"
     want64=true
     ;;
 
   sh*l*-*-netbsdelf*)
-    targ_defvec=bfd_elf32_shlnbsd_vec
-    targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
+    targ_defvec=sh_elf32_nbsd_le_vec
+    targ_selvecs="sh_elf32_nbsd_vec sh_coff_vec sh_coff_le_vec sh64_elf32_nbsd_le_vec sh64_elf32_nbsd_vec sh64_elf64_nbsd_le_vec sh64_elf64_nbsd_vec"
     want64=true
     ;;
   sh-*-netbsdelf*)
-    targ_defvec=bfd_elf32_shnbsd_vec
-    targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec bfd_elf32_sh64lnbsd_vec bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
+    targ_defvec=sh_elf32_nbsd_vec
+    targ_selvecs="sh_elf32_nbsd_le_vec sh_coff_vec sh_coff_le_vec sh64_elf32_nbsd_le_vec sh64_elf32_nbsd_vec sh64_elf64_nbsd_le_vec sh64_elf64_nbsd_vec"
     want64=true
     ;;
 #endif
 
   sh*-*-netbsdelf*)
-    targ_defvec=bfd_elf32_shnbsd_vec
-    targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec"
+    targ_defvec=sh_elf32_nbsd_vec
+    targ_selvecs="sh_elf32_nbsd_le_vec sh_coff_vec sh_coff_le_vec"
     ;;
   sh*-*-symbianelf*)
-    targ_defvec=bfd_elf32_shl_symbian_vec
-    targ_selvecs="shlcoff_vec shlcoff_small_vec"
+    targ_defvec=sh_elf32_symbian_le_vec
+    targ_selvecs="sh_coff_le_vec sh_coff_small_le_vec"
     targ_underscore=yes
     ;;
 
 #ifdef BFD64
   shl*-*-elf* | sh[1234]l*-*-elf* | sh3el*-*-elf* | shl*-*-kaos*)
-    targ_defvec=bfd_elf32_shl_vec
-    targ_selvecs="bfd_elf32_sh_vec shlcoff_vec shcoff_vec shlcoff_small_vec shcoff_small_vec bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec"
+    targ_defvec=sh_elf32_le_vec
+    targ_selvecs="sh_elf32_vec sh_coff_le_vec sh_coff_vec sh_coff_small_le_vec sh_coff_small_vec sh64_elf32_vec sh64_elf32_le_vec sh64_elf64_vec sh64_elf64_le_vec"
     targ_underscore=yes
     want64=true
     ;;
 #endif
 
   sh-*-rtemscoff*)
-    targ_defvec=shcoff_vec
-    targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    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=bfd_elf32_sh_vec
-    targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec"
+    targ_defvec=sh_elf32_vec
+    targ_selvecs="sh_elf32_le_vec sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec sh64_elf32_vec sh64_elf32_le_vec sh64_elf64_vec sh64_elf64_le_vec"
     targ_underscore=yes
     want64=true
     ;;
 #endif
 
   sh-*-nto*)
-    targ_defvec=bfd_elf32_sh_vec
-    targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    targ_defvec=sh_elf32_vec
+    targ_selvecs="sh_elf32_le_vec sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec"
     targ_underscore=yes
     ;;
   sh*-*-openbsd*)
-    targ_defvec=bfd_elf32_shlnbsd_vec
-    targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
+    targ_defvec=sh_elf32_nbsd_le_vec
+    targ_selvecs="sh_elf32_nbsd_vec sh_coff_vec sh_coff_le_vec"
     ;;
   sh-*-pe)
-    targ_defvec=shlpe_vec
-    targ_selvecs="shlpe_vec shlpei_vec"
+    targ_defvec=sh_pe_le_vec
+    targ_selvecs="sh_pe_le_vec sh_pei_le_vec"
     targ_underscore=yes
     ;;
   sh-*-vxworks)
-    targ_defvec=bfd_elf32_shvxworks_vec
-    targ_selvecs="bfd_elf32_shlvxworks_vec"
+    targ_defvec=sh_elf32_vxworks_vec
+    targ_selvecs="sh_elf32_vxworks_le_vec"
     # FIXME None of the following are actually used on this target, but
     # they're necessary for coff-sh.c (which is unconditionally used) to be
     # compiled correctly.
-    targ_selvecs="$targ_selvecs shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    targ_selvecs="$targ_selvecs sh_coff_vec sh_coff_le_vec sh_coff_small_vec sh_coff_small_le_vec"
     targ_underscore=yes
     ;;
   sh-*-*)
-    targ_defvec=shcoff_vec
-    targ_selvecs="shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    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
     ;;
 
   sparclet-*-aout*)
-    targ_defvec=sunos_big_vec
-    targ_selvecs=sparcle_aout_vec
+    targ_defvec=sparc_aout_sunos_be_vec
+    targ_selvecs=sparc_aout_le_vec
     targ_underscore=yes
     ;;
   sparc86x-*-aout*)
-    targ_defvec=sunos_big_vec
+    targ_defvec=sparc_aout_sunos_be_vec
     targ_underscore=yes
     ;;
   sparclite-*-elf* | sparc86x-*-elf*)
-    targ_defvec=bfd_elf32_sparc_vec
+    targ_defvec=sparc_elf32_vec
     ;;
   sparc*-*-chorus*)
-    targ_defvec=bfd_elf32_sparc_vec
+    targ_defvec=sparc_elf32_vec
     ;;
   sparc-*-linux*aout*)
-    targ_defvec=sparclinux_vec
-    targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_aout_linux_vec
+    targ_selvecs="sparc_elf32_vec sparc_aout_sunos_be_vec"
     targ_underscore=yes
     ;;
   sparc-*-linux-* | sparcv*-*-linux-*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs="sparc_aout_linux_vec sparc_elf64_vec sparc_aout_sunos_be_vec"
     ;;
   sparc-*-netbsdelf*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs=sparcnetbsd_vec
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs=sparc_aout_nbsd_vec
     ;;
   sparc-*-netbsdaout* | sparc-*-netbsd*)
-    targ_defvec=sparcnetbsd_vec
-    targ_selvecs=bfd_elf32_sparc_vec
+    targ_defvec=sparc_aout_nbsd_vec
+    targ_selvecs=sparc_elf32_vec
     targ_underscore=yes
     ;;
   sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1])
-    targ_defvec=sparcnetbsd_vec
+    targ_defvec=sparc_aout_nbsd_vec
     targ_underscore=yes
     ;;
   sparc-*-openbsd*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs=sparcnetbsd_vec
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs=sparc_aout_nbsd_vec
     ;;
   sparc-*-elf*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs=sunos_big_vec
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs=sparc_aout_sunos_be_vec
     ;;
   sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*)
-    targ_defvec=bfd_elf32_sparc_sol2_vec
-    targ_selvecs=sunos_big_vec
+    targ_defvec=sparc_elf32_sol2_vec
+    targ_selvecs=sparc_aout_sunos_be_vec
     ;;
 #ifdef BFD64
   sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
-    targ_defvec=bfd_elf32_sparc_sol2_vec
-    targ_selvecs="bfd_elf64_sparc_sol2_vec sunos_big_vec"
+    targ_defvec=sparc_elf32_sol2_vec
+    targ_selvecs="sparc_elf64_sol2_vec sparc_aout_sunos_be_vec"
     want64=true
     ;;
 #endif
   sparc-*-sysv4*)
-    targ_defvec=bfd_elf32_sparc_vec
+    targ_defvec=sparc_elf32_vec
     ;;
   sparc-*-vxworks*)
-    targ_defvec=bfd_elf32_sparc_vxworks_vec
-    targ_selvecs="bfd_elf32_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_elf32_vxworks_vec
+    targ_selvecs="sparc_elf32_vec sparc_aout_sunos_be_vec"
     ;;
   sparc-*-netware*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs="nlm32_sparc_vec sunos_big_vec"
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs="sparc_nlm32_vec sparc_aout_sunos_be_vec"
     ;;
 #ifdef BFD64
   sparc64-*-aout*)
-    targ_defvec=sunos_big_vec
+    targ_defvec=sparc_aout_sunos_be_vec
     targ_underscore=yes
     want64=true
     ;;
   sparc64*-*-linux-*)
-    targ_defvec=bfd_elf64_sparc_vec
-    targ_selvecs="bfd_elf32_sparc_vec sparclinux_vec sunos_big_vec"
+    targ_defvec=sparc_elf64_vec
+    targ_selvecs="sparc_elf32_vec sparc_aout_linux_vec sparc_aout_sunos_be_vec"
     want64=true
     ;;
   sparc64-*-elf* | sparc64-*-rtems* )
-    targ_defvec=bfd_elf64_sparc_vec
-    targ_selvecs=bfd_elf32_sparc_vec
+    targ_defvec=sparc_elf64_vec
+    targ_selvecs=sparc_elf32_vec
     want64=true
     ;;
 #endif /* BFD64 */
   sparc*-*-coff*)
-    targ_defvec=sparccoff_vec
+    targ_defvec=sparc_coff_vec
     ;;
   sparc-*-rtems*)
-    targ_defvec=bfd_elf32_sparc_vec
-    targ_selvecs="sunos_big_vec sparccoff_vec"
+    targ_defvec=sparc_elf32_vec
+    targ_selvecs="sparc_aout_sunos_be_vec sparc_coff_vec"
     ;;
   sparc*-*-*)
-    targ_defvec=sunos_big_vec
+    targ_defvec=sparc_aout_sunos_be_vec
     targ_underscore=yes
     ;;
 
   spu-*-elf)
-    targ_defvec=bfd_elf32_spu_vec
+    targ_defvec=spu_elf32_vec
     want64=true
     ;;
 
-#if HAVE_host_aout_vec
+#if HAVE_aout_vec
   tahoe-*-*)
-    targ_defvec=host_aout_vec
+    targ_defvec=aout_vec
     targ_underscore=yes
     ;;
 #endif
 
   tic6x-*-elf)
-    targ_defvec=bfd_elf32_tic6x_elf_le_vec
-    targ_selvecs="bfd_elf32_tic6x_elf_be_vec bfd_elf32_tic6x_le_vec bfd_elf32_tic6x_be_vec"
+    targ_defvec=tic6x_elf32_c6000_le_vec
+    targ_selvecs="tic6x_elf32_c6000_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec"
     ;;
 
   tic6x-*-uclinux)
-    targ_defvec=bfd_elf32_tic6x_linux_le_vec
-    targ_selvecs="bfd_elf32_tic6x_linux_be_vec bfd_elf32_tic6x_le_vec bfd_elf32_tic6x_be_vec"
+    targ_defvec=tic6x_elf32_linux_le_vec
+    targ_selvecs="tic6x_elf32_linux_be_vec tic6x_elf32_le_vec tic6x_elf32_be_vec"
     ;;
 
   tic80*-*-*)
-    targ_defvec=tic80coff_vec
+    targ_defvec=tic80_coff_vec
     targ_underscore=yes
     ;;
 
 #ifdef BFD64
   tilegx-*-*)
-    targ_defvec=bfd_elf64_tilegx_le_vec
-    targ_selvecs="bfd_elf64_tilegx_be_vec bfd_elf32_tilegx_be_vec bfd_elf32_tilegx_le_vec"
+    targ_defvec=tilegx_elf64_le_vec
+    targ_selvecs="tilegx_elf64_be_vec tilegx_elf32_be_vec tilegx_elf32_le_vec"
     ;;
   tilegxbe-*-*)
-    targ_defvec=bfd_elf64_tilegx_be_vec
-    targ_selvecs="bfd_elf64_tilegx_le_vec bfd_elf32_tilegx_be_vec bfd_elf32_tilegx_le_vec"
+    targ_defvec=tilegx_elf64_be_vec
+    targ_selvecs="tilegx_elf64_le_vec tilegx_elf32_be_vec tilegx_elf32_le_vec"
     ;;
 #endif
 
   tilepro-*-*)
-    targ_defvec=bfd_elf32_tilepro_vec
+    targ_defvec=tilepro_elf32_vec
     ;;
 
   v850*-*-*)
-    targ_defvec=bfd_elf32_v850_vec
-    targ_selvecs="bfd_elf32_v850_rh850_vec"
+    targ_defvec=v850_elf32_vec
+    targ_selvecs="v800_elf32_vec"
     ;;
 
   vax-*-netbsdelf*)
-    targ_defvec=bfd_elf32_vax_vec
-    targ_selvecs="vaxnetbsd_vec vax1knetbsd_vec"
+    targ_defvec=vax_elf32_vec
+    targ_selvecs="vax_aout_nbsd_vec vax_aout_1knbsd_vec"
     ;;
 
   vax-*-netbsdaout* | vax-*-netbsd*)
-    targ_defvec=vaxnetbsd_vec
-    targ_selvecs="bfd_elf32_vax_vec vax1knetbsd_vec"
+    targ_defvec=vax_aout_nbsd_vec
+    targ_selvecs="vax_elf32_vec vax_aout_1knbsd_vec"
     targ_underscore=yes
     ;;
 
   vax-*-bsd* | vax-*-ultrix*)
-    targ_defvec=vaxbsd_vec
+    targ_defvec=vax_aout_bsd_vec
     targ_underscore=yes
     ;;
 
   vax-*-openbsd*)
-    targ_defvec=vaxnetbsd_vec
+    targ_defvec=vax_aout_nbsd_vec
     targ_underscore=yes
     ;;
 
   vax-*-linux-*)
-    targ_defvec=bfd_elf32_vax_vec
+    targ_defvec=vax_elf32_vec
     ;;
 
   we32k-*-*)
-    targ_defvec=we32kcoff_vec
+    targ_defvec=we32k_coff_vec
     ;;
 
   w65-*-*)
-    targ_defvec=w65_vec
+    targ_defvec=w65_coff_vec
     ;;
     
   xgate-*-*)
-    targ_defvec=bfd_elf32_xgate_vec
-    targ_selvecs="bfd_elf32_xgate_vec"
+    targ_defvec=xgate_elf32_vec
+    targ_selvecs="xgate_elf32_vec"
     ;;
        
   xstormy16-*-elf)
-    targ_defvec=bfd_elf32_xstormy16_vec
+    targ_defvec=xstormy16_elf32_vec
     ;;
 
   xtensa*-*-*)
-    targ_defvec=bfd_elf32_xtensa_le_vec
-    targ_selvecs=bfd_elf32_xtensa_be_vec
+    targ_defvec=xtensa_elf32_le_vec
+    targ_selvecs=xtensa_elf32_be_vec
     ;;
  xc16x-*-elf)
-    targ_defvec=bfd_elf32_xc16x_vec
+    targ_defvec=xc16x_elf32_vec
     ;;
 
   z80-*-*)
-    targ_defvec=z80coff_vec
+    targ_defvec=z80_coff_vec
     targ_underscore=no
     ;;
 
   z8k*-*-*)
-    targ_defvec=z8kcoff_vec
+    targ_defvec=z8k_coff_vec
     targ_underscore=yes
     ;;
 
@@ -1694,17 +1694,17 @@ case "${targ}" in
     ;;
 
   *-adobe-*)
-    targ_defvec=a_out_adobe_vec
+    targ_defvec=aout_adobe_vec
     targ_underscore=yes
     ;;
 
   *-sony-*)
-    targ_defvec=newsos3_vec
+    targ_defvec=m68k_aout_newsos3_vec
     targ_underscore=yes
     ;;
 
   *-tandem-*)
-    targ_defvec=m68kcoff_vec
+    targ_defvec=m68k_coff_vec
     targ_selvecs=ieee_vec
     ;;
 # END OF targmatch.h
@@ -1717,7 +1717,7 @@ esac
 
 # All MIPS ELF targets need a 64-bit bfd_vma.
 case "${targ_defvec} ${targ_selvecs}" in
-  *elf*mips*)
+  *mips_elf*)
     want64=true
     ;;
 esac
@@ -1733,24 +1733,24 @@ esac
 # to be used on an arbitrary ELF file for anything other than
 # relocation information.
 case "${targ_defvec} ${targ_selvecs}" in
-  *bfd_elf64* | *bfd_elf32_n*mips*)
-    targ_selvecs="${targ_selvecs} bfd_elf64_little_generic_vec bfd_elf64_big_generic_vec bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec"
+  *elf64* | *mips_elf32_n*)
+    targ_selvecs="${targ_selvecs} elf64_le_vec elf64_be_vec elf32_le_vec elf32_be_vec"
     ;;
-  *bfd_elf32*)
-    targ_selvecs="${targ_selvecs} bfd_elf32_little_generic_vec bfd_elf32_big_generic_vec"
+  *elf32*)
+    targ_selvecs="${targ_selvecs} elf32_le_vec elf32_be_vec"
     ;;
 esac
 
 # If we support Intel L1OM target, then add support for bfd_l1om_arch.
 case "${targ_defvec} ${targ_selvecs}" in
-  *bfd_elf64_l1om_vec*)
+  *l1om_elf64*)
     targ_archs="$targ_archs bfd_l1om_arch"
     ;;
 esac
 
 # If we support Intel K1OM target, then add support for bfd_k1om_arch.
 case "${targ_defvec} ${targ_selvecs}" in
-  *bfd_elf64_k1om_vec*)
+  *k1om_elf64*)
     targ_archs="$targ_archs bfd_k1om_arch"
     ;;
 esac
index 4227332410c9472b9c41f446037e49722b8bf783..c260e5584a16b18fccdeddd1a3c36ad2d3e9ba53 100755 (executable)
@@ -14024,7 +14024,7 @@ if test "${target}" = "${host}"; then
        COREFILE=netbsd-core.lo
        ;;
   rs6000-*-lynx*)
-       COREFILE=lynx-core.lo
+       COREFILE=lynx-core.lo
        ;;
   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
         COREFILE=rs6000-core.lo
@@ -14081,7 +14081,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        TRAD_HEADER='"hosts/tahoe.h"'
        ;;
   vax-*-netbsd* | vax-*-openbsd*)
-       COREFILE=netbsd-core.lo
+       COREFILE=netbsd-core.lo
        ;;
   vax-*-ultrix2*)
        COREFILE=trad-core.lo
     # This list is alphabetized to make it easy to compare
     # with the two vector lists in targets.c.  For the same reason,
     # use one entry per line, even though this leads to long lines.
-    a_out_adobe_vec)           tb="$tb aout-adobe.lo aout32.lo" ;;
-    aix5coff64_vec)            tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
-    aout0_big_vec)             tb="$tb aout0.lo aout32.lo" ;;
-    aout_arm_big_vec)          tb="$tb aout-arm.lo aout32.lo" ;;
-    aout_arm_little_vec)       tb="$tb aout-arm.lo aout32.lo" ;;
-    apollocoff_vec)            tb="$tb coff-apollo.lo" ;;
-    arm_epoc_pe_big_vec)       tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pe_little_vec)    tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pei_big_vec)      tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pei_little_vec)   tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pe_big_vec)      tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pe_little_vec)   tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pei_big_vec)     tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pei_little_vec)  tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
-    armcoff_big_vec)           tb="$tb coff-arm.lo cofflink.lo " ;;
-    armcoff_little_vec)                tb="$tb coff-arm.lo cofflink.lo " ;;
-    armnetbsd_vec)             tb="$tb armnetbsd.lo aout32.lo" ;;
-    armpe_big_vec)             tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
-    armpe_little_vec)          tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
-    armpei_big_vec)            tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
-    armpei_little_vec)         tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
-    b_out_vec_big_host)                tb="$tb bout.lo aout32.lo" ;;
-    b_out_vec_little_host)     tb="$tb bout.lo aout32.lo" ;;
-    bfd_pei_ia64_vec)          tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
-    bfd_elf32_am33lin_vec)     tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
-    bfd_elf32_avr_vec)         tb="$tb elf32-avr.lo elf32.lo $elf" ;;
-    bfd_elf32_bfin_vec)                tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
-    bfd_elf32_bfinfdpic_vec)   tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
-    bfd_elf32_big_generic_vec)         tb="$tb elf32-gen.lo elf32.lo $elf" ;;
-    bfd_elf32_bigarc_vec)      tb="$tb elf32-arc.lo elf32.lo $elf" ;;
-    bfd_elf32_bigarm_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigmips_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_bigmips_vxworks_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_bigmoxie_vec)    tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
-    bfd_elf32_bignios2_vec)    tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
-    bfd_elf32_cr16_vec)                tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
-    bfd_elf32_cr16c_vec)       tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
-    bfd_elf32_cris_vec)                tb="$tb elf32-cris.lo elf32.lo $elf" ;;
-    bfd_elf32_crx_vec)          tb="$tb elf32-crx.lo elf32.lo $elf" ;;
-    bfd_elf32_d10v_vec)                tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
-    bfd_elf32_d30v_vec)                tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
-    bfd_elf32_dlx_big_vec)     tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
-    bfd_elf32_epiphany_vec)    tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
-    bfd_elf32_fr30_vec)                tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
-    bfd_elf32_frv_vec)         tb="$tb elf32-frv.lo elf32.lo $elf" ;;
-    bfd_elf32_frvfdpic_vec)    tb="$tb elf32-frv.lo elf32.lo $elf" ;;
-    bfd_elf32_h8300_vec)       tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_linux_vec)  tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_nbsd_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_vec)                tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_i370_vec)                tb="$tb elf32-i370.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_sol2_vec)   tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_freebsd_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_nacl_vec)   tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_vxworks_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_vec)                tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
-    bfd_elf32_i860_vec)                tb="$tb elf32-i860.lo elf32.lo $elf" ;;
-    bfd_elf32_i960_vec)                tb="$tb elf32-i960.lo elf32.lo $elf" ;;
-    bfd_elf32_ia64_big_vec)    tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
-    bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf";;
-    bfd_elf32_ip2k_vec)                tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
-    bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
-    bfd_elf32_lm32_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
-    bfd_elf32_lm32fdpic_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
-    bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
-    bfd_elf32_littlearc_vec)   tb="$tb elf32-arc.lo elf32.lo $elf" ;;
-    bfd_elf32_littlearm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlemips_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_littlemips_vxworks_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_littlemoxie_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
-    bfd_elf32_littlenios2_vec) tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
-    bfd_elf32_m32c_vec)         tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
-    bfd_elf32_m32r_vec)                tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rle_vec)       tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rlin_vec)      tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rlelin_vec)    tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m68hc11_vec)     tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
-    bfd_elf32_m68hc12_vec)     tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
-    bfd_elf32_m68k_vec)                tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
-    bfd_elf32_m88k_vec)                tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
-    bfd_elf32_mcore_big_vec)   tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
-    bfd_elf32_mcore_little_vec)        tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
-    bfd_elf32_mep_vec)         tb="$tb elf32-mep.lo elf32.lo $elf" ;;
-    bfd_elf32_mep_little_vec)  tb="$tb elf32-mep.lo elf32.lo $elf" ;;
-    bfd_elf32_metag_vec)       tb="$tb elf32-metag.lo elf32.lo $elf" ;;
-    bfd_elf32_microblazeel_vec)        tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
-    bfd_elf32_microblaze_vec)  tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
-    bfd_elf32_mn10200_vec)     tb="$tb elf-m10200.lo elf32.lo $elf" ;;
-    bfd_elf32_mn10300_vec)     tb="$tb elf-m10300.lo elf32.lo $elf" ;;
-    bfd_elf32_mt_vec)           tb="$tb elf32-mt.lo elf32.lo $elf" ;;
-    bfd_elf32_msp430_vec)      tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
-    bfd_elf32_msp430_ti_vec)   tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
-    bfd_elf32_nbigmips_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
-                               tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_ntradlittlemips_vec | bfd_elf32_ntradlittlemips_freebsd_vec)
-                               tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_nds32be_vec)      tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32le_vec)      tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32belin_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32lelin_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_or1k_vec)                tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
-    bfd_elf32_pj_vec)           tb="$tb elf32-pj.lo elf32.lo $elf";;
-    bfd_elf32_pjl_vec)          tb="$tb elf32-pj.lo elf32.lo $elf";;
-    bfd_elf32_powerpc_vec)     tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpcle_vec)   tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpc_freebsd_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_rl78_vec)         tb="$tb elf32-rl78.lo $elf" ;;
-    bfd_elf32_rx_le_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_rx_be_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_rx_be_ns_vec)     tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_s390_vec)                tb="$tb elf32-s390.lo elf32.lo $elf" ;;
-    bfd_elf32_bigscore_vec)     tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
-    bfd_elf32_littlescore_vec)  tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
+    aout_adobe_vec)             tb="$tb aout-adobe.lo aout32.lo" ;;
+    rs6000_xcoff64_aix_vec)     tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
+    aout0_be_vec)               tb="$tb aout0.lo aout32.lo" ;;
+    arm_aout_be_vec)            tb="$tb aout-arm.lo aout32.lo" ;;
+    arm_aout_le_vec)            tb="$tb aout-arm.lo aout32.lo" ;;
+    m68k_coff_apollo_vec)       tb="$tb coff-apollo.lo" ;;
+    arm_pe_epoc_be_vec)                 tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_epoc_le_vec)                 tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_epoc_be_vec)        tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_epoc_le_vec)        tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_wince_be_vec)        tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_wince_le_vec)        tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_wince_be_vec)       tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_wince_le_vec)       tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_coff_be_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
+    arm_coff_le_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
+    arm_aout_nbsd_vec)          tb="$tb armnetbsd.lo aout32.lo" ;;
+    arm_pe_be_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_le_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_be_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_le_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
+    bout_be_vec)                tb="$tb bout.lo aout32.lo" ;;
+    bout_le_vec)                tb="$tb bout.lo aout32.lo" ;;
+    ia64_pei_vec)               tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
+    am33_elf32_linux_vec)       tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
+    avr_elf32_vec)              tb="$tb elf32-avr.lo elf32.lo $elf" ;;
+    bfin_elf32_vec)             tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
+    bfin_elf32_fdpic_vec)       tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
+    elf32_be_vec)               tb="$tb elf32-gen.lo elf32.lo $elf" ;;
+    arc_elf32_be_vec)           tb="$tb elf32-arc.lo elf32.lo $elf" ;;
+    arm_elf32_be_vec)           tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_nacl_be_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_symbian_be_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_vxworks_be_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    mips_elf32_be_vec)          tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_vxworks_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    moxie_elf32_be_vec)                 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
+    nios2_elf32_be_vec)                 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
+    cr16_elf32_vec)             tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
+    cr16c_elf32_vec)            tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
+    cris_elf32_vec)             tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+    crx_elf32_vec)              tb="$tb elf32-crx.lo elf32.lo $elf" ;;
+    d10v_elf32_vec)             tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
+    d30v_elf32_vec)             tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
+    dlx_elf32_be_vec)           tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
+    epiphany_elf32_vec)                 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
+    fr30_elf32_vec)             tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
+    frv_elf32_vec)              tb="$tb elf32-frv.lo elf32.lo $elf" ;;
+    frv_elf32_fdpic_vec)        tb="$tb elf32-frv.lo elf32.lo $elf" ;;
+    h8300_elf32_vec)            tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
+    hppa_elf32_linux_vec)       tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    hppa_elf32_nbsd_vec)        tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    hppa_elf32_vec)             tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    i370_elf32_vec)             tb="$tb elf32-i370.lo elf32.lo $elf" ;;
+    i386_elf32_sol2_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_fbsd_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_nacl_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_vxworks_vec)     tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_vec)             tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i860_elf32_le_vec)          tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+    i860_elf32_vec)             tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+    i960_elf32_vec)             tb="$tb elf32-i960.lo elf32.lo $elf" ;;
+    ia64_elf32_be_vec)          tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
+    ia64_elf32_hpux_be_vec)     tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
+    ip2k_elf32_vec)             tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
+    iq2000_elf32_vec)           tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
+    lm32_elf32_vec)             tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    lm32_elf32_fdpic_vec)       tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    elf32_le_vec)               tb="$tb elf32-gen.lo elf32.lo $elf" ;;
+    arc_elf32_le_vec)           tb="$tb elf32-arc.lo elf32.lo $elf" ;;
+    arm_elf32_symbian_le_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_vxworks_le_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_le_vec)           tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_nacl_le_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    mips_elf32_le_vec)          tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_vxworks_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    moxie_elf32_le_vec)                 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
+    nios2_elf32_le_vec)                 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
+    m32c_elf32_vec)             tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
+    m32r_elf32_vec)             tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_le_vec)          tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_linux_vec)       tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_linux_le_vec)    tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m68hc11_elf32_vec)          tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
+    m68hc12_elf32_vec)          tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
+    m68k_elf32_vec)             tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
+    m88k_elf32_vec)             tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
+    mcore_elf32_be_vec)                 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
+    mcore_elf32_le_vec)                 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
+    mep_elf32_vec)              tb="$tb elf32-mep.lo elf32.lo $elf" ;;
+    mep_elf32_le_vec)           tb="$tb elf32-mep.lo elf32.lo $elf" ;;
+    metag_elf32_vec)            tb="$tb elf32-metag.lo elf32.lo $elf" ;;
+    microblaze_elf32_le_vec)    tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
+    microblaze_elf32_vec)       tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
+    mn10200_elf32_vec)          tb="$tb elf-m10200.lo elf32.lo $elf" ;;
+    mn10300_elf32_vec)          tb="$tb elf-m10300.lo elf32.lo $elf" ;;
+    mt_elf32_vec)               tb="$tb elf32-mt.lo elf32.lo $elf" ;;
+    msp430_elf32_vec)           tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    msp430_elf32_ti_vec)        tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    mips_elf32_n_be_vec)        tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_n_le_vec)        tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntrad_be_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntrad_le_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    nds32_elf32_be_vec)                 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_le_vec)                 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_linux_be_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_linux_le_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    or1k_elf32_vec)             tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
+    pj_elf32_vec)               tb="$tb elf32-pj.lo elf32.lo $elf" ;;
+    pj_elf32_le_vec)            tb="$tb elf32-pj.lo elf32.lo $elf" ;;
+    powerpc_elf32_vec)          tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_le_vec)       tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_fbsd_vec)     tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_vxworks_vec)  tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    rl78_elf32_vec)             tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
+    rx_elf32_le_vec)            tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    rx_elf32_be_vec)            tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    rx_elf32_be_ns_vec)                 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    s390_elf32_vec)             tb="$tb elf32-s390.lo elf32.lo $elf" ;;
+    score_elf32_be_vec)                 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64 ;;
+    score_elf32_le_vec)                 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64 ;;
     # FIXME: We include cofflink.lo not because it's needed for
-    # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
+    # sh64_elf32[_le]_vec, but because we include sh_elf32[_le]_vec
     # which needs it but does not list it.  Should be fixed in right place.
-    bfd_elf32_sh64_vec)                tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64l_vec)       tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64lin_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64blin_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64lnbsd_vec)   tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
-    bfd_elf32_sh64nbsd_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
-    bfd_elf32_sh_vec)          tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shbfd_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shblin_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shfd_vec)                tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shl_vec)         tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shlin_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shlnbsd_vec)     tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shlvxworks_vec)  tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shnbsd_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shvxworks_vec)   tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_sparc_vec)       tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_sparc_sol2_vec)  tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_spu_vec)         tb="$tb elf32-spu.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_be_vec)    tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_le_vec)    tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_linux_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_linux_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_elf_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_elf_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tilegx_be_vec)   tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
-    bfd_elf32_tilegx_le_vec)   tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
-    bfd_elf32_tilepro_vec)     tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
-    bfd_elf32_tradbigmips_vec | bfd_elf32_tradbigmips_freebsd_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_tradlittlemips_vec | bfd_elf32_tradlittlemips_freebsd_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_us_cris_vec)     tb="$tb elf32-cris.lo elf32.lo $elf" ;;
-    bfd_elf32_v850_vec)                tb="$tb elf32-v850.lo elf32.lo $elf" ;;
-    bfd_elf32_v850_rh850_vec)  tb="$tb elf32-v850.lo elf32.lo $elf" ;;
-    bfd_elf32_vax_vec)         tb="$tb elf32-vax.lo elf32.lo $elf" ;;
-    bfd_elf32_xstormy16_vec)   tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
-    bfd_elf32_xc16x_vec)               tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
-    bfd_elf32_xgate_vec)       tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
-    bfd_elf32_xtensa_le_vec)   tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
-    bfd_elf32_xtensa_be_vec)   tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
-    bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_alpha_vec)       tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_bigaarch64_vec)  tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_bigaarch64_vec)  tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_big_generic_vec)         tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_bigmips_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_hppa_linux_vec)  tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_hppa_vec)                tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_big_vec)    tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)    tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
-    bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_littleaarch64_vec)tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_littlemips_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_mmix_vec)        tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_powerpc_vec)     tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_powerpcle_vec)   tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_powerpc_freebsd_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_s390_vec)                tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sh64_vec)                tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64l_vec)       tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64lin_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64blin_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64lnbsd_vec)   tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64nbsd_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sparc_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sparc_sol2_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_tilegx_be_vec)   tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
-    bfd_elf64_tilegx_le_vec)   tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
-    bfd_elf64_tradbigmips_vec | bfd_elf64_tradbigmips_freebsd_vec)
-                               tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_tradlittlemips_vec | bfd_elf64_tradlittlemips_freebsd_vec)
-                               tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_sol2_vec)  tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_x86_64_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf32_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_l1om_vec)                tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_k1om_vec)                tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_k1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_mmo_vec)               tb="$tb mmo.lo" target_size=64 ;;
-    bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
-    cris_aout_vec)             tb="$tb aout-cris.lo" ;;
-    demo_64_vec)               tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
-    ecoff_big_vec)             tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoff_biglittle_vec)       tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoff_little_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoffalpha_little_vec)     tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
-    go32coff_vec)              tb="$tb coff-go32.lo cofflink.lo" ;;
-    go32stubbedcoff_vec)       tb="$tb coff-stgo32.lo cofflink.lo" ;;
-    h8300coff_vec)             tb="$tb coff-h8300.lo reloc16.lo" ;;
-    h8500coff_vec)             tb="$tb coff-h8500.lo reloc16.lo" ;;
-    host_aout_vec)             tb="$tb host-aout.lo aout32.lo" ;;
-    hp300bsd_vec)              tb="$tb hp300bsd.lo aout32.lo" ;;
-    hp300hpux_vec)             tb="$tb hp300hpux.lo aout32.lo" ;;
-    i386aout_vec)              tb="$tb i386aout.lo aout32.lo" ;;
-    i386bsd_vec)               tb="$tb i386bsd.lo aout32.lo" ;;
-    i386coff_vec)              tb="$tb coff-i386.lo cofflink.lo" ;;
-    x86_64coff_vec)            tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
-    i386dynix_vec)             tb="$tb i386dynix.lo aout32.lo" ;;
-    i386freebsd_vec)           tb="$tb i386freebsd.lo aout32.lo" ;;
-    i386linux_vec)             tb="$tb i386linux.lo aout32.lo" ;;
-    i386lynx_aout_vec)         tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
-    i386lynx_coff_vec)         tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
-    i386mach3_vec)             tb="$tb i386mach3.lo aout32.lo" ;;
-    i386msdos_vec)             tb="$tb i386msdos.lo" ;;
-    i386netbsd_vec)            tb="$tb i386netbsd.lo aout32.lo" ;;
-    i386os9k_vec)              tb="$tb i386os9k.lo aout32.lo" ;;
-    i386pe_vec)                        tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
-    i386pei_vec)               tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
-    x86_64pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    x86_64pei_vec)             tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    x86_64pe_bigobj_vec)       tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    i860coff_vec)              tb="$tb coff-i860.lo cofflink.lo" ;;
-    icoff_big_vec)             tb="$tb coff-i960.lo cofflink.lo" ;;
-    icoff_little_vec)          tb="$tb coff-i960.lo cofflink.lo" ;;
-    ieee_vec)                  tb="$tb ieee.lo" ;;
-    m68k4knetbsd_vec)          tb="$tb m68k4knetbsd.lo aout32.lo" ;;
-    m68kaux_coff_vec)          tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
-    m68kcoff_vec)              tb="$tb coff-m68k.lo cofflink.lo" ;;
-    m68kcoffun_vec)            tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
-    m68klinux_vec)             tb="$tb m68klinux.lo aout32.lo" ;;
-    m68knetbsd_vec)            tb="$tb m68knetbsd.lo aout32.lo" ;;
-    m68ksysvcoff_vec)          tb="$tb coff-svm68k.lo cofflink.lo" ;;
-    m88kbcs_vec)               tb="$tb coff-m88k.lo" ;;
-    m88kmach3_vec)             tb="$tb m88kmach3.lo aout32.lo" ;;
-    m88kopenbsd_vec)           tb="$tb m88kopenbsd.lo aout32.lo" ;;
-    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
-    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
-    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
-    mach_o_i386_vec)            tb="$tb mach-o-i386.lo" ;;
-    mach_o_x86_64_vec)          tb="$tb mach-o-x86-64.lo" ;;
-    mcore_pe_big_vec)          tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pe_little_vec)       tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pei_big_vec)         tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pei_little_vec)      tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
-    mipslpe_vec)               tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
-    mipslpei_vec)              tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
-    newsos3_vec)               tb="$tb newsos3.lo aout32.lo" ;;
-    nlm32_alpha_vec)           tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
-    nlm32_i386_vec)            tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
-    nlm32_powerpc_vec)         tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
-    nlm32_sparc_vec)           tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
-    pc532machaout_vec)         tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
-    pc532netbsd_vec)           tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
-    pef_vec)                    tb="$tb pef.lo" ;;
-    pef_xlib_vec)               tb="$tb pef.lo" ;;
-    pdp11_aout_vec)            tb="$tb pdp11.lo" ;;
-    plugin_vec)                 tb="$tb plugin.lo" ;;
-    pmac_xcoff_vec)            tb="$tb coff-rs6000.lo xcofflink.lo" ;;
-    ppcboot_vec)               tb="$tb ppcboot.lo" ;;
-    riscix_vec)                        tb="$tb aout32.lo riscix.lo" ;;
-    rs6000coff64_vec)          tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
-    rs6000coff_vec)            tb="$tb coff-rs6000.lo xcofflink.lo" ;;
-    shcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
-    shcoff_vec)                        tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlcoff_small_vec)         tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlcoff_vec)               tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlpe_vec)                 tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
-    shlpei_vec)                        tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
-    som_vec)                   tb="$tb som.lo" ;;
-    sparccoff_vec)             tb="$tb coff-sparc.lo" ;;
-    sparcle_aout_vec)          tb="$tb aout-sparcle.lo aout32.lo" ;;
-    sparclinux_vec)            tb="$tb sparclinux.lo aout32.lo" ;;
-    sparclynx_aout_vec)                tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
-    sparclynx_coff_vec)                tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
-    sparcnetbsd_vec)           tb="$tb sparcnetbsd.lo aout32.lo" ;;
-    sunos_big_vec)             tb="$tb sunos.lo aout32.lo" ;;
-    sym_vec)                    tb="$tb xsym.lo" ;;
-    tic30_aout_vec)            tb="$tb aout-tic30.lo" ;;
-    tic30_coff_vec)            tb="$tb coff-tic30.lo" ;;
-    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic54x_coff0_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff0_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff1_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff1_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff2_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff2_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic80coff_vec)             tb="$tb coff-tic80.lo cofflink.lo" ;;
-    vaxnetbsd_vec)             tb="$tb vaxnetbsd.lo aout32.lo" ;;
-    vax1knetbsd_vec)           tb="$tb vax1knetbsd.lo aout32.lo" ;;
-    vaxbsd_vec)                        tb="$tb vaxbsd.lo aout32.lo" ;;
-    versados_vec)              tb="$tb versados.lo" ;;
-    vms_alpha_vec)             tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
-    vms_lib_txt_vec)           tb="$tb vms-lib.lo vms-misc.lo" ;;
-    w65_vec)                   tb="$tb coff-w65.lo reloc16.lo" ;;
-    we32kcoff_vec)             tb="$tb coff-we32k.lo" ;;
-    z80coff_vec)               tb="$tb coff-z80.lo reloc16.lo" ;;
-    z8kcoff_vec)               tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
+    sh64_elf32_vec)             tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_le_vec)          tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_linux_vec)       tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_linux_be_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_nbsd_le_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
+    sh64_elf32_nbsd_vec)        tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
+    sh_elf32_vec)               tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_fdpic_be_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_linux_be_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_fdpic_le_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_le_vec)            tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_symbian_le_vec)    tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_linux_vec)                 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_nbsd_le_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_vxworks_le_vec)    tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_nbsd_vec)          tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_vxworks_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sparc_elf32_vec)            tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    sparc_elf32_sol2_vec)       tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    sparc_elf32_vxworks_vec)    tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    spu_elf32_vec)              tb="$tb elf32-spu.lo elf32.lo $elf" ;;
+    tic6x_elf32_be_vec)                 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_le_vec)                 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_linux_be_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_linux_le_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_c6000_be_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_c6000_le_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tilegx_elf32_be_vec)        tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
+    tilegx_elf32_le_vec)        tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
+    tilepro_elf32_vec)          tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
+    mips_elf32_trad_be_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_trad_le_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    cris_elf32_us_vec)          tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+    v850_elf32_vec)             tb="$tb elf32-v850.lo elf32.lo $elf" ;;
+    v800_elf32_vec)             tb="$tb elf32-v850.lo elf32.lo $elf" ;;
+    vax_elf32_vec)              tb="$tb elf32-vax.lo elf32.lo $elf" ;;
+    xstormy16_elf32_vec)        tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
+    xc16x_elf32_vec)            tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
+    xgate_elf32_vec)            tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
+    xtensa_elf32_le_vec)        tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
+    xtensa_elf32_be_vec)        tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
+    alpha_elf64_fbsd_vec)       tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
+    alpha_elf64_vec)            tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf64_be_vec)       tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf32_be_vec)       tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
+    elf64_be_vec)               tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    mips_elf64_be_vec)          tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    hppa_elf64_linux_vec)       tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
+    hppa_elf64_vec)             tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_be_vec)          tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_hpux_be_vec)     tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_le_vec)          tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_vms_vec)                 tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
+    aarch64_elf64_le_vec)       tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf32_le_vec)       tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
+    elf64_le_vec)               tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    mips_elf64_le_vec)          tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mmix_elf64_vec)             tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
+    powerpc_elf64_vec)          tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    powerpc_elf64_le_vec)       tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
+    powerpc_elf64_fbsd_vec)     tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
+    s390_elf64_vec)             tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
+    sh64_elf64_vec)             tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_le_vec)          tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_linux_vec)       tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_linux_be_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_nbsd_le_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_nbsd_vec)        tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sparc_elf64_vec)            tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    sparc_elf64_fbsd_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    sparc_elf64_sol2_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    tilegx_elf64_be_vec)        tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
+    tilegx_elf64_le_vec)        tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
+    mips_elf64_trad_be_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_tradfbsd_be_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_trad_le_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_tradfbsd_le_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    x86_64_elf64_fbsd_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_nacl_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_sol2_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_vec)           tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
+    x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
+    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    mmix_mmo_vec)                       tb="$tb mmo.lo" target_size=64 ;;
+    powerpc_pe_vec)             tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pei_vec)            tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pe_le_vec)          tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pei_le_vec)                 tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
+    cris_aout_vec)              tb="$tb aout-cris.lo" ;;
+    aout64_vec)                         tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
+    mips_ecoff_be_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    mips_ecoff_bele_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    mips_ecoff_le_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    alpha_ecoff_le_vec)                 tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
+    i386_coff_go32_vec)                 tb="$tb coff-go32.lo cofflink.lo" ;;
+    i386_coff_go32stubbed_vec)  tb="$tb coff-stgo32.lo cofflink.lo" ;;
+    h8300_coff_vec)             tb="$tb coff-h8300.lo reloc16.lo" ;;
+    h8500_coff_vec)             tb="$tb coff-h8500.lo reloc16.lo" ;;
+    aout_vec)                   tb="$tb host-aout.lo aout32.lo" ;;
+    m68k_aout_hp300bsd_vec)     tb="$tb hp300bsd.lo aout32.lo" ;;
+    m68k_aout_hp300hpux_vec)    tb="$tb hp300hpux.lo aout32.lo" ;;
+    i386_aout_vec)              tb="$tb i386aout.lo aout32.lo" ;;
+    i386_aout_bsd_vec)          tb="$tb i386bsd.lo aout32.lo" ;;
+    i386_coff_vec)              tb="$tb coff-i386.lo cofflink.lo" ;;
+    x86_64_coff_vec)            tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
+    i386_aout_dynix_vec)        tb="$tb i386dynix.lo aout32.lo" ;;
+    i386_aout_fbsd_vec)                 tb="$tb i386freebsd.lo aout32.lo" ;;
+    i386_aout_linux_vec)        tb="$tb i386linux.lo aout32.lo" ;;
+    i386_aout_lynx_vec)                 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
+    i386_coff_lynx_vec)                 tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
+    i386_aout_mach3_vec)        tb="$tb i386mach3.lo aout32.lo" ;;
+    i386_msdos_vec)             tb="$tb i386msdos.lo" ;;
+    i386_aout_nbsd_vec)                 tb="$tb i386netbsd.lo aout32.lo" ;;
+    i386_aout_os9k_vec)                 tb="$tb i386os9k.lo aout32.lo" ;;
+    i386_pe_vec)                tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
+    i386_pei_vec)               tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
+    x86_64_pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    x86_64_pei_vec)             tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    x86_64_pe_be_vec)           tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    i860_coff_vec)              tb="$tb coff-i860.lo cofflink.lo" ;;
+    icoff_be_vec)               tb="$tb coff-i960.lo cofflink.lo" ;;
+    icoff_le_vec)               tb="$tb coff-i960.lo cofflink.lo" ;;
+    ieee_vec)                   tb="$tb ieee.lo" ;;
+    m68k_aout_4knbsd_vec)       tb="$tb m68k4knetbsd.lo aout32.lo" ;;
+    m68k_coff_aux_vec)          tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
+    m68k_coff_vec)              tb="$tb coff-m68k.lo cofflink.lo" ;;
+    m68k_coff_un_vec)           tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
+    m68k_aout_linux_vec)        tb="$tb m68klinux.lo aout32.lo" ;;
+    m68k_aout_nbsd_vec)                 tb="$tb m68knetbsd.lo aout32.lo" ;;
+    m68k_coff_sysv_vec)                 tb="$tb coff-svm68k.lo cofflink.lo" ;;
+    m88k_coff_bcs_vec)          tb="$tb coff-m88k.lo" ;;
+    m88k_aout_mach3_vec)        tb="$tb m88kmach3.lo aout32.lo" ;;
+    m88k_aout_obsd_vec)                 tb="$tb m88kopenbsd.lo aout32.lo" ;;
+    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
+    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
+    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
+    i386_mach_o_vec)            tb="$tb mach-o-i386.lo" ;;
+    x86_64_mach_o_vec)          tb="$tb mach-o-x86-64.lo" ;;
+    mcore_pe_be_vec)            tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pe_le_vec)            tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pei_be_vec)           tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pei_le_vec)           tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
+    mips_pe_le_vec)             tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
+    mips_pei_le_vec)            tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
+    m68k_aout_newsos3_vec)      tb="$tb newsos3.lo aout32.lo" ;;
+    alpha_nlm32_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
+    i386_nlm32_vec)             tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
+    powerpc_nlm32_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
+    sparc_nlm32_vec)            tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
+    ns32k_aout_pc532mach_vec)   tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
+    ns32k_aout_pc532nbsd_vec)   tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
+    pef_vec)                    tb="$tb pef.lo" ;;
+    pef_xlib_vec)               tb="$tb pef.lo" ;;
+    pdp11_aout_vec)             tb="$tb pdp11.lo" ;;
+    plugin_vec)                         tb="$tb plugin.lo" ;;
+    powerpc_xcoff_vec)          tb="$tb coff-rs6000.lo xcofflink.lo" ;;
+    powerpc_boot_vec)           tb="$tb ppcboot.lo" ;;
+    arm_aout_riscix_vec)        tb="$tb aout32.lo riscix.lo" ;;
+    rs6000_xcoff64_vec)                 tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
+    rs6000_xcoff_vec)           tb="$tb coff-rs6000.lo xcofflink.lo" ;;
+    sh_coff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_vec)                tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_small_le_vec)       tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_le_vec)             tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_pe_le_vec)               tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
+    sh_pei_le_vec)              tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
+    hppa_som_vec)               tb="$tb som.lo" ;;
+    sparc_coff_vec)             tb="$tb coff-sparc.lo" ;;
+    sparc_aout_le_vec)          tb="$tb aout-sparcle.lo aout32.lo" ;;
+    sparc_aout_linux_vec)       tb="$tb sparclinux.lo aout32.lo" ;;
+    sparc_aout_lynx_vec)        tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
+    sparc_coff_lynx_vec)        tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
+    sparc_aout_nbsd_vec)        tb="$tb sparcnetbsd.lo aout32.lo" ;;
+    sparc_aout_sunos_be_vec)    tb="$tb sunos.lo aout32.lo" ;;
+    sym_vec)                    tb="$tb xsym.lo" ;;
+    tic30_aout_vec)             tb="$tb aout-tic30.lo" ;;
+    tic30_coff_vec)             tb="$tb coff-tic30.lo" ;;
+    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff0_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff1_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff2_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic80_coff_vec)             tb="$tb coff-tic80.lo cofflink.lo" ;;
+    vax_aout_nbsd_vec)          tb="$tb vaxnetbsd.lo aout32.lo" ;;
+    vax_aout_1knbsd_vec)        tb="$tb vax1knetbsd.lo aout32.lo" ;;
+    vax_aout_bsd_vec)           tb="$tb vaxbsd.lo aout32.lo" ;;
+    m68k_versados_vec)          tb="$tb versados.lo" ;;
+    alpha_vms_vec)              tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
+    alpha_vms_lib_txt_vec)      tb="$tb vms-lib.lo vms-misc.lo" ;;
+    w65_coff_vec)               tb="$tb coff-w65.lo reloc16.lo" ;;
+    we32k_coff_vec)             tb="$tb coff-we32k.lo" ;;
+    z80_coff_vec)               tb="$tb coff-z80.lo reloc16.lo" ;;
+    z8k_coff_vec)               tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
 
     # These appear out of order in targets.c
-    srec_vec)                  tb="$tb srec.lo" ;;
-    symbolsrec_vec)            tb="$tb srec.lo" ;;
-    tekhex_vec)                        tb="$tb tekhex.lo" ;;
-    cisco_core_big_vec)                tb="$tb cisco-core.lo" ;;
-    cisco_core_little_vec)     tb="$tb cisco-core.lo" ;;
+    srec_vec)                   tb="$tb srec.lo" ;;
+    symbolsrec_vec)             tb="$tb srec.lo" ;;
+    tekhex_vec)                         tb="$tb tekhex.lo" ;;
+    core_cisco_be_vec)          tb="$tb cisco-core.lo" ;;
+    core_cisco_le_vec)          tb="$tb cisco-core.lo" ;;
 
-    "")                        ;;
+    "")                                 ;;
     *) as_fn_error "*** unknown target vector $vec" "$LINENO" 5 ;;
     esac
 
index bdf019695c800130a1846f97dcfcdec2c4fb1994..707ba49785e2440fdc840b5b30bac757757ddcc2 100644 (file)
@@ -330,7 +330,7 @@ $ if ARCH.eqs."alpha"
 $ then
 $   create build.com
 $DECK
-$ DEFS="""SELECT_VECS=&vms_alpha_vec"","+-
+$ DEFS="""SELECT_VECS=&alpha_vms_vec"","+-
   """SELECT_ARCHITECTURES=&bfd_alpha_arch"""
 $ FILES="cpu-alpha,vms,vms-hdr,vms-gsd,vms-tir,vms-misc,"
 $EOD
@@ -339,7 +339,7 @@ $ if ARCH.eqs."ia64"
 $ then
 $   create build.com
 $DECK
-$ DEFS="""SELECT_VECS=&bfd_elf64_ia64_vms_vec"","+-
+$ DEFS="""SELECT_VECS=&ia64_elf64_vms_vec"","+-
   """SELECT_ARCHITECTURES=&bfd_ia64_arch"""
 $ FILES="cpu-ia64,elf64-ia64,elf-strtab,corefile,stabs,merge,elf-eh-frame,"+-
   "elflink,elf-attrs,dwarf1,elf64,"
index b61a86443c641cc02e4935cc745c100a02762751..69ab4bf19a10afb2971377bf2bb0edcd37cb3cc1 100644 (file)
@@ -428,7 +428,7 @@ changequote([,])dnl
        COREFILE=netbsd-core.lo
        ;;
   rs6000-*-lynx*)
-       COREFILE=lynx-core.lo
+       COREFILE=lynx-core.lo
        ;;
 changequote(,)dnl
   rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
@@ -469,7 +469,7 @@ changequote([,])dnl
        TRAD_HEADER='"hosts/tahoe.h"'
        ;;
   vax-*-netbsd* | vax-*-openbsd*)
-       COREFILE=netbsd-core.lo
+       COREFILE=netbsd-core.lo
        ;;
   vax-*-ultrix2*)
        COREFILE=trad-core.lo
@@ -691,353 +691,347 @@ do
     # This list is alphabetized to make it easy to compare
     # with the two vector lists in targets.c.  For the same reason,
     # use one entry per line, even though this leads to long lines.
-    a_out_adobe_vec)           tb="$tb aout-adobe.lo aout32.lo" ;;
-    aix5coff64_vec)            tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
-    aout0_big_vec)             tb="$tb aout0.lo aout32.lo" ;;
-    aout_arm_big_vec)          tb="$tb aout-arm.lo aout32.lo" ;;
-    aout_arm_little_vec)       tb="$tb aout-arm.lo aout32.lo" ;;
-    apollocoff_vec)            tb="$tb coff-apollo.lo" ;;
-    arm_epoc_pe_big_vec)       tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pe_little_vec)    tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pei_big_vec)      tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_epoc_pei_little_vec)   tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pe_big_vec)      tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pe_little_vec)   tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pei_big_vec)     tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
-    arm_wince_pei_little_vec)  tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
-    armcoff_big_vec)           tb="$tb coff-arm.lo cofflink.lo " ;;
-    armcoff_little_vec)                tb="$tb coff-arm.lo cofflink.lo " ;;
-    armnetbsd_vec)             tb="$tb armnetbsd.lo aout32.lo" ;;
-    armpe_big_vec)             tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
-    armpe_little_vec)          tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
-    armpei_big_vec)            tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
-    armpei_little_vec)         tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
-    b_out_vec_big_host)                tb="$tb bout.lo aout32.lo" ;;
-    b_out_vec_little_host)     tb="$tb bout.lo aout32.lo" ;;
-    bfd_pei_ia64_vec)          tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
-    bfd_elf32_am33lin_vec)     tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
-    bfd_elf32_avr_vec)         tb="$tb elf32-avr.lo elf32.lo $elf" ;;
-    bfd_elf32_bfin_vec)                tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
-    bfd_elf32_bfinfdpic_vec)   tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
-    bfd_elf32_big_generic_vec)         tb="$tb elf32-gen.lo elf32.lo $elf" ;;
-    bfd_elf32_bigarc_vec)      tb="$tb elf32-arc.lo elf32.lo $elf" ;;
-    bfd_elf32_bigarm_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigarm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_bigmips_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_bigmips_vxworks_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_bigmoxie_vec)    tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
-    bfd_elf32_bignios2_vec)    tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
-    bfd_elf32_cr16_vec)                tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
-    bfd_elf32_cr16c_vec)       tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
-    bfd_elf32_cris_vec)                tb="$tb elf32-cris.lo elf32.lo $elf" ;;
-    bfd_elf32_crx_vec)          tb="$tb elf32-crx.lo elf32.lo $elf" ;;
-    bfd_elf32_d10v_vec)                tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
-    bfd_elf32_d30v_vec)                tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
-    bfd_elf32_dlx_big_vec)     tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
-    bfd_elf32_epiphany_vec)    tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
-    bfd_elf32_fr30_vec)                tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
-    bfd_elf32_frv_vec)         tb="$tb elf32-frv.lo elf32.lo $elf" ;;
-    bfd_elf32_frvfdpic_vec)    tb="$tb elf32-frv.lo elf32.lo $elf" ;;
-    bfd_elf32_h8300_vec)       tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_linux_vec)  tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_nbsd_vec)   tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_hppa_vec)                tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
-    bfd_elf32_i370_vec)                tb="$tb elf32-i370.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_sol2_vec)   tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_freebsd_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_nacl_vec)   tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_vxworks_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i386_vec)                tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_i860_little_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
-    bfd_elf32_i860_vec)                tb="$tb elf32-i860.lo elf32.lo $elf" ;;
-    bfd_elf32_i960_vec)                tb="$tb elf32-i960.lo elf32.lo $elf" ;;
-    bfd_elf32_ia64_big_vec)    tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
-    bfd_elf32_ia64_hpux_big_vec) tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf";;
-    bfd_elf32_ip2k_vec)                tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
-    bfd_elf32_iq2000_vec)       tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
-    bfd_elf32_lm32_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
-    bfd_elf32_lm32fdpic_vec)         tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
-    bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
-    bfd_elf32_littlearc_vec)   tb="$tb elf32-arc.lo elf32.lo $elf" ;;
-    bfd_elf32_littlearm_symbian_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vxworks_vec)
-                                tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
-    bfd_elf32_littlemips_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_littlemips_vxworks_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_littlemoxie_vec) tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
-    bfd_elf32_littlenios2_vec) tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
-    bfd_elf32_m32c_vec)         tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
-    bfd_elf32_m32r_vec)                tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rle_vec)       tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rlin_vec)      tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m32rlelin_vec)    tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
-    bfd_elf32_m68hc11_vec)     tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
-    bfd_elf32_m68hc12_vec)     tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
-    bfd_elf32_m68k_vec)                tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
-    bfd_elf32_m88k_vec)                tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
-    bfd_elf32_mcore_big_vec)   tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
-    bfd_elf32_mcore_little_vec)        tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
-    bfd_elf32_mep_vec)         tb="$tb elf32-mep.lo elf32.lo $elf" ;;
-    bfd_elf32_mep_little_vec)  tb="$tb elf32-mep.lo elf32.lo $elf" ;;
-    bfd_elf32_metag_vec)       tb="$tb elf32-metag.lo elf32.lo $elf" ;;
-    bfd_elf32_microblazeel_vec)        tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
-    bfd_elf32_microblaze_vec)  tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
-    bfd_elf32_mn10200_vec)     tb="$tb elf-m10200.lo elf32.lo $elf" ;;
-    bfd_elf32_mn10300_vec)     tb="$tb elf-m10300.lo elf32.lo $elf" ;;
-    bfd_elf32_mt_vec)           tb="$tb elf32-mt.lo elf32.lo $elf" ;;
-    bfd_elf32_msp430_vec)      tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
-    bfd_elf32_msp430_ti_vec)   tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
-    bfd_elf32_nbigmips_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_nlittlemips_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
-                               tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_ntradlittlemips_vec | bfd_elf32_ntradlittlemips_freebsd_vec)
-                               tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf32_nds32be_vec)      tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32le_vec)      tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32belin_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_nds32lelin_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
-    bfd_elf32_or1k_vec)                tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
-    bfd_elf32_pj_vec)           tb="$tb elf32-pj.lo elf32.lo $elf";;
-    bfd_elf32_pjl_vec)          tb="$tb elf32-pj.lo elf32.lo $elf";;
-    bfd_elf32_powerpc_vec)     tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpcle_vec)   tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpc_freebsd_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_powerpc_vxworks_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_rl78_vec)         tb="$tb elf32-rl78.lo $elf" ;;
-    bfd_elf32_rx_le_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_rx_be_vec)        tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_rx_be_ns_vec)     tb="$tb elf32-rx.lo elf32.lo $elf" ;;
-    bfd_elf32_s390_vec)                tb="$tb elf32-s390.lo elf32.lo $elf" ;;
-    bfd_elf32_bigscore_vec)     tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
-    bfd_elf32_littlescore_vec)  tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64;;
+    aout_adobe_vec)             tb="$tb aout-adobe.lo aout32.lo" ;;
+    rs6000_xcoff64_aix_vec)     tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
+    aout0_be_vec)               tb="$tb aout0.lo aout32.lo" ;;
+    arm_aout_be_vec)            tb="$tb aout-arm.lo aout32.lo" ;;
+    arm_aout_le_vec)            tb="$tb aout-arm.lo aout32.lo" ;;
+    m68k_coff_apollo_vec)       tb="$tb coff-apollo.lo" ;;
+    arm_pe_epoc_be_vec)                 tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_epoc_le_vec)                 tb="$tb epoc-pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_epoc_be_vec)        tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_epoc_le_vec)        tb="$tb epoc-pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_wince_be_vec)        tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_wince_le_vec)        tb="$tb pe-arm-wince.lo pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_wince_be_vec)       tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_wince_le_vec)       tb="$tb pei-arm-wince.lo pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_coff_be_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
+    arm_coff_le_vec)            tb="$tb coff-arm.lo cofflink.lo " ;;
+    arm_aout_nbsd_vec)          tb="$tb armnetbsd.lo aout32.lo" ;;
+    arm_pe_be_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pe_le_vec)              tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_be_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
+    arm_pei_le_vec)             tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;;
+    bout_be_vec)                tb="$tb bout.lo aout32.lo" ;;
+    bout_le_vec)                tb="$tb bout.lo aout32.lo" ;;
+    ia64_pei_vec)               tb="$tb pei-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
+    am33_elf32_linux_vec)       tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
+    avr_elf32_vec)              tb="$tb elf32-avr.lo elf32.lo $elf" ;;
+    bfin_elf32_vec)             tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
+    bfin_elf32_fdpic_vec)       tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
+    elf32_be_vec)               tb="$tb elf32-gen.lo elf32.lo $elf" ;;
+    arc_elf32_be_vec)           tb="$tb elf32-arc.lo elf32.lo $elf" ;;
+    arm_elf32_be_vec)           tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_nacl_be_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_symbian_be_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_vxworks_be_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    mips_elf32_be_vec)          tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_vxworks_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    moxie_elf32_be_vec)                 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
+    nios2_elf32_be_vec)                 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
+    cr16_elf32_vec)             tb="$tb elf32-cr16.lo elf32.lo $elf" ;;
+    cr16c_elf32_vec)            tb="$tb elf32-cr16c.lo elf32.lo $elf" ;;
+    cris_elf32_vec)             tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+    crx_elf32_vec)              tb="$tb elf32-crx.lo elf32.lo $elf" ;;
+    d10v_elf32_vec)             tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
+    d30v_elf32_vec)             tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
+    dlx_elf32_be_vec)           tb="$tb elf32-dlx.lo elf32.lo $elf" ;;
+    epiphany_elf32_vec)                 tb="$tb elf32-epiphany.lo elf32.lo $elf" ;;
+    fr30_elf32_vec)             tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
+    frv_elf32_vec)              tb="$tb elf32-frv.lo elf32.lo $elf" ;;
+    frv_elf32_fdpic_vec)        tb="$tb elf32-frv.lo elf32.lo $elf" ;;
+    h8300_elf32_vec)            tb="$tb elf32-h8300.lo elf32.lo $elf" ;;
+    hppa_elf32_linux_vec)       tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    hppa_elf32_nbsd_vec)        tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    hppa_elf32_vec)             tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
+    i370_elf32_vec)             tb="$tb elf32-i370.lo elf32.lo $elf" ;;
+    i386_elf32_sol2_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_fbsd_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_nacl_vec)        tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_vxworks_vec)     tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i386_elf32_vec)             tb="$tb elf32-i386.lo elf-ifunc.lo elf-nacl.lo elf-vxworks.lo elf32.lo $elf" ;;
+    i860_elf32_le_vec)          tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+    i860_elf32_vec)             tb="$tb elf32-i860.lo elf32.lo $elf" ;;
+    i960_elf32_vec)             tb="$tb elf32-i960.lo elf32.lo $elf" ;;
+    ia64_elf32_be_vec)          tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
+    ia64_elf32_hpux_be_vec)     tb="$tb elf32-ia64.lo elfxx-ia64.lo elf32.lo $elf" ;;
+    ip2k_elf32_vec)             tb="$tb elf32-ip2k.lo elf32.lo $elf" ;;
+    iq2000_elf32_vec)           tb="$tb elf32-iq2000.lo elf32.lo $elf" ;;
+    lm32_elf32_vec)             tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    lm32_elf32_fdpic_vec)       tb="$tb elf32-lm32.lo elf32.lo $elf" ;;
+    elf32_le_vec)               tb="$tb elf32-gen.lo elf32.lo $elf" ;;
+    arc_elf32_le_vec)           tb="$tb elf32-arc.lo elf32.lo $elf" ;;
+    arm_elf32_symbian_le_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_vxworks_le_vec)   tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_le_vec)           tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    arm_elf32_nacl_le_vec)      tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;;
+    mips_elf32_le_vec)          tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_vxworks_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    moxie_elf32_le_vec)                 tb="$tb elf32-moxie.lo elf32.lo $elf" ;;
+    nios2_elf32_le_vec)                 tb="$tb elf32-nios2.lo elf32.lo $elf" ;;
+    m32c_elf32_vec)             tb="$tb elf32-m32c.lo elf32.lo $elf" ;;
+    m32r_elf32_vec)             tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_le_vec)          tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_linux_vec)       tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m32r_elf32_linux_le_vec)    tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
+    m68hc11_elf32_vec)          tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
+    m68hc12_elf32_vec)          tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
+    m68k_elf32_vec)             tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
+    m88k_elf32_vec)             tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
+    mcore_elf32_be_vec)                 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
+    mcore_elf32_le_vec)                 tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
+    mep_elf32_vec)              tb="$tb elf32-mep.lo elf32.lo $elf" ;;
+    mep_elf32_le_vec)           tb="$tb elf32-mep.lo elf32.lo $elf" ;;
+    metag_elf32_vec)            tb="$tb elf32-metag.lo elf32.lo $elf" ;;
+    microblaze_elf32_le_vec)    tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
+    microblaze_elf32_vec)       tb="$tb elf32-microblaze.lo elf32.lo $elf" ;;
+    mn10200_elf32_vec)          tb="$tb elf-m10200.lo elf32.lo $elf" ;;
+    mn10300_elf32_vec)          tb="$tb elf-m10300.lo elf32.lo $elf" ;;
+    mt_elf32_vec)               tb="$tb elf32-mt.lo elf32.lo $elf" ;;
+    msp430_elf32_vec)           tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    msp430_elf32_ti_vec)        tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    mips_elf32_n_be_vec)        tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_n_le_vec)        tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntrad_be_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntradfbsd_be_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntrad_le_vec)    tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf32_ntradfbsd_le_vec) tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    nds32_elf32_be_vec)                 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_le_vec)                 tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_linux_be_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    nds32_elf32_linux_le_vec)   tb="$tb elf32-nds32.lo elf32.lo $elf" ;;
+    or1k_elf32_vec)             tb="$tb elf32-or1k.lo elf32.lo $elf" ;;
+    pj_elf32_vec)               tb="$tb elf32-pj.lo elf32.lo $elf" ;;
+    pj_elf32_le_vec)            tb="$tb elf32-pj.lo elf32.lo $elf" ;;
+    powerpc_elf32_vec)          tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_le_vec)       tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_fbsd_vec)     tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    powerpc_elf32_vxworks_vec)  tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    rl78_elf32_vec)             tb="$tb elf32-rl78.lo elf32.lo $elf" ;;
+    rx_elf32_le_vec)            tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    rx_elf32_be_vec)            tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    rx_elf32_be_ns_vec)                 tb="$tb elf32-rx.lo elf32.lo $elf" ;;
+    s390_elf32_vec)             tb="$tb elf32-s390.lo elf32.lo $elf" ;;
+    score_elf32_be_vec)                 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64 ;;
+    score_elf32_le_vec)                 tb="$tb elf32-score.lo elf32-score7.lo elf32.lo $elf"; want64=true; target_size=64 ;;
     # FIXME: We include cofflink.lo not because it's needed for
-    # bfd_elf32_sh64[l]_vec, but because we include bfd_elf32_sh[l]_vec
+    # sh64_elf32[_le]_vec, but because we include sh_elf32[_le]_vec
     # which needs it but does not list it.  Should be fixed in right place.
-    bfd_elf32_sh64_vec)                tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64l_vec)       tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64lin_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64blin_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
-    bfd_elf32_sh64lnbsd_vec)   tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
-    bfd_elf32_sh64nbsd_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
-    bfd_elf32_sh_vec)          tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shbfd_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shblin_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shfd_vec)                tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shl_vec)         tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shl_symbian_vec) tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shlin_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shlnbsd_vec)     tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shlvxworks_vec)  tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_shnbsd_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
-    bfd_elf32_shvxworks_vec)   tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
-    bfd_elf32_sparc_vec)       tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_sparc_sol2_vec)  tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_sparc_vxworks_vec) tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
-    bfd_elf32_spu_vec)         tb="$tb elf32-spu.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_be_vec)    tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_le_vec)    tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_linux_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_linux_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_elf_be_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tic6x_elf_le_vec) tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
-    bfd_elf32_tilegx_be_vec)   tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
-    bfd_elf32_tilegx_le_vec)   tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
-    bfd_elf32_tilepro_vec)     tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
-    bfd_elf32_tradbigmips_vec | bfd_elf32_tradbigmips_freebsd_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_tradlittlemips_vec | bfd_elf32_tradlittlemips_freebsd_vec)
-                               tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
-    bfd_elf32_us_cris_vec)     tb="$tb elf32-cris.lo elf32.lo $elf" ;;
-    bfd_elf32_v850_vec)                tb="$tb elf32-v850.lo elf32.lo $elf" ;;
-    bfd_elf32_v850_rh850_vec)  tb="$tb elf32-v850.lo elf32.lo $elf" ;;
-    bfd_elf32_vax_vec)         tb="$tb elf32-vax.lo elf32.lo $elf" ;;
-    bfd_elf32_xstormy16_vec)   tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
-    bfd_elf32_xc16x_vec)               tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
-    bfd_elf32_xgate_vec)       tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
-    bfd_elf32_xtensa_le_vec)   tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
-    bfd_elf32_xtensa_be_vec)   tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
-    bfd_elf64_alpha_freebsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_alpha_vec)       tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_bigaarch64_vec)  tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_bigaarch64_vec)  tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_big_generic_vec)         tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_bigmips_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_hppa_linux_vec)  tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_hppa_vec)                tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_big_vec)    tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_ia64_vms_vec)    tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;    
-    bfd_elf64_littleaarch64_vec)tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_littleaarch64_vec)tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_littlemips_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_mmix_vec)        tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_powerpc_vec)     tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_powerpcle_vec)   tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_powerpc_freebsd_vec) tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_s390_vec)                tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sh64_vec)                tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64l_vec)       tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64lin_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64blin_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64lnbsd_vec)   tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sh64nbsd_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
-    bfd_elf64_sparc_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sparc_freebsd_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_sparc_sol2_vec) tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_tilegx_be_vec)   tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
-    bfd_elf64_tilegx_le_vec)   tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
-    bfd_elf64_tradbigmips_vec | bfd_elf64_tradbigmips_freebsd_vec)
-                               tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_tradlittlemips_vec | bfd_elf64_tradlittlemips_freebsd_vec)
-                               tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
-    bfd_elf64_x86_64_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_sol2_vec)  tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_x86_64_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf32_x86_64_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf32_x86_64_nacl_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
-    bfd_elf64_l1om_vec)                tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_l1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_k1om_vec)                tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_elf64_k1om_freebsd_vec) tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
-    bfd_mmo_vec)               tb="$tb mmo.lo" target_size=64 ;;
-    bfd_powerpc_pe_vec)         tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpc_pei_vec)        tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpcle_pe_vec)       tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
-    bfd_powerpcle_pei_vec)      tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
-    cris_aout_vec)             tb="$tb aout-cris.lo" ;;
-    demo_64_vec)               tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
-    ecoff_big_vec)             tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoff_biglittle_vec)       tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoff_little_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
-    ecoffalpha_little_vec)     tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
-    go32coff_vec)              tb="$tb coff-go32.lo cofflink.lo" ;;
-    go32stubbedcoff_vec)       tb="$tb coff-stgo32.lo cofflink.lo" ;;
-    h8300coff_vec)             tb="$tb coff-h8300.lo reloc16.lo" ;;
-    h8500coff_vec)             tb="$tb coff-h8500.lo reloc16.lo" ;;
-    host_aout_vec)             tb="$tb host-aout.lo aout32.lo" ;;
-    hp300bsd_vec)              tb="$tb hp300bsd.lo aout32.lo" ;;
-    hp300hpux_vec)             tb="$tb hp300hpux.lo aout32.lo" ;;
-    i386aout_vec)              tb="$tb i386aout.lo aout32.lo" ;;
-    i386bsd_vec)               tb="$tb i386bsd.lo aout32.lo" ;;
-    i386coff_vec)              tb="$tb coff-i386.lo cofflink.lo" ;;
-    x86_64coff_vec)            tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
-    i386dynix_vec)             tb="$tb i386dynix.lo aout32.lo" ;;
-    i386freebsd_vec)           tb="$tb i386freebsd.lo aout32.lo" ;;
-    i386linux_vec)             tb="$tb i386linux.lo aout32.lo" ;;
-    i386lynx_aout_vec)         tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
-    i386lynx_coff_vec)         tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
-    i386mach3_vec)             tb="$tb i386mach3.lo aout32.lo" ;;
-    i386msdos_vec)             tb="$tb i386msdos.lo" ;;
-    i386netbsd_vec)            tb="$tb i386netbsd.lo aout32.lo" ;;
-    i386os9k_vec)              tb="$tb i386os9k.lo aout32.lo" ;;
-    i386pe_vec)                        tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
-    i386pei_vec)               tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
-    x86_64pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    x86_64pei_vec)             tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    x86_64pe_bigobj_vec)       tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
-    i860coff_vec)              tb="$tb coff-i860.lo cofflink.lo" ;;
-    icoff_big_vec)             tb="$tb coff-i960.lo cofflink.lo" ;;
-    icoff_little_vec)          tb="$tb coff-i960.lo cofflink.lo" ;;
-    ieee_vec)                  tb="$tb ieee.lo" ;;
-    m68k4knetbsd_vec)          tb="$tb m68k4knetbsd.lo aout32.lo" ;;
-    m68kaux_coff_vec)          tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
-    m68kcoff_vec)              tb="$tb coff-m68k.lo cofflink.lo" ;;
-    m68kcoffun_vec)            tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
-    m68klinux_vec)             tb="$tb m68klinux.lo aout32.lo" ;;
-    m68knetbsd_vec)            tb="$tb m68knetbsd.lo aout32.lo" ;;
-    m68ksysvcoff_vec)          tb="$tb coff-svm68k.lo cofflink.lo" ;;
-    m88kbcs_vec)               tb="$tb coff-m88k.lo" ;;
-    m88kmach3_vec)             tb="$tb m88kmach3.lo aout32.lo" ;;
-    m88kopenbsd_vec)           tb="$tb m88kopenbsd.lo aout32.lo" ;;
-    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
-    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
-    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
-    mach_o_i386_vec)            tb="$tb mach-o-i386.lo" ;;
-    mach_o_x86_64_vec)          tb="$tb mach-o-x86-64.lo" ;;
-    mcore_pe_big_vec)          tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pe_little_vec)       tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pei_big_vec)         tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
-    mcore_pei_little_vec)      tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
-    mipslpe_vec)               tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
-    mipslpei_vec)              tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
-    newsos3_vec)               tb="$tb newsos3.lo aout32.lo" ;;
-    nlm32_alpha_vec)           tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
-    nlm32_i386_vec)            tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
-    nlm32_powerpc_vec)         tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
-    nlm32_sparc_vec)           tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
-    pc532machaout_vec)         tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
-    pc532netbsd_vec)           tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
-    pef_vec)                    tb="$tb pef.lo" ;;
-    pef_xlib_vec)               tb="$tb pef.lo" ;;
-    pdp11_aout_vec)            tb="$tb pdp11.lo" ;;
-    plugin_vec)                 tb="$tb plugin.lo" ;;
-    pmac_xcoff_vec)            tb="$tb coff-rs6000.lo xcofflink.lo" ;;
-    ppcboot_vec)               tb="$tb ppcboot.lo" ;;
-    riscix_vec)                        tb="$tb aout32.lo riscix.lo" ;;
-    rs6000coff64_vec)          tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
-    rs6000coff_vec)            tb="$tb coff-rs6000.lo xcofflink.lo" ;;
-    shcoff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
-    shcoff_vec)                        tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlcoff_small_vec)         tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlcoff_vec)               tb="$tb coff-sh.lo cofflink.lo" ;;
-    shlpe_vec)                 tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
-    shlpei_vec)                        tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
-    som_vec)                   tb="$tb som.lo" ;;
-    sparccoff_vec)             tb="$tb coff-sparc.lo" ;;
-    sparcle_aout_vec)          tb="$tb aout-sparcle.lo aout32.lo" ;;
-    sparclinux_vec)            tb="$tb sparclinux.lo aout32.lo" ;;
-    sparclynx_aout_vec)                tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
-    sparclynx_coff_vec)                tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
-    sparcnetbsd_vec)           tb="$tb sparcnetbsd.lo aout32.lo" ;;
-    sunos_big_vec)             tb="$tb sunos.lo aout32.lo" ;;
-    sym_vec)                    tb="$tb xsym.lo" ;;
-    tic30_aout_vec)            tb="$tb aout-tic30.lo" ;;
-    tic30_coff_vec)            tb="$tb coff-tic30.lo" ;;
-    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
-    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
-    tic54x_coff0_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff0_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff1_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff1_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff2_beh_vec)      tb="$tb coff-tic54x.lo" ;;
-    tic54x_coff2_vec)          tb="$tb coff-tic54x.lo" ;;
-    tic80coff_vec)             tb="$tb coff-tic80.lo cofflink.lo" ;;
-    vaxnetbsd_vec)             tb="$tb vaxnetbsd.lo aout32.lo" ;;
-    vax1knetbsd_vec)           tb="$tb vax1knetbsd.lo aout32.lo" ;;
-    vaxbsd_vec)                        tb="$tb vaxbsd.lo aout32.lo" ;;
-    versados_vec)              tb="$tb versados.lo" ;;
-    vms_alpha_vec)             tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
-    vms_lib_txt_vec)           tb="$tb vms-lib.lo vms-misc.lo" ;;
-    w65_vec)                   tb="$tb coff-w65.lo reloc16.lo" ;;
-    we32kcoff_vec)             tb="$tb coff-we32k.lo" ;;
-    z80coff_vec)               tb="$tb coff-z80.lo reloc16.lo" ;;
-    z8kcoff_vec)               tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
+    sh64_elf32_vec)             tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_le_vec)          tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_linux_vec)       tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_linux_be_vec)    tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" target_size=64 ;;
+    sh64_elf32_nbsd_le_vec)     tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
+    sh64_elf32_nbsd_vec)        tb="$tb elf32-sh64.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf cofflink.lo" ;;
+    sh_elf32_vec)               tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_fdpic_be_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_linux_be_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_fdpic_le_vec)      tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_le_vec)            tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_symbian_le_vec)    tb="$tb elf32-sh-symbian.lo elf32-sh64-com.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_linux_vec)                 tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_nbsd_le_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_vxworks_le_vec)    tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sh_elf32_nbsd_vec)          tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo cofflink.lo" ;;
+    sh_elf32_vxworks_vec)       tb="$tb elf32-sh.lo elf-vxworks.lo elf32.lo $elf coff-sh.lo" ;;
+    sparc_elf32_vec)            tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    sparc_elf32_sol2_vec)       tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    sparc_elf32_vxworks_vec)    tb="$tb elf32-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf32.lo $elf" ;;
+    spu_elf32_vec)              tb="$tb elf32-spu.lo elf32.lo $elf" ;;
+    tic6x_elf32_be_vec)                 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_le_vec)                 tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_linux_be_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_linux_le_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_c6000_be_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tic6x_elf32_c6000_le_vec)   tb="$tb elf32-tic6x.lo elf32.lo $elf" ;;
+    tilegx_elf32_be_vec)        tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
+    tilegx_elf32_le_vec)        tb="$tb elf32-tilegx.lo elfxx-tilegx.lo elf32.lo $elf" ; target_size=32 ;;
+    tilepro_elf32_vec)          tb="$tb elf32-tilepro.lo elf32.lo $elf" ;;
+    mips_elf32_trad_be_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_tradfbsd_be_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_trad_le_vec)     tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    mips_elf32_tradfbsd_le_vec)  tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;;
+    cris_elf32_us_vec)          tb="$tb elf32-cris.lo elf32.lo $elf" ;;
+    v850_elf32_vec)             tb="$tb elf32-v850.lo elf32.lo $elf" ;;
+    v800_elf32_vec)             tb="$tb elf32-v850.lo elf32.lo $elf" ;;
+    vax_elf32_vec)              tb="$tb elf32-vax.lo elf32.lo $elf" ;;
+    xstormy16_elf32_vec)        tb="$tb elf32-xstormy16.lo elf32.lo $elf" ;;
+    xc16x_elf32_vec)            tb="$tb elf32-xc16x.lo elf32.lo $elf" ;;
+    xgate_elf32_vec)            tb="$tb elf32-xgate.lo elf32.lo $elf" ;;
+    xtensa_elf32_le_vec)        tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
+    xtensa_elf32_be_vec)        tb="$tb xtensa-isa.lo xtensa-modules.lo elf32-xtensa.lo elf32.lo $elf" ;;
+    alpha_elf64_fbsd_vec)       tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
+    alpha_elf64_vec)            tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf64_be_vec)       tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf32_be_vec)       tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
+    elf64_be_vec)               tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    mips_elf64_be_vec)          tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    hppa_elf64_linux_vec)       tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
+    hppa_elf64_vec)             tb="$tb elf64-hppa.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_be_vec)          tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_hpux_be_vec)     tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_le_vec)          tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;;
+    ia64_elf64_vms_vec)                 tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;;
+    aarch64_elf64_le_vec)       tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target_size=64 ;;
+    aarch64_elf32_le_vec)       tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; target_size=64 ;;
+    elf64_le_vec)               tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    mips_elf64_le_vec)          tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mmix_elf64_vec)             tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;;
+    powerpc_elf64_vec)          tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf"; target_size=64 ;;
+    powerpc_elf64_le_vec)       tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
+    powerpc_elf64_fbsd_vec)     tb="$tb elf64-ppc.lo elf64-gen.lo elf64.lo $elf" target_size=64 ;;
+    s390_elf64_vec)             tb="$tb elf64-s390.lo elf64.lo $elf"; target_size=64 ;;
+    sh64_elf64_vec)             tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_le_vec)          tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_linux_vec)       tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_linux_be_vec)    tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_nbsd_le_vec)     tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sh64_elf64_nbsd_vec)        tb="$tb elf64-sh64.lo elf64.lo $elf" target_size=64 ;;
+    sparc_elf64_vec)            tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    sparc_elf64_fbsd_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    sparc_elf64_sol2_vec)       tb="$tb elf64-sparc.lo elfxx-sparc.lo elf-vxworks.lo elf64.lo $elf"; target_size=64 ;;
+    tilegx_elf64_be_vec)        tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
+    tilegx_elf64_le_vec)        tb="$tb elf64-tilegx.lo elfxx-tilegx.lo elf64.lo $elf" ; target_size=64 ;;
+    mips_elf64_trad_be_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_tradfbsd_be_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_trad_le_vec)     tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    mips_elf64_tradfbsd_le_vec)  tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
+    x86_64_elf64_fbsd_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_nacl_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_sol2_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf64_vec)           tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    x86_64_elf32_vec)           tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
+    x86_64_elf32_nacl_vec)      tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo elf32.lo $elf"; target_size=64 ;;
+    l1om_elf64_vec)             tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    l1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_vec)             tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    k1om_elf64_fbsd_vec)        tb="$tb elf64-x86-64.lo elf-ifunc.lo elf-nacl.lo elf64.lo $elf"; target_size=64 ;;
+    mmix_mmo_vec)                       tb="$tb mmo.lo" target_size=64 ;;
+    powerpc_pe_vec)             tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pei_vec)            tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pe_le_vec)          tb="$tb pe-ppc.lo peigen.lo cofflink.lo" ;;
+    powerpc_pei_le_vec)                 tb="$tb pei-ppc.lo peigen.lo cofflink.lo" ;;
+    cris_aout_vec)              tb="$tb aout-cris.lo" ;;
+    aout64_vec)                         tb="$tb demo64.lo aout64.lo"; target_size=64 ;;
+    mips_ecoff_be_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    mips_ecoff_bele_vec)        tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    mips_ecoff_le_vec)          tb="$tb coff-mips.lo ecoff.lo ecofflink.lo" ;;
+    alpha_ecoff_le_vec)                 tb="$tb coff-alpha.lo ecoff.lo ecofflink.lo"; target_size=64 ;;
+    i386_coff_go32_vec)                 tb="$tb coff-go32.lo cofflink.lo" ;;
+    i386_coff_go32stubbed_vec)  tb="$tb coff-stgo32.lo cofflink.lo" ;;
+    h8300_coff_vec)             tb="$tb coff-h8300.lo reloc16.lo" ;;
+    h8500_coff_vec)             tb="$tb coff-h8500.lo reloc16.lo" ;;
+    aout_vec)                   tb="$tb host-aout.lo aout32.lo" ;;
+    m68k_aout_hp300bsd_vec)     tb="$tb hp300bsd.lo aout32.lo" ;;
+    m68k_aout_hp300hpux_vec)    tb="$tb hp300hpux.lo aout32.lo" ;;
+    i386_aout_vec)              tb="$tb i386aout.lo aout32.lo" ;;
+    i386_aout_bsd_vec)          tb="$tb i386bsd.lo aout32.lo" ;;
+    i386_coff_vec)              tb="$tb coff-i386.lo cofflink.lo" ;;
+    x86_64_coff_vec)            tb="$tb coff-x86_64.lo cofflink.lo"; target_size=64 ;;
+    i386_aout_dynix_vec)        tb="$tb i386dynix.lo aout32.lo" ;;
+    i386_aout_fbsd_vec)                 tb="$tb i386freebsd.lo aout32.lo" ;;
+    i386_aout_linux_vec)        tb="$tb i386linux.lo aout32.lo" ;;
+    i386_aout_lynx_vec)                 tb="$tb i386lynx.lo lynx-core.lo aout32.lo" ;;
+    i386_coff_lynx_vec)                 tb="$tb cf-i386lynx.lo cofflink.lo lynx-core.lo" ;;
+    i386_aout_mach3_vec)        tb="$tb i386mach3.lo aout32.lo" ;;
+    i386_msdos_vec)             tb="$tb i386msdos.lo" ;;
+    i386_aout_nbsd_vec)                 tb="$tb i386netbsd.lo aout32.lo" ;;
+    i386_aout_os9k_vec)                 tb="$tb i386os9k.lo aout32.lo" ;;
+    i386_pe_vec)                tb="$tb pe-i386.lo peigen.lo cofflink.lo" ;;
+    i386_pei_vec)               tb="$tb pei-i386.lo peigen.lo cofflink.lo" ;;
+    x86_64_pe_vec)              tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    x86_64_pei_vec)             tb="$tb pei-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    x86_64_pe_be_vec)           tb="$tb pe-x86_64.lo pex64igen.lo cofflink.lo"; target_size=64 ;;
+    i860_coff_vec)              tb="$tb coff-i860.lo cofflink.lo" ;;
+    icoff_be_vec)               tb="$tb coff-i960.lo cofflink.lo" ;;
+    icoff_le_vec)               tb="$tb coff-i960.lo cofflink.lo" ;;
+    ieee_vec)                   tb="$tb ieee.lo" ;;
+    m68k_aout_4knbsd_vec)       tb="$tb m68k4knetbsd.lo aout32.lo" ;;
+    m68k_coff_aux_vec)          tb="$tb coff-aux.lo coff-m68k.lo cofflink.lo" ;;
+    m68k_coff_vec)              tb="$tb coff-m68k.lo cofflink.lo" ;;
+    m68k_coff_un_vec)           tb="$tb coff-u68k.lo coff-m68k.lo cofflink.lo" ;;
+    m68k_aout_linux_vec)        tb="$tb m68klinux.lo aout32.lo" ;;
+    m68k_aout_nbsd_vec)                 tb="$tb m68knetbsd.lo aout32.lo" ;;
+    m68k_coff_sysv_vec)                 tb="$tb coff-svm68k.lo cofflink.lo" ;;
+    m88k_coff_bcs_vec)          tb="$tb coff-m88k.lo" ;;
+    m88k_aout_mach3_vec)        tb="$tb m88kmach3.lo aout32.lo" ;;
+    m88k_aout_obsd_vec)                 tb="$tb m88kopenbsd.lo aout32.lo" ;;
+    mach_o_be_vec)              tb="$tb mach-o.lo" ;;
+    mach_o_le_vec)              tb="$tb mach-o.lo" ;;
+    mach_o_fat_vec)             tb="$tb mach-o.lo" ;;
+    i386_mach_o_vec)            tb="$tb mach-o-i386.lo" ;;
+    x86_64_mach_o_vec)          tb="$tb mach-o-x86-64.lo" ;;
+    mcore_pe_be_vec)            tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pe_le_vec)            tb="$tb pe-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pei_be_vec)           tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
+    mcore_pei_le_vec)           tb="$tb pei-mcore.lo peigen.lo cofflink.lo" ;;
+    mips_pe_le_vec)             tb="$tb pe-mips.lo peigen.lo cofflink.lo" ;;
+    mips_pei_le_vec)            tb="$tb pei-mips.lo peigen.lo cofflink.lo" ;;
+    m68k_aout_newsos3_vec)      tb="$tb newsos3.lo aout32.lo" ;;
+    alpha_nlm32_vec)            tb="$tb nlm32-alpha.lo nlm32.lo nlm.lo"; target_size=64 ;;
+    i386_nlm32_vec)             tb="$tb nlm32-i386.lo nlm32.lo nlm.lo" ;;
+    powerpc_nlm32_vec)          tb="$tb nlm32-ppc.lo nlm32.lo nlm.lo" ;;
+    sparc_nlm32_vec)            tb="$tb nlm32-sparc.lo nlm32.lo nlm.lo" ;;
+    ns32k_aout_pc532mach_vec)   tb="$tb pc532-mach.lo aout-ns32k.lo" ;;
+    ns32k_aout_pc532nbsd_vec)   tb="$tb ns32knetbsd.lo aout-ns32k.lo" ;;
+    pef_vec)                    tb="$tb pef.lo" ;;
+    pef_xlib_vec)               tb="$tb pef.lo" ;;
+    pdp11_aout_vec)             tb="$tb pdp11.lo" ;;
+    plugin_vec)                         tb="$tb plugin.lo" ;;
+    powerpc_xcoff_vec)          tb="$tb coff-rs6000.lo xcofflink.lo" ;;
+    powerpc_boot_vec)           tb="$tb ppcboot.lo" ;;
+    arm_aout_riscix_vec)        tb="$tb aout32.lo riscix.lo" ;;
+    rs6000_xcoff64_vec)                 tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
+    rs6000_xcoff_vec)           tb="$tb coff-rs6000.lo xcofflink.lo" ;;
+    sh_coff_small_vec)          tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_vec)                tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_small_le_vec)       tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_coff_le_vec)             tb="$tb coff-sh.lo cofflink.lo" ;;
+    sh_pe_le_vec)               tb="$tb pe-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
+    sh_pei_le_vec)              tb="$tb pei-sh.lo coff-sh.lo peigen.lo cofflink.lo" ;;
+    hppa_som_vec)               tb="$tb som.lo" ;;
+    sparc_coff_vec)             tb="$tb coff-sparc.lo" ;;
+    sparc_aout_le_vec)          tb="$tb aout-sparcle.lo aout32.lo" ;;
+    sparc_aout_linux_vec)       tb="$tb sparclinux.lo aout32.lo" ;;
+    sparc_aout_lynx_vec)        tb="$tb sparclynx.lo lynx-core.lo aout32.lo" ;;
+    sparc_coff_lynx_vec)        tb="$tb cf-sparclynx.lo lynx-core.lo" ;;
+    sparc_aout_nbsd_vec)        tb="$tb sparcnetbsd.lo aout32.lo" ;;
+    sparc_aout_sunos_be_vec)    tb="$tb sunos.lo aout32.lo" ;;
+    sym_vec)                    tb="$tb xsym.lo" ;;
+    tic30_aout_vec)             tb="$tb aout-tic30.lo" ;;
+    tic30_coff_vec)             tb="$tb coff-tic30.lo" ;;
+    tic4x_coff0_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff0_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff1_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff1_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff2_vec)            tb="$tb coff-tic4x.lo" ;;
+    tic4x_coff2_beh_vec)        tb="$tb coff-tic4x.lo" ;;
+    tic54x_coff0_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff0_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff1_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff1_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff2_beh_vec)       tb="$tb coff-tic54x.lo" ;;
+    tic54x_coff2_vec)           tb="$tb coff-tic54x.lo" ;;
+    tic80_coff_vec)             tb="$tb coff-tic80.lo cofflink.lo" ;;
+    vax_aout_nbsd_vec)          tb="$tb vaxnetbsd.lo aout32.lo" ;;
+    vax_aout_1knbsd_vec)        tb="$tb vax1knetbsd.lo aout32.lo" ;;
+    vax_aout_bsd_vec)           tb="$tb vaxbsd.lo aout32.lo" ;;
+    m68k_versados_vec)          tb="$tb versados.lo" ;;
+    alpha_vms_vec)              tb="$tb vms-alpha.lo vms-misc.lo vms-lib.lo"; target_size=64 ;;
+    alpha_vms_lib_txt_vec)      tb="$tb vms-lib.lo vms-misc.lo" ;;
+    w65_coff_vec)               tb="$tb coff-w65.lo reloc16.lo" ;;
+    we32k_coff_vec)             tb="$tb coff-we32k.lo" ;;
+    z80_coff_vec)               tb="$tb coff-z80.lo reloc16.lo" ;;
+    z8k_coff_vec)               tb="$tb coff-z8k.lo reloc16.lo cofflink.lo" ;;
 
     # These appear out of order in targets.c
-    srec_vec)                  tb="$tb srec.lo" ;;
-    symbolsrec_vec)            tb="$tb srec.lo" ;;
-    tekhex_vec)                        tb="$tb tekhex.lo" ;;
-    cisco_core_big_vec)                tb="$tb cisco-core.lo" ;;
-    cisco_core_little_vec)     tb="$tb cisco-core.lo" ;;
+    srec_vec)                   tb="$tb srec.lo" ;;
+    symbolsrec_vec)             tb="$tb srec.lo" ;;
+    tekhex_vec)                         tb="$tb tekhex.lo" ;;
+    core_cisco_be_vec)          tb="$tb cisco-core.lo" ;;
+    core_cisco_le_vec)          tb="$tb cisco-core.lo" ;;
 
-    "")                        ;;
+    "")                                 ;;
     *) AC_MSG_ERROR(*** unknown target vector $vec) ;;
     esac
 
index 283ff85a04b86e1660a6340869a23a7e240f7957..83db63edbc15d1cc0f75a5e530b1231679d93b19 100644 (file)
@@ -24,7 +24,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (demo_64_,OP)
+#define MY(OP) CONCAT2 (aout64_,OP)
 
 #define TARGETNAME  "demo64"
 #include "aoutf1.h"
index 93131f1355d154ca9f3129d9c5452ba5b45f8f9e..86872b772c4019a39f23c7675cbf841b852cb11b 100644 (file)
@@ -1374,7 +1374,7 @@ mn10200_elf_get_relocated_section_contents (bfd *output_bfd,
   return NULL;
 }
 
-#define TARGET_LITTLE_SYM      bfd_elf32_mn10200_vec
+#define TARGET_LITTLE_SYM      mn10200_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-mn10200"
 #define ELF_ARCH               bfd_arch_mn10200
 #define ELF_MACHINE_CODE       EM_MN10200
index 41d6b385bfa89faec3ba73e4908b75aa4780ee4c..68307de65ae634037b103d9e3bade22d7949b8fe 100644 (file)
@@ -5560,7 +5560,7 @@ mn10300_elf_mkobject (bfd *abfd)
 #define bfd_elf32_mkobject     mn10300_elf_mkobject
 
 #ifndef ELF_ARCH
-#define TARGET_LITTLE_SYM      bfd_elf32_mn10300_vec
+#define TARGET_LITTLE_SYM      mn10300_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-mn10300"
 #define ELF_ARCH               bfd_arch_mn10300
 #define ELF_TARGET_ID          MN10300_ELF_DATA
index cc3fe0c02611ad4b0e22c55e740365343721b9b9..c28308d9e927e8019cb04804e4d6240f812e4a11 100644 (file)
@@ -25,7 +25,7 @@
 
 #define elf_symbol_leading_char 0
 
-#define TARGET_LITTLE_SYM      bfd_elf32_am33lin_vec
+#define TARGET_LITTLE_SYM      am33_elf32_linux_vec
 #define TARGET_LITTLE_NAME     "elf32-am33lin"
 #define ELF_ARCH               bfd_arch_mn10300
 #define ELF_MACHINE_CODE       EM_MN10300
index b0c49ffb060653d66f1b1663837c6771f2a6cede..e528e66bfe77d4e299a822ce52005eb05ae86872 100644 (file)
@@ -236,9 +236,9 @@ arc_elf_final_write_processing (bfd *abfd,
   elf_elfheader (abfd)->e_flags |= val;
 }
 
-#define TARGET_LITTLE_SYM   bfd_elf32_littlearc_vec
+#define TARGET_LITTLE_SYM   arc_elf32_le_vec
 #define TARGET_LITTLE_NAME  "elf32-littlearc"
-#define TARGET_BIG_SYM      bfd_elf32_bigarc_vec
+#define TARGET_BIG_SYM      arc_elf32_be_vec
 #define TARGET_BIG_NAME            "elf32-bigarc"
 #define ELF_ARCH            bfd_arch_arc
 #define ELF_MACHINE_CODE    EM_ARC
index 16467a449431a1dad1c2bb3d5ea66c00d7b538c5..526d4f8490f81561895b77b409fbe813bf203323 100644 (file)
@@ -2040,9 +2040,9 @@ elf32_arm_nabi_write_core_note (bfd *abfd, char *buf, int *bufsiz,
     }
 }
 
-#define TARGET_LITTLE_SYM               bfd_elf32_littlearm_vec
+#define TARGET_LITTLE_SYM               arm_elf32_le_vec
 #define TARGET_LITTLE_NAME              "elf32-littlearm"
-#define TARGET_BIG_SYM                  bfd_elf32_bigarm_vec
+#define TARGET_BIG_SYM                  arm_elf32_be_vec
 #define TARGET_BIG_NAME                 "elf32-bigarm"
 
 #define elf_backend_grok_prstatus      elf32_arm_nabi_grok_prstatus
@@ -16170,11 +16170,11 @@ elf32_arm_get_synthetic_symtab (bfd *abfd,
 /* Native Client targets.  */
 
 #undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM              bfd_elf32_littlearm_nacl_vec
+#define TARGET_LITTLE_SYM              arm_elf32_nacl_le_vec
 #undef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME             "elf32-littlearm-nacl"
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM                 bfd_elf32_bigarm_nacl_vec
+#define TARGET_BIG_SYM                 arm_elf32_nacl_be_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                        "elf32-bigarm-nacl"
 
@@ -16268,11 +16268,11 @@ elf32_arm_nacl_plt_sym_val (bfd_vma i, const asection *plt,
 /* VxWorks Targets.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM               bfd_elf32_littlearm_vxworks_vec
+#define TARGET_LITTLE_SYM               arm_elf32_vxworks_le_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME              "elf32-littlearm-vxworks"
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM                  bfd_elf32_bigarm_vxworks_vec
+#define TARGET_BIG_SYM                  arm_elf32_vxworks_be_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                 "elf32-bigarm-vxworks"
 
@@ -16554,11 +16554,11 @@ elf32_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
 /* Symbian OS Targets.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM               bfd_elf32_littlearm_symbian_vec
+#define TARGET_LITTLE_SYM               arm_elf32_symbian_le_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME              "elf32-littlearm-symbian"
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM                  bfd_elf32_bigarm_symbian_vec
+#define TARGET_BIG_SYM                  arm_elf32_symbian_be_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                 "elf32-bigarm-symbian"
 
index 425e2d1c1ed071d3bc71075c08049f285a20ba3a..45710a1b104bf4ffd95a19f7da7b0249df6150c2 100644 (file)
@@ -3245,7 +3245,7 @@ elf32_avr_build_stubs (struct bfd_link_info *info)
 #define ELF_MACHINE_ALT1       EM_AVR_OLD
 #define ELF_MAXPAGESIZE                1
 
-#define TARGET_LITTLE_SYM       bfd_elf32_avr_vec
+#define TARGET_LITTLE_SYM       avr_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-avr"
 
 #define bfd_elf32_bfd_link_hash_table_create elf32_avr_link_hash_table_create
index a4de709d3b58245188698b028a3e50fbef69c9cf..692875bf256cf05332453a3ef5ece0d351e107b4 100644 (file)
@@ -1732,8 +1732,8 @@ bfin_gc_sweep_hook (bfd * abfd,
   return TRUE;
 }
 \f
-extern const bfd_target bfd_elf32_bfinfdpic_vec;
-#define IS_FDPIC(bfd) ((bfd)->xvec == &bfd_elf32_bfinfdpic_vec)
+extern const bfd_target bfin_elf32_fdpic_vec;
+#define IS_FDPIC(bfd) ((bfd)->xvec == &bfin_elf32_fdpic_vec)
 
 /* An extension of the elf hash table data structure,
    containing some additional Blackfin-specific data.  */
@@ -5624,7 +5624,7 @@ struct bfd_elf_special_section const elf32_bfin_special_sections[] =
 };
 
 \f
-#define TARGET_LITTLE_SYM              bfd_elf32_bfin_vec
+#define TARGET_LITTLE_SYM              bfin_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-bfin"
 #define ELF_ARCH                       bfd_arch_bfin
 #define ELF_TARGET_ID                  BFIN_ELF_DATA
@@ -5686,7 +5686,7 @@ struct bfd_elf_special_section const elf32_bfin_special_sections[] =
 #include "elf32-target.h"
 
 #undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM          bfd_elf32_bfinfdpic_vec
+#define TARGET_LITTLE_SYM          bfin_elf32_fdpic_vec
 #undef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME             "elf32-bfinfdpic"
 #undef elf32_bed
index 5e108c97be6992abaae7e64531a7c9a24fb41fb5..f16f1c628a2dbbc604989181a033f5f5ced47387 100644 (file)
@@ -2935,7 +2935,7 @@ _bfd_cr16_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSE
 }
 
 /* Definitions for setting CR16 target vector.  */
-#define TARGET_LITTLE_SYM                 bfd_elf32_cr16_vec
+#define TARGET_LITTLE_SYM                 cr16_elf32_vec
 #define TARGET_LITTLE_NAME                "elf32-cr16"
 #define ELF_ARCH                          bfd_arch_cr16
 #define ELF_MACHINE_CODE                  EM_CR16
index 11343e08dd4c24196ce79a9221fdd9de76860ee9..cf4503c9f65067dc28d6481837f5b4632dd621c9 100644 (file)
@@ -939,7 +939,7 @@ elf32_cr16c_link_output_symbol_hook (struct bfd_link_info *info ATTRIBUTE_UNUSED
 }
 
 /* Definitions for setting CR16C target vector.  */
-#define TARGET_LITTLE_SYM              bfd_elf32_cr16c_vec
+#define TARGET_LITTLE_SYM              cr16c_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-cr16c"
 #define ELF_ARCH                       bfd_arch_cr16c
 #define ELF_MACHINE_CODE               EM_CR
index e3ea9784c2161896f42386e0566ee0149fb08135..9b2b956c8af998ef9c2e4add93686363fb84d60f 100644 (file)
@@ -4334,7 +4334,7 @@ elf_cris_got_elt_size (bfd *abfd ATTRIBUTE_UNUSED,
 #define ELF_MACHINE_CODE       EM_CRIS
 #define ELF_MAXPAGESIZE                0x2000
 
-#define TARGET_LITTLE_SYM      bfd_elf32_cris_vec
+#define TARGET_LITTLE_SYM      cris_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-cris"
 #define elf_symbol_leading_char 0
 
@@ -4403,7 +4403,7 @@ elf_cris_got_elt_size (bfd *abfd ATTRIBUTE_UNUSED,
 #undef TARGET_LITTLE_NAME
 #undef elf_symbol_leading_char
 
-#define TARGET_LITTLE_SYM bfd_elf32_us_cris_vec
+#define TARGET_LITTLE_SYM cris_elf32_us_vec
 #define TARGET_LITTLE_NAME "elf32-us-cris"
 #define elf_symbol_leading_char '_'
 #undef elf32_bed
index 1c6cb574b7de5115a89ab1e820ed32a065e21d0a..f2925f55f392ff6788c790c984bd9e273f374e68 100644 (file)
@@ -1308,7 +1308,7 @@ elf32_crx_relax_section (bfd *abfd, asection *sec,
 }
 
 /* Definitions for setting CRX target vector.  */
-#define TARGET_LITTLE_SYM              bfd_elf32_crx_vec
+#define TARGET_LITTLE_SYM              crx_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-crx"
 #define ELF_ARCH                       bfd_arch_crx
 #define ELF_MACHINE_CODE               EM_CRX
index 8ba758381dcc4365fe6ffe4db5db27c0a232a810..f45e2db5f6ad27a75dbb2300c6079acb47f16862 100644 (file)
@@ -541,7 +541,7 @@ elf32_d10v_relocate_section (bfd *output_bfd,
 #define ELF_MACHINE_ALT1       EM_CYGNUS_D10V
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_d10v_vec
+#define TARGET_BIG_SYM          d10v_elf32_vec
 #define TARGET_BIG_NAME                "elf32-d10v"
 
 #define elf_info_to_howto                   0
index 30fbb6d37c91def32f7e045a8e44083c57f716df..211a673ac48c4302b18bc11121fa5b6ede44504b 100644 (file)
@@ -539,7 +539,7 @@ d30v_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
 #define ELF_MACHINE_ALT1       EM_CYGNUS_D30V
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_d30v_vec
+#define TARGET_BIG_SYM          d30v_elf32_vec
 #define TARGET_BIG_NAME                "elf32-d30v"
 
 #define elf_info_to_howto      d30v_info_to_howto_rela
index 8471b28791d72701bb1df33bc66085ef6c4d4bc7..91441aa84d861e9587056551292a673c6173162d 100644 (file)
@@ -571,7 +571,7 @@ elf32_dlx_info_to_howto_rel (bfd *abfd ATTRIBUTE_UNUSED,
   return;
 }
 
-#define TARGET_BIG_SYM          bfd_elf32_dlx_big_vec
+#define TARGET_BIG_SYM          dlx_elf32_be_vec
 #define TARGET_BIG_NAME         "elf32-dlx"
 #define ELF_ARCH                bfd_arch_dlx
 #define ELF_MACHINE_CODE        EM_DLX
index 61bb527f3bcdd1ecbc86df300cee67c8d4dcf41f..8d95cc9daae7676f432a0acdc8556b1cedd4eb8c 100644 (file)
@@ -585,7 +585,7 @@ epiphany_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
 }
 
 /* We only have a little-endian target.  */
-#define TARGET_LITTLE_SYM       bfd_elf32_epiphany_vec
+#define TARGET_LITTLE_SYM       epiphany_elf32_vec
 #define TARGET_LITTLE_NAME  "elf32-epiphany"
 
 #define ELF_ARCH        bfd_arch_epiphany
index 73b2d91541830d1a89b19456b38e352bca9f687a..022a0a9ffc3834211fec54fd0f94db86d2339272 100644 (file)
@@ -703,7 +703,7 @@ fr30_elf_check_relocs (bfd *abfd,
 #define ELF_MACHINE_ALT1       EM_CYGNUS_FR30
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_fr30_vec
+#define TARGET_BIG_SYM          fr30_elf32_vec
 #define TARGET_BIG_NAME                "elf32-fr30"
 
 #define elf_info_to_howto_rel                  NULL
index 3cbc1b82c79858a47eb73eb265d176a49be69ae7..46f299b7ab2220c37e82bdba2feb31db505bae2a 100644 (file)
@@ -796,8 +796,8 @@ static reloc_howto_type elf32_frv_rel_tlsoff_howto =
 
 
 \f
-extern const bfd_target bfd_elf32_frvfdpic_vec;
-#define IS_FDPIC(bfd) ((bfd)->xvec == &bfd_elf32_frvfdpic_vec)
+extern const bfd_target frv_elf32_fdpic_vec;
+#define IS_FDPIC(bfd) ((bfd)->xvec == &frv_elf32_fdpic_vec)
 
 /* An extension of the elf hash table data structure, containing some
    additional FRV-specific data.  */
@@ -6777,7 +6777,7 @@ elf32_frv_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define ELF_MACHINE_CODE       EM_CYGNUS_FRV
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_frv_vec
+#define TARGET_BIG_SYM          frv_elf32_vec
 #define TARGET_BIG_NAME                "elf32-frv"
 
 #define elf_info_to_howto                      frv_info_to_howto_rela
@@ -6816,7 +6816,7 @@ elf32_frv_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define ELF_MAXPAGESIZE                0x4000
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM          bfd_elf32_frvfdpic_vec
+#define TARGET_BIG_SYM          frv_elf32_fdpic_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-frvfdpic"
 #undef elf32_bed
index dd0c1b7008cb0182478dfa4890bd210c46165a53..412fefd16eb577a01cedbca1e5461e2b057eaa2d 100644 (file)
@@ -86,9 +86,9 @@ elf32_generic_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
   return bfd_elf_link_add_symbols (abfd, info);
 }
 
-#define TARGET_LITTLE_SYM              bfd_elf32_little_generic_vec
+#define TARGET_LITTLE_SYM              elf32_le_vec
 #define TARGET_LITTLE_NAME             "elf32-little"
-#define TARGET_BIG_SYM                 bfd_elf32_big_generic_vec
+#define TARGET_BIG_SYM                 elf32_be_vec
 #define TARGET_BIG_NAME                        "elf32-big"
 #define ELF_ARCH                       bfd_arch_unknown
 #define ELF_MACHINE_CODE               EM_NONE
index 21dc4acbb68b92c020a82b4687aa272038b1928f..e9eae944be934abd312001becbb1ac5873777e14 100644 (file)
@@ -1705,7 +1705,7 @@ elf32_h8_get_relocated_section_contents (bfd *output_bfd,
 }
 
 
-#define TARGET_BIG_SYM                 bfd_elf32_h8300_vec
+#define TARGET_BIG_SYM                 h8300_elf32_vec
 #define TARGET_BIG_NAME                        "elf32-h8300"
 #define ELF_ARCH                       bfd_arch_h8300
 #define ELF_MACHINE_CODE               EM_H8_300
index 95d79552f78610f6f7623635deddd3224a98baaa..1cc419c7798fb53b0a7aa8a2edb2729b5852fa6a 100644 (file)
@@ -4656,7 +4656,7 @@ elf32_hppa_elf_get_symbol_type (Elf_Internal_Sym *elf_sym, int type)
 #define elf_backend_got_header_size         8
 #define elf_backend_rela_normal                     1
 
-#define TARGET_BIG_SYM         bfd_elf32_hppa_vec
+#define TARGET_BIG_SYM         hppa_elf32_vec
 #define TARGET_BIG_NAME                "elf32-hppa"
 #define ELF_ARCH               bfd_arch_hppa
 #define ELF_TARGET_ID          HPPA32_ELF_DATA
@@ -4668,7 +4668,7 @@ elf32_hppa_elf_get_symbol_type (Elf_Internal_Sym *elf_sym, int type)
 #include "elf32-target.h"
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM         bfd_elf32_hppa_linux_vec
+#define TARGET_BIG_SYM         hppa_elf32_linux_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-hppa-linux"
 #undef ELF_OSABI
@@ -4679,7 +4679,7 @@ elf32_hppa_elf_get_symbol_type (Elf_Internal_Sym *elf_sym, int type)
 #include "elf32-target.h"
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM         bfd_elf32_hppa_nbsd_vec
+#define TARGET_BIG_SYM         hppa_elf32_nbsd_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-hppa-netbsd"
 #undef ELF_OSABI
index 2f8de9282e073e3eb46aee611294eaf1743453b1..0508aeb3ddd579068af6ea8051d37dc101e71510 100644 (file)
@@ -1356,7 +1356,7 @@ i370_elf_relocate_section (bfd *output_bfd,
   return ret;
 }
 \f
-#define TARGET_BIG_SYM         bfd_elf32_i370_vec
+#define TARGET_BIG_SYM         i370_elf32_vec
 #define TARGET_BIG_NAME                "elf32-i370"
 #define ELF_ARCH               bfd_arch_i370
 #define ELF_MACHINE_CODE       EM_S370
index af2011ec96b52921661d4a40335419bd5b164e99..4470c52f8f987fbee356202065ff4aeaeaffde8d 100644 (file)
@@ -5018,7 +5018,7 @@ elf_i386_add_symbol_hook (bfd * abfd,
   return TRUE;
 }
 
-#define TARGET_LITTLE_SYM              bfd_elf32_i386_vec
+#define TARGET_LITTLE_SYM              i386_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-i386"
 #define ELF_ARCH                       bfd_arch_i386
 #define ELF_TARGET_ID                  I386_ELF_DATA
@@ -5072,7 +5072,7 @@ elf_i386_add_symbol_hook (bfd * abfd,
 /* FreeBSD support.  */
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_i386_freebsd_vec
+#define        TARGET_LITTLE_SYM               i386_elf32_fbsd_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-i386-freebsd"
 #undef ELF_OSABI
@@ -5105,7 +5105,7 @@ elf_i386_fbsd_post_process_headers (bfd *abfd, struct bfd_link_info *info)
 /* Solaris 2.  */
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_i386_sol2_vec
+#define        TARGET_LITTLE_SYM               i386_elf32_sol2_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-i386-sol2"
 
@@ -5133,7 +5133,7 @@ elf_i386_fbsd_post_process_headers (bfd *abfd, struct bfd_link_info *info)
 /* Native Client support.  */
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_i386_nacl_vec
+#define        TARGET_LITTLE_SYM               i386_elf32_nacl_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-i386-nacl"
 #undef elf32_bed
@@ -5322,7 +5322,7 @@ elf32_i386_nacl_elf_object_p (bfd *abfd)
 /* VxWorks support.  */
 
 #undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM              bfd_elf32_i386_vxworks_vec
+#define TARGET_LITTLE_SYM              i386_elf32_vxworks_vec
 #undef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME             "elf32-i386-vxworks"
 #undef ELF_OSABI
index 0ce2bd8e740769776b623b4af5d81900e4b53701..de900c18a8d181af7d25aad7f75b32a1c4bb3aba 100644 (file)
@@ -1249,9 +1249,9 @@ elf32_i860_is_local_label_name (bfd *abfd, const char *name)
   return _bfd_elf_is_local_label_name (abfd, name);
 }
 \f
-#define TARGET_BIG_SYM         bfd_elf32_i860_vec
+#define TARGET_BIG_SYM         i860_elf32_vec
 #define TARGET_BIG_NAME                "elf32-i860"
-#define TARGET_LITTLE_SYM      bfd_elf32_i860_little_vec
+#define TARGET_LITTLE_SYM      i860_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-i860-little"
 #define ELF_ARCH               bfd_arch_i860
 #define ELF_MACHINE_CODE       EM_860
index 69d97440fdac73f7f25c8c17b177c90d69c8b51d..c6fbbb8c493eaf09330b524f9de3b52d4a87dba2 100644 (file)
@@ -158,7 +158,7 @@ elf32_i960_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
   return NULL;
 }
 
-#define TARGET_LITTLE_SYM      bfd_elf32_i960_vec
+#define TARGET_LITTLE_SYM      i960_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-i960"
 #define ELF_ARCH               bfd_arch_i960
 #define ELF_MACHINE_CODE       EM_960
index e2d7659523c519103a1ca55fca7964a55efcdcf6..79e1eccf38a1a069ea4c9a4ad089b6c01685269b 100644 (file)
@@ -1495,7 +1495,7 @@ ip2k_elf_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
   return TRUE;
 }
 
-#define TARGET_BIG_SYM  bfd_elf32_ip2k_vec
+#define TARGET_BIG_SYM  ip2k_elf32_vec
 #define TARGET_BIG_NAME  "elf32-ip2k"
 
 #define ELF_ARCH        bfd_arch_ip2k
index 9b6a8c53896f3571d66c6b4d16f5a3d438bd6d9d..a6bf8d2e658e6a3dc379d3f0958b4e6c2cb1c65f 100644 (file)
@@ -893,7 +893,7 @@ iq2000_elf_object_p (bfd *abfd)
 #define ELF_MACHINE_CODE       EM_IQ2000
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM         bfd_elf32_iq2000_vec
+#define TARGET_BIG_SYM         iq2000_elf32_vec
 #define TARGET_BIG_NAME                "elf32-iq2000"
 
 #define elf_info_to_howto_rel                  NULL
index f94c7b9e2fd08958ed3aaec78a54e8eb8139949e..98db714f32cd6b0542e7001b2d506691215ca571 100644 (file)
@@ -43,9 +43,9 @@
 
 #define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
 
-extern const bfd_target bfd_elf32_lm32fdpic_vec;
+extern const bfd_target lm32_elf32_fdpic_vec;
 
-#define IS_FDPIC(bfd) ((bfd)->xvec == &bfd_elf32_lm32fdpic_vec)
+#define IS_FDPIC(bfd) ((bfd)->xvec == &lm32_elf32_fdpic_vec)
 
 static bfd_reloc_status_type lm32_elf_gprel_reloc
   (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
@@ -2674,7 +2674,7 @@ lm32_elf_fdpic_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
 #define ELF_MACHINE_CODE        EM_LATTICEMICO32
 #define ELF_MAXPAGESIZE         0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_lm32_vec
+#define TARGET_BIG_SYM          lm32_elf32_vec
 #define TARGET_BIG_NAME         "elf32-lm32"
 
 #define bfd_elf32_bfd_reloc_type_lookup         lm32_reloc_type_lookup
@@ -2712,7 +2712,7 @@ lm32_elf_fdpic_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
 
 
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM          bfd_elf32_lm32fdpic_vec
+#define TARGET_BIG_SYM          lm32_elf32_fdpic_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-lm32fdpic"
 #undef elf32_bed
index b0428eb92ec213b3b893f56f78f0daee267cb394..82152dc56f66e4142e665b4f422954f91050ded3 100644 (file)
@@ -2043,10 +2043,10 @@ _bfd_m32c_elf_eh_frame_address_size (bfd *abfd, asection *sec ATTRIBUTE_UNUSED)
 #define ELF_MAXPAGESIZE                0x100
 
 #if 0
-#define TARGET_BIG_SYM         bfd_elf32_m32c_vec
+#define TARGET_BIG_SYM         m32c_elf32_vec
 #define TARGET_BIG_NAME                "elf32-m32c"
 #else
-#define TARGET_LITTLE_SYM              bfd_elf32_m32c_vec
+#define TARGET_LITTLE_SYM              m32c_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-m32c"
 #endif
 
index 5f4d05cdbea1bd6cedb7265f07d96f14f664e1d5..0adeb9731cd0b90d54e6f771d0c06b6610f0fc6d 100644 (file)
@@ -4004,9 +4004,9 @@ m32r_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED,
 #define ELF_MACHINE_ALT1       EM_CYGNUS_M32R
 #define ELF_MAXPAGESIZE                0x1 /* Explicitly requested by Mitsubishi.  */
 
-#define TARGET_BIG_SYM          bfd_elf32_m32r_vec
+#define TARGET_BIG_SYM          m32r_elf32_vec
 #define TARGET_BIG_NAME                "elf32-m32r"
-#define TARGET_LITTLE_SYM       bfd_elf32_m32rle_vec
+#define TARGET_LITTLE_SYM       m32r_elf32_le_vec
 #define TARGET_LITTLE_NAME      "elf32-m32rle"
 
 #define elf_info_to_howto                      m32r_info_to_howto
@@ -4062,11 +4062,11 @@ m32r_elf_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED,
 #define ELF_MAXPAGESIZE         0x1000
 
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM          bfd_elf32_m32rlin_vec
+#define TARGET_BIG_SYM          m32r_elf32_linux_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME         "elf32-m32r-linux"
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM       bfd_elf32_m32rlelin_vec
+#define TARGET_LITTLE_SYM       m32r_elf32_linux_le_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME      "elf32-m32rle-linux"
 #undef  elf32_bed
index e05c646fc5cdcd220dc7169f9c5c091198568804..4b2c16e07e5f00ae9a01752a4aaaaf593271644e 100644 (file)
@@ -1288,7 +1288,7 @@ static const struct bfd_elf_special_section elf32_m68hc11_special_sections[] =
 #define ELF_MACHINE_CODE       EM_68HC11
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_m68hc11_vec
+#define TARGET_BIG_SYM          m68hc11_elf32_vec
 #define TARGET_BIG_NAME                "elf32-m68hc11"
 
 #define elf_info_to_howto      0
index d98fbfd155ac40a3d0e8c679e983a6698ef64fd9..f643c37fe955d53bdd15dcdd9fb619ae7a523074 100644 (file)
@@ -638,7 +638,7 @@ static const struct bfd_elf_special_section elf32_m68hc12_special_sections[] =
 #define ELF_MACHINE_CODE       EM_68HC12
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM          bfd_elf32_m68hc12_vec
+#define TARGET_BIG_SYM          m68hc12_elf32_vec
 #define TARGET_BIG_NAME                "elf32-m68hc12"
 
 #define elf_info_to_howto      0
index a28e74e433243f41454de75763bdf7c2bd847423..44e302a7449a72696cbbfe7314fc965a0c1e7b5e 100644 (file)
@@ -4849,7 +4849,7 @@ elf_m68k_add_symbol_hook (bfd *abfd,
   return TRUE;
 }
 
-#define TARGET_BIG_SYM                 bfd_elf32_m68k_vec
+#define TARGET_BIG_SYM                 m68k_elf32_vec
 #define TARGET_BIG_NAME                        "elf32-m68k"
 #define ELF_MACHINE_CODE               EM_68K
 #define ELF_MAXPAGESIZE                        0x2000
index 709cbea2dcacc038c6e2c6a345547b7c2a31a9a5..487cc0cca14d35b86ec6574050f376a1ebebf4ae 100644 (file)
@@ -26,7 +26,7 @@
 /* This does not include any relocations, but should be good enough
    for GDB.  */
 
-#define TARGET_BIG_SYM         bfd_elf32_m88k_vec
+#define TARGET_BIG_SYM         m88k_elf32_vec
 #define TARGET_BIG_NAME                "elf32-m88k"
 #define ELF_ARCH               bfd_arch_m88k
 #define ELF_MACHINE_CODE       EM_88K
index 3981bb8273fc049ffed89a7e5c329c7fb61703af..903d37966aa65aaef69f095274b67fb88f37e866 100644 (file)
@@ -648,9 +648,9 @@ static const struct bfd_elf_special_section mcore_elf_special_sections[]=
   { NULL,                     0,  0, 0,            0 }
 };
 
-#define TARGET_BIG_SYM         bfd_elf32_mcore_big_vec
+#define TARGET_BIG_SYM         mcore_elf32_be_vec
 #define TARGET_BIG_NAME                "elf32-mcore-big"
-#define TARGET_LITTLE_SYM       bfd_elf32_mcore_little_vec
+#define TARGET_LITTLE_SYM       mcore_elf32_le_vec
 #define TARGET_LITTLE_NAME      "elf32-mcore-little"
 
 #define ELF_ARCH               bfd_arch_mcore
index 8d76b231ae40a556b7215a10e59172aba66638f0..548359f4e79d040d29bb044643ac80d67b1be0b5 100644 (file)
@@ -745,10 +745,10 @@ mep_elf_fake_sections (bfd *               abfd ATTRIBUTE_UNUSED,
 #define ELF_MACHINE_CODE       EM_CYGNUS_MEP
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM         bfd_elf32_mep_vec
+#define TARGET_BIG_SYM         mep_elf32_vec
 #define TARGET_BIG_NAME                "elf32-mep"
 
-#define TARGET_LITTLE_SYM      bfd_elf32_mep_little_vec
+#define TARGET_LITTLE_SYM      mep_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-mep-little"
 
 #define elf_info_to_howto_rel                  NULL
index e9c529013b708e197c364df757d0378ffba96877..d1d4b414ba0a8011cd9c84a6a034432db43267b5 100644 (file)
@@ -4284,7 +4284,7 @@ elf_metag_plt_sym_val (bfd_vma i, const asection *plt,
 #define ELF_MAXPAGESIZE        0x4000
 #define ELF_COMMONPAGESIZE     0x1000
 
-#define TARGET_LITTLE_SYM      bfd_elf32_metag_vec
+#define TARGET_LITTLE_SYM      metag_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-metag"
 
 #define elf_symbol_leading_char '_'
index 537403c6234a1faadb26663169a8f5dcf5b113dd..9837b18aabf917f87f46065fdc809f30b145466c 100644 (file)
@@ -3466,10 +3466,10 @@ microblaze_elf_add_symbol_hook (bfd *abfd,
   return TRUE;
 }
 
-#define TARGET_LITTLE_SYM      bfd_elf32_microblazeel_vec
+#define TARGET_LITTLE_SYM      microblaze_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-microblazeel"
 
-#define TARGET_BIG_SYM          bfd_elf32_microblaze_vec
+#define TARGET_BIG_SYM          microblaze_elf32_vec
 #define TARGET_BIG_NAME                "elf32-microblaze"
 
 #define ELF_ARCH               bfd_arch_microblaze
index e0342e05ad373f3568ff625e11808c6cf8dad7c9..1de302f0ecd63273522c8668b07e88385c75fddb 100644 (file)
@@ -82,8 +82,8 @@ static bfd_boolean elf32_mips_grok_psinfo
 static irix_compat_t elf32_mips_irix_compat
   (bfd *);
 
-extern const bfd_target bfd_elf32_bigmips_vec;
-extern const bfd_target bfd_elf32_littlemips_vec;
+extern const bfd_target mips_elf32_be_vec;
+extern const bfd_target mips_elf32_le_vec;
 
 /* Nonzero if ABFD is using the N32 ABI.  */
 #define ABI_N32_P(abfd) \
@@ -2259,8 +2259,8 @@ elf32_mips_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 static irix_compat_t
 elf32_mips_irix_compat (bfd *abfd)
 {
-  if ((abfd->xvec == &bfd_elf32_bigmips_vec)
-      || (abfd->xvec == &bfd_elf32_littlemips_vec))
+  if ((abfd->xvec == &mips_elf32_be_vec)
+      || (abfd->xvec == &mips_elf32_le_vec))
     return ict_irix5;
   else
     return ict_none;
@@ -2395,9 +2395,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #define bfd_elf32_mkobject             _bfd_mips_elf_mkobject
 
 /* Support for SGI-ish mips targets.  */
-#define TARGET_LITTLE_SYM              bfd_elf32_littlemips_vec
+#define TARGET_LITTLE_SYM              mips_elf32_le_vec
 #define TARGET_LITTLE_NAME             "elf32-littlemips"
-#define TARGET_BIG_SYM                 bfd_elf32_bigmips_vec
+#define TARGET_BIG_SYM                 mips_elf32_be_vec
 #define TARGET_BIG_NAME                        "elf32-bigmips"
 
 /* The SVR4 MIPS ABI says that this should be 0x10000, but Irix 5 uses
@@ -2416,9 +2416,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #undef ELF_MAXPAGESIZE
 #undef ELF_COMMONPAGESIZE
 
-#define TARGET_LITTLE_SYM               bfd_elf32_tradlittlemips_vec
+#define TARGET_LITTLE_SYM               mips_elf32_trad_le_vec
 #define TARGET_LITTLE_NAME              "elf32-tradlittlemips"
-#define TARGET_BIG_SYM                  bfd_elf32_tradbigmips_vec
+#define TARGET_BIG_SYM                  mips_elf32_trad_be_vec
 #define TARGET_BIG_NAME                 "elf32-tradbigmips"
 
 /* The MIPS ABI says at Page 5-1:
@@ -2440,9 +2440,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #undef TARGET_BIG_SYM
 #undef TARGET_BIG_NAME
 
-#define        TARGET_LITTLE_SYM               bfd_elf32_tradlittlemips_freebsd_vec
+#define        TARGET_LITTLE_SYM               mips_elf32_tradfbsd_le_vec
 #define        TARGET_LITTLE_NAME              "elf32-tradlittlemips-freebsd"
-#define        TARGET_BIG_SYM                  bfd_elf32_tradbigmips_freebsd_vec
+#define        TARGET_BIG_SYM                  mips_elf32_tradfbsd_be_vec
 #define        TARGET_BIG_NAME                 "elf32-tradbigmips-freebsd"
 
 #undef ELF_OSABI
@@ -2469,9 +2469,9 @@ mips_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
 #undef ELF_MAXPAGESIZE
 #undef ELF_COMMONPAGESIZE
 
-#define TARGET_LITTLE_SYM               bfd_elf32_littlemips_vxworks_vec
+#define TARGET_LITTLE_SYM               mips_elf32_vxworks_le_vec
 #define TARGET_LITTLE_NAME              "elf32-littlemips-vxworks"
-#define TARGET_BIG_SYM                  bfd_elf32_bigmips_vxworks_vec
+#define TARGET_BIG_SYM                  mips_elf32_vxworks_be_vec
 #define TARGET_BIG_NAME                 "elf32-bigmips-vxworks"
 #undef ELF_OSABI
 
index 5a4fd85fad768436bc116d1f0936699a514ad810..1f685b9c2d6ef65ea0dfa59986c79be72a68316d 100644 (file)
@@ -369,9 +369,9 @@ moxie_elf_check_relocs (bfd *abfd,
 #define ELF_MACHINE_CODE       EM_MOXIE
 #define ELF_MAXPAGESIZE                0x1
 
-#define TARGET_BIG_SYM          bfd_elf32_bigmoxie_vec
+#define TARGET_BIG_SYM          moxie_elf32_be_vec
 #define TARGET_BIG_NAME                "elf32-bigmoxie"
-#define TARGET_LITTLE_SYM       bfd_elf32_littlemoxie_vec
+#define TARGET_LITTLE_SYM       moxie_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-littlemoxie"
 
 #define elf_info_to_howto_rel                  NULL
index 89c062be63789769af1e8263c4ef5f7e5e7943df..c2d168c50d9dd03d3e4c10b54d6f55cad56fbe6d 100644 (file)
@@ -549,10 +549,10 @@ static const struct msp430_reloc_map msp430x_reloc_map[] =
 static inline bfd_boolean
 uses_msp430x_relocs (bfd * abfd)
 {
-  extern const bfd_target bfd_elf32_msp430_ti_vec;
+  extern const bfd_target msp430_elf32_ti_vec;
 
   return bfd_get_mach (abfd) == bfd_mach_msp430x
-    || abfd->xvec == & bfd_elf32_msp430_ti_vec;
+    || abfd->xvec == & msp430_elf32_ti_vec;
 }
 
 static reloc_howto_type *
@@ -2436,7 +2436,7 @@ msp430_elf_is_target_special_symbol (bfd *abfd, asymbol *sym)
 #define ELF_MAXPAGESIZE                4
 #define        ELF_OSABI               ELFOSABI_STANDALONE
 
-#define TARGET_LITTLE_SYM       bfd_elf32_msp430_vec
+#define TARGET_LITTLE_SYM       msp430_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-msp430"
 
 #define elf_info_to_howto                   msp430_info_to_howto_rela
@@ -2456,7 +2456,7 @@ msp430_elf_is_target_special_symbol (bfd *abfd, asymbol *sym)
 
 /* The TI compiler sets the OSABI field to ELFOSABI_NONE.  */
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM       bfd_elf32_msp430_ti_vec
+#define TARGET_LITTLE_SYM       msp430_elf32_ti_vec
 
 #undef  elf32_bed
 #define elf32_bed              elf32_msp430_ti_bed
index a0e163c9fc0aa24e00dfc898144642fc245679a1..6df1521e7d122c4b311e13bbc0abb13614b2a79f 100644 (file)
@@ -573,7 +573,7 @@ mt_elf_print_private_bfd_data (bfd * abfd, void * ptr)
 }
 
 \f
-#define TARGET_BIG_SYM  bfd_elf32_mt_vec
+#define TARGET_BIG_SYM  mt_elf32_vec
 #define TARGET_BIG_NAME  "elf32-mt"
 
 #define ELF_ARCH        bfd_arch_mt
index a2e78ed047958196c683e07528bcc533534e67f3..873a00f36094cf9371ba1a4a68f81bb68c88f7fa 100644 (file)
@@ -14207,9 +14207,9 @@ nds32_elf_ex9_itb_base (struct bfd_link_info *link_info)
 #define ELF_MACHINE_CODE                       EM_NDS32
 #define ELF_MAXPAGESIZE                                0x1000
 
-#define TARGET_BIG_SYM                         bfd_elf32_nds32be_vec
+#define TARGET_BIG_SYM                         nds32_elf32_be_vec
 #define TARGET_BIG_NAME                                "elf32-nds32be"
-#define TARGET_LITTLE_SYM                      bfd_elf32_nds32le_vec
+#define TARGET_LITTLE_SYM                      nds32_elf32_le_vec
 #define TARGET_LITTLE_NAME                     "elf32-nds32le"
 
 #define elf_info_to_howto                      nds32_info_to_howto
@@ -14258,11 +14258,11 @@ nds32_elf_ex9_itb_base (struct bfd_link_info *link_info)
 #define ELF_MAXPAGESIZE                                0x2000
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM                         bfd_elf32_nds32belin_vec
+#define TARGET_BIG_SYM                         nds32_elf32_linux_be_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                                "elf32-nds32be-linux"
 #undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                      bfd_elf32_nds32lelin_vec
+#define TARGET_LITTLE_SYM                      nds32_elf32_linux_le_vec
 #undef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                     "elf32-nds32le-linux"
 #undef elf32_bed
index 678f2e3e55774c145b819268191d0ac7bee31e3d..f33b38a71d71e244b657174db72834758dc8ba3e 100644 (file)
@@ -68,8 +68,8 @@ static bfd_reloc_status_type nios2_elf32_callr_relocate
   (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
 
 /* Target vector.  */
-extern const bfd_target bfd_elf32_littlenios2_vec;
-extern const bfd_target bfd_elf32_bignios2_vec;
+extern const bfd_target nios2_elf32_le_vec;
+extern const bfd_target nios2_elf32_be_vec;
 
 /* Offset of tp and dtp pointers from start of TLS block.  */
 #define TP_OFFSET      0x7000
@@ -5167,8 +5167,8 @@ nios2_elf32_reloc_type_class (const struct bfd_link_info *info ATTRIBUTE_UNUSED,
 static bfd_boolean
 is_nios2_elf_target (const struct bfd_target *targ)
 {
-  return (targ == &bfd_elf32_littlenios2_vec
-         || targ == &bfd_elf32_bignios2_vec);
+  return (targ == &nios2_elf32_le_vec
+         || targ == &nios2_elf32_be_vec);
 }
 
 /* Implement elf_backend_add_symbol_hook.
@@ -5299,9 +5299,9 @@ const struct bfd_elf_special_section elf32_nios2_special_sections[] =
 
 #define elf_backend_special_sections     elf32_nios2_special_sections
 
-#define TARGET_LITTLE_SYM              bfd_elf32_littlenios2_vec
+#define TARGET_LITTLE_SYM              nios2_elf32_le_vec
 #define TARGET_LITTLE_NAME             "elf32-littlenios2"
-#define TARGET_BIG_SYM                 bfd_elf32_bignios2_vec
+#define TARGET_BIG_SYM                 nios2_elf32_be_vec
 #define TARGET_BIG_NAME                        "elf32-bignios2"
 
 #define elf_backend_got_header_size    12
index 9aa5f543626db2109bbb5b8c53926ac93c82d810..956ec387ec14f7361e95812f72e7463e0a21b592 100644 (file)
@@ -2826,7 +2826,7 @@ elf32_or1k_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
 #define ELF_TARGET_ID                   OR1K_ELF_DATA
 #define ELF_MAXPAGESIZE                 0x2000
 
-#define TARGET_BIG_SYM                  bfd_elf32_or1k_vec
+#define TARGET_BIG_SYM                  or1k_elf32_vec
 #define TARGET_BIG_NAME                 "elf32-or1k"
 
 #define elf_info_to_howto_rel           NULL
index 51a0117ddc9539dacc80b4f517f45a9a805c5782..84b61f9bb6ee39b9cbe8dbaf0e3d3950ccaf1ff7 100644 (file)
@@ -335,9 +335,9 @@ pj_elf_final_write_processing (bfd *abfd,
   elf_elfheader (abfd)->e_flags |= EF_PICOJAVA_GNUCALLS;
 }
 
-#define TARGET_BIG_SYM         bfd_elf32_pj_vec
+#define TARGET_BIG_SYM         pj_elf32_vec
 #define TARGET_BIG_NAME                "elf32-pj"
-#define TARGET_LITTLE_SYM      bfd_elf32_pjl_vec
+#define TARGET_LITTLE_SYM      pj_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-pjl"
 #define ELF_ARCH               bfd_arch_pj
 #define ELF_MACHINE_CODE       EM_PJ
index ae68b5de206ec318656573eb3ccc810ecb1f5f1e..b99db6826df1d5b5f6a3dcd8c3f62e70945f7ea7 100644 (file)
@@ -10282,9 +10282,9 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd,
   return ret;
 }
 \f
-#define TARGET_LITTLE_SYM      bfd_elf32_powerpcle_vec
+#define TARGET_LITTLE_SYM      powerpc_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-powerpcle"
-#define TARGET_BIG_SYM         bfd_elf32_powerpc_vec
+#define TARGET_BIG_SYM         powerpc_elf32_vec
 #define TARGET_BIG_NAME                "elf32-powerpc"
 #define ELF_ARCH               bfd_arch_powerpc
 #define ELF_TARGET_ID          PPC32_ELF_DATA
@@ -10360,7 +10360,7 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd,
 #undef  TARGET_LITTLE_NAME
 
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM  bfd_elf32_powerpc_freebsd_vec
+#define TARGET_BIG_SYM  powerpc_elf32_fbsd_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME "elf32-powerpc-freebsd"
 
@@ -10378,7 +10378,7 @@ ppc_elf_finish_dynamic_sections (bfd *output_bfd,
 #undef TARGET_LITTLE_NAME
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM         bfd_elf32_powerpc_vxworks_vec
+#define TARGET_BIG_SYM         powerpc_elf32_vxworks_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-powerpc-vxworks"
 
index 533f493f0b7db1fdf7232d9149a4bde4709cdd1b..7b66971e961af2093b68389bf34f30995009b17e 100644 (file)
@@ -2417,7 +2417,7 @@ rl78_elf_relax_section
 #define ELF_MACHINE_CODE       EM_RL78
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_LITTLE_SYM      bfd_elf32_rl78_vec
+#define TARGET_LITTLE_SYM      rl78_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-rl78"
 
 #define elf_info_to_howto_rel                  NULL
index d7c427ee52cb4920870c912b184cc8a5044e214e..2045cb76bad96aa8304ac97dedcdf409621f921f 100644 (file)
@@ -30,8 +30,8 @@
 /* This is a meta-target that's used only with objcopy, to avoid the
    endian-swap we would otherwise get.  We check for this in
    rx_elf_object_p().  */
-const bfd_target bfd_elf32_rx_be_ns_vec;
-const bfd_target bfd_elf32_rx_be_vec;
+const bfd_target rx_elf32_be_ns_vec;
+const bfd_target rx_elf32_be_vec;
 
 #ifdef DEBUG
 char * rx_get_reloc (long);
@@ -3071,17 +3071,17 @@ rx_elf_object_p (bfd * abfd)
   /* We never want to automatically choose the non-swapping big-endian
      target.  The user can only get that explicitly, such as with -I
      and objcopy.  */
-  if (abfd->xvec == &bfd_elf32_rx_be_ns_vec
+  if (abfd->xvec == &rx_elf32_be_ns_vec
       && abfd->target_defaulted)
     return FALSE;
 
   /* BFD->target_defaulted is not set to TRUE when a target is chosen
      as a fallback, so we check for "scanning" to know when to stop
      using the non-swapping target.  */
-  if (abfd->xvec == &bfd_elf32_rx_be_ns_vec
+  if (abfd->xvec == &rx_elf32_be_ns_vec
       && saw_be)
     return FALSE;
-  if (abfd->xvec == &bfd_elf32_rx_be_vec)
+  if (abfd->xvec == &rx_elf32_be_vec)
     saw_be = TRUE;
 
   bfd_default_set_arch_mach (abfd, bfd_arch_rx,
@@ -3548,10 +3548,10 @@ static const struct bfd_elf_special_section elf32_rx_special_sections[] =
 #define ELF_MACHINE_CODE       EM_RX
 #define ELF_MAXPAGESIZE                0x1000
 
-#define TARGET_BIG_SYM         bfd_elf32_rx_be_vec
+#define TARGET_BIG_SYM         rx_elf32_be_vec
 #define TARGET_BIG_NAME                "elf32-rx-be"
 
-#define TARGET_LITTLE_SYM      bfd_elf32_rx_le_vec
+#define TARGET_LITTLE_SYM      rx_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-rx-le"
 
 #define elf_info_to_howto_rel                  NULL
@@ -3580,7 +3580,7 @@ static const struct bfd_elf_special_section elf32_rx_special_sections[] =
    pre-swapped .text sections (like objcopy).  */
 
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM         bfd_elf32_rx_be_ns_vec
+#define TARGET_BIG_SYM         rx_elf32_be_ns_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-rx-be-ns"
 #undef  TARGET_LITTLE_SYM
index 68b1d9e7d23c82b286845a15e6be83ff9707735f..09b1fcafbebb4a80e1715d4d312d95e34e442652 100644 (file)
@@ -3982,7 +3982,7 @@ elf32_s390_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
 }
 
 
-#define TARGET_BIG_SYM bfd_elf32_s390_vec
+#define TARGET_BIG_SYM s390_elf32_vec
 #define TARGET_BIG_NAME        "elf32-s390"
 #define ELF_ARCH       bfd_arch_s390
 #define ELF_TARGET_ID  S390_ELF_DATA
index 23dad0c0088faa1db87d376b5b081c1efa0642d9..677f0005d6dc01adc7722916c338646501f03ac4 100644 (file)
@@ -4446,9 +4446,9 @@ _bfd_score_elf_common_definition (Elf_Internal_Sym *sym)
 
 
 #define USE_REL                         1
-#define TARGET_LITTLE_SYM               bfd_elf32_littlescore_vec
+#define TARGET_LITTLE_SYM               score_elf32_le_vec
 #define TARGET_LITTLE_NAME              "elf32-littlescore"
-#define TARGET_BIG_SYM                  bfd_elf32_bigscore_vec
+#define TARGET_BIG_SYM                  score_elf32_be_vec
 #define TARGET_BIG_NAME                 "elf32-bigscore"
 #define ELF_ARCH                        bfd_arch_score
 #define ELF_MACHINE_CODE                EM_SCORE
index b8f7d930fa7a17b5dc43665e6056e9081ac3097b..5239de31f687559ea50cdaefb25ba9883d793d76 100644 (file)
@@ -601,7 +601,7 @@ sh_symbian_relocate_section (bfd *                  output_bfd,
                                  contents, relocs, local_syms, local_sections);
 }
 
-#define TARGET_LITTLE_SYM      bfd_elf32_shl_symbian_vec
+#define TARGET_LITTLE_SYM      sh_elf32_symbian_le_vec
 #define TARGET_LITTLE_NAME      "elf32-shl-symbian"
 
 #undef  elf_backend_relocate_section
index 8adc9a43f8fdda2570ffedbdda1ad97c4de7f807..259ddf08a1801349deca87d63e1a8c623281a6d4 100644 (file)
@@ -88,11 +88,11 @@ static bfd_boolean
 vxworks_object_p (bfd *abfd ATTRIBUTE_UNUSED)
 {
 #if !defined INCLUDE_SHMEDIA && !defined SH_TARGET_ALREADY_DEFINED
-  extern const bfd_target bfd_elf32_shlvxworks_vec;
-  extern const bfd_target bfd_elf32_shvxworks_vec;
+  extern const bfd_target sh_elf32_vxworks_le_vec;
+  extern const bfd_target sh_elf32_vxworks_vec;
 
-  return (abfd->xvec == &bfd_elf32_shlvxworks_vec
-         || abfd->xvec == &bfd_elf32_shvxworks_vec);
+  return (abfd->xvec == &sh_elf32_vxworks_le_vec
+         || abfd->xvec == &sh_elf32_vxworks_vec);
 #else
   return FALSE;
 #endif
@@ -104,11 +104,11 @@ static bfd_boolean
 fdpic_object_p (bfd *abfd ATTRIBUTE_UNUSED)
 {
 #if !defined INCLUDE_SHMEDIA && !defined SH_TARGET_ALREADY_DEFINED
-  extern const bfd_target bfd_elf32_shfd_vec;
-  extern const bfd_target bfd_elf32_shbfd_vec;
+  extern const bfd_target sh_elf32_fdpic_le_vec;
+  extern const bfd_target sh_elf32_fdpic_be_vec;
 
-  return (abfd->xvec == &bfd_elf32_shfd_vec
-         || abfd->xvec == &bfd_elf32_shbfd_vec);
+  return (abfd->xvec == &sh_elf32_fdpic_le_vec
+         || abfd->xvec == &sh_elf32_fdpic_be_vec);
 #else
   return FALSE;
 #endif
@@ -7403,9 +7403,9 @@ sh_elf_encode_eh_address (bfd *abfd,
 }
 
 #if !defined SH_TARGET_ALREADY_DEFINED
-#define TARGET_BIG_SYM         bfd_elf32_sh_vec
+#define TARGET_BIG_SYM         sh_elf32_vec
 #define TARGET_BIG_NAME                "elf32-sh"
-#define TARGET_LITTLE_SYM      bfd_elf32_shl_vec
+#define TARGET_LITTLE_SYM      sh_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-shl"
 #endif
 
@@ -7478,11 +7478,11 @@ sh_elf_encode_eh_address (bfd *abfd,
 
 /* NetBSD support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf32_shnbsd_vec
+#define        TARGET_BIG_SYM                  sh_elf32_nbsd_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-sh-nbsd"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_shlnbsd_vec
+#define        TARGET_LITTLE_SYM               sh_elf32_nbsd_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-shl-nbsd"
 #undef ELF_MAXPAGESIZE
@@ -7498,11 +7498,11 @@ sh_elf_encode_eh_address (bfd *abfd,
 
 /* Linux support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf32_shblin_vec
+#define        TARGET_BIG_SYM                  sh_elf32_linux_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-shbig-linux"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_shlin_vec
+#define        TARGET_LITTLE_SYM               sh_elf32_linux_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-sh-linux"
 #undef ELF_COMMONPAGESIZE
@@ -7520,11 +7520,11 @@ sh_elf_encode_eh_address (bfd *abfd,
 
 /* FDPIC support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf32_shbfd_vec
+#define        TARGET_BIG_SYM                  sh_elf32_fdpic_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-shbig-fdpic"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_shfd_vec
+#define        TARGET_LITTLE_SYM               sh_elf32_fdpic_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-sh-fdpic"
 
@@ -7537,11 +7537,11 @@ sh_elf_encode_eh_address (bfd *abfd,
 
 /* VxWorks support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf32_shvxworks_vec
+#define        TARGET_BIG_SYM                  sh_elf32_vxworks_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-sh-vxworks"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_shlvxworks_vec
+#define        TARGET_LITTLE_SYM               sh_elf32_vxworks_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-shl-vxworks"
 #undef elf32_bed
index 227cd5fb45af53dcbc235378a9234d5b5a69c533..9042081bb23b1f6a70f315a300353fa216b5ca6b 100644 (file)
@@ -766,11 +766,11 @@ static const struct bfd_elf_special_section sh64_elf_special_sections[] =
 };
 
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM          bfd_elf32_sh64_vec
+#define        TARGET_BIG_SYM          sh64_elf32_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME         "elf32-sh64"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM       bfd_elf32_sh64l_vec
+#define        TARGET_LITTLE_SYM       sh64_elf32_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME      "elf32-sh64l"
 
@@ -778,11 +778,11 @@ static const struct bfd_elf_special_section sh64_elf_special_sections[] =
 
 /* NetBSD support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM          bfd_elf32_sh64nbsd_vec
+#define        TARGET_BIG_SYM          sh64_elf32_nbsd_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME         "elf32-sh64-nbsd"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM       bfd_elf32_sh64lnbsd_vec
+#define        TARGET_LITTLE_SYM       sh64_elf32_nbsd_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME      "elf32-sh64l-nbsd"
 #undef ELF_MAXPAGESIZE
@@ -797,11 +797,11 @@ static const struct bfd_elf_special_section sh64_elf_special_sections[] =
 
 /* Linux support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM          bfd_elf32_sh64blin_vec
+#define        TARGET_BIG_SYM          sh64_elf32_linux_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME         "elf32-sh64big-linux"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM       bfd_elf32_sh64lin_vec
+#define        TARGET_LITTLE_SYM       sh64_elf32_linux_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME      "elf32-sh64-linux"
 #undef elf32_bed
index 1e4127ab37832f098e5715b46fea8501c385c683..f714a5e4c8e03bccc0f47a9738525ecf765744dc 100644 (file)
@@ -187,7 +187,7 @@ elf32_sparc_add_symbol_hook (bfd * abfd,
   return TRUE;
 }
 
-#define TARGET_BIG_SYM bfd_elf32_sparc_vec
+#define TARGET_BIG_SYM sparc_elf32_vec
 #define TARGET_BIG_NAME        "elf32-sparc"
 #define ELF_ARCH       bfd_arch_sparc
 #define ELF_TARGET_ID  SPARC_ELF_DATA
@@ -250,7 +250,7 @@ elf32_sparc_add_symbol_hook (bfd * abfd,
 /* Solaris 2.  */
 
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                          bfd_elf32_sparc_sol2_vec
+#define        TARGET_BIG_SYM                          sparc_elf32_sol2_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                         "elf32-sparc-sol2"
 
@@ -294,7 +294,7 @@ elf32_sparc_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker)
 }
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM bfd_elf32_sparc_vxworks_vec
+#define TARGET_BIG_SYM sparc_elf32_vxworks_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME        "elf32-sparc-vxworks"
 
index 9a71db180f33f903fb4f4c3bee1dd0a371587e3f..d1112778e1130b8ffe98cf59af76e650f4f7e017 100644 (file)
@@ -1522,12 +1522,12 @@ process_stubs (struct bfd_link_info *info, bfd_boolean build)
 
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       Elf_Internal_Shdr *symtab_hdr;
       asection *isec;
       Elf_Internal_Sym *local_syms = NULL;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       /* We'll need the symbol table in a second.  */
@@ -2950,14 +2950,14 @@ discover_functions (struct bfd_link_info *info)
        ibfd != NULL;
        ibfd = ibfd->link_next, bfd_idx++)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       Elf_Internal_Shdr *symtab_hdr;
       asection *sec;
       size_t symcount;
       Elf_Internal_Sym *syms, *sy, **psyms, **psy;
       asection **psecs, **p;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       /* Read all the symbols.  */
@@ -3111,10 +3111,10 @@ discover_functions (struct bfd_link_info *info)
 
       for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
        {
-         extern const bfd_target bfd_elf32_spu_vec;
+         extern const bfd_target spu_elf32_vec;
          asection *sec;
 
-         if (ibfd->xvec != &bfd_elf32_spu_vec)
+         if (ibfd->xvec != &spu_elf32_vec)
            continue;
 
          /* Some of the symbols we've installed as marking the
@@ -3183,10 +3183,10 @@ for_each_node (bfd_boolean (*doit) (struct function_info *,
 
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       asection *sec;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       for (sec = ibfd->sections; sec != NULL; sec = sec->next)
@@ -3332,10 +3332,10 @@ build_call_tree (struct bfd_link_info *info)
 
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       asection *sec;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       for (sec = ibfd->sections; sec != NULL; sec = sec->next)
@@ -3709,10 +3709,10 @@ auto_ovl_lib_functions (struct bfd_link_info *info, unsigned int lib_size)
   lib_count = 0;
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       asection *sec;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       for (sec = ibfd->sections; sec != NULL; sec = sec->next)
@@ -4264,11 +4264,11 @@ spu_elf_auto_overlay (struct bfd_link_info *info)
   total_overlay_size = 0;
   for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
     {
-      extern const bfd_target bfd_elf32_spu_vec;
+      extern const bfd_target spu_elf32_vec;
       asection *sec;
       unsigned int old_count;
 
-      if (ibfd->xvec != &bfd_elf32_spu_vec)
+      if (ibfd->xvec != &spu_elf32_vec)
        continue;
 
       old_count = count;
@@ -5446,7 +5446,7 @@ spu_elf_size_sections (bfd * output_bfd, struct bfd_link_info *info)
   return TRUE;
 }
 
-#define TARGET_BIG_SYM         bfd_elf32_spu_vec
+#define TARGET_BIG_SYM         spu_elf32_vec
 #define TARGET_BIG_NAME                "elf32-spu"
 #define ELF_ARCH               bfd_arch_spu
 #define ELF_TARGET_ID          SPU_ELF_DATA
index 529c591bcdcc2ea5512f458305e168ca9b1b5347..e3e897c58635fc6b2209a70ab9550058b164e828 100644 (file)
@@ -4345,9 +4345,9 @@ elf32_tic6x_write_section (bfd *output_bfd,
   return TRUE;
 }
 
-#define TARGET_LITTLE_SYM      bfd_elf32_tic6x_le_vec
+#define TARGET_LITTLE_SYM      tic6x_elf32_le_vec
 #define TARGET_LITTLE_NAME     "elf32-tic6x-le"
-#define TARGET_BIG_SYM         bfd_elf32_tic6x_be_vec
+#define TARGET_BIG_SYM         tic6x_elf32_be_vec
 #define TARGET_BIG_NAME                "elf32-tic6x-be"
 #define ELF_ARCH               bfd_arch_tic6x
 #define ELF_TARGET_ID          TIC6X_ELF_DATA
@@ -4416,11 +4416,11 @@ elf32_tic6x_write_section (bfd *output_bfd,
 #define        elf32_bed               elf32_tic6x_linux_bed
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_tic6x_linux_le_vec
+#define        TARGET_LITTLE_SYM               tic6x_elf32_linux_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-tic6x-linux-le"
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM                 bfd_elf32_tic6x_linux_be_vec
+#define TARGET_BIG_SYM                 tic6x_elf32_linux_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-tic6x-linux-be"
 #undef ELF_OSABI
@@ -4432,11 +4432,11 @@ elf32_tic6x_write_section (bfd *output_bfd,
 #define        elf32_bed               elf32_tic6x_elf_bed
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf32_tic6x_elf_le_vec
+#define        TARGET_LITTLE_SYM               tic6x_elf32_c6000_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf32-tic6x-elf-le"
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM                 bfd_elf32_tic6x_elf_be_vec
+#define TARGET_BIG_SYM                 tic6x_elf32_c6000_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf32-tic6x-elf-be"
 #undef ELF_OSABI
index ca6161a7a1d2db05dd7e448e36708e5d40132b74..bc5752c29ca0a55a394206107fd64a48e06a7957 100644 (file)
@@ -87,9 +87,9 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define ELF_MAXPAGESIZE                0x10000
 #define ELF_COMMONPAGESIZE     0x10000
 
-#define TARGET_BIG_SYM          bfd_elf32_tilegx_be_vec
+#define TARGET_BIG_SYM          tilegx_elf32_be_vec
 #define TARGET_BIG_NAME         "elf32-tilegx-be"
-#define TARGET_LITTLE_SYM       bfd_elf32_tilegx_le_vec
+#define TARGET_LITTLE_SYM       tilegx_elf32_le_vec
 #define TARGET_LITTLE_NAME      "elf32-tilegx-le"
 
 #define elf_backend_reloc_type_class        tilegx_reloc_type_class
index 7c72d54ded6b49b15cec64a8b5bf7a1589c231bc..4e6561db23a1c80188a4e46bbaa18fd7a16a5f1f 100644 (file)
@@ -4021,7 +4021,7 @@ tilepro_additional_program_headers (bfd *abfd,
 #define ELF_MAXPAGESIZE                0x10000
 #define ELF_COMMONPAGESIZE     0x10000
 
-#define TARGET_LITTLE_SYM      bfd_elf32_tilepro_vec
+#define TARGET_LITTLE_SYM      tilepro_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-tilepro"
 
 #define elf_backend_reloc_type_class        tilepro_reloc_type_class
index 23567adabd0fa0163f3933d58330727e34ddc25b..2589a25254903e15e0edf8247284ad543ae29789 100644 (file)
@@ -3770,7 +3770,7 @@ static const struct bfd_elf_special_section v850_elf_special_sections[] =
   { NULL,                     0,           0, 0,                0 }
 };
 \f
-#define TARGET_LITTLE_SYM                      bfd_elf32_v850_vec
+#define TARGET_LITTLE_SYM                      v850_elf32_vec
 #define TARGET_LITTLE_NAME                     "elf32-v850"
 #define ELF_ARCH                               bfd_arch_v850
 #define ELF_MACHINE_CODE                       EM_V850
@@ -3905,7 +3905,7 @@ v800_elf_info_to_howto (bfd *               abfd,
 \f
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                      bfd_elf32_v850_rh850_vec
+#define TARGET_LITTLE_SYM                      v800_elf32_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                     "elf32-v850-rh850"
 #undef  ELF_ARCH
index cb8e83b5d896a04aca84bf1a6b6cc1872b34f14e..c28cacadda2038d90c636d788997fa0e4086283f 100644 (file)
@@ -2018,7 +2018,7 @@ elf_vax_plt_sym_val (bfd_vma i, const asection *plt,
   return plt->vma + (i + 1) * PLT_ENTRY_SIZE;
 }
 
-#define TARGET_LITTLE_SYM              bfd_elf32_vax_vec
+#define TARGET_LITTLE_SYM              vax_elf32_vec
 #define TARGET_LITTLE_NAME             "elf32-vax"
 #define ELF_MACHINE_CODE               EM_VAX
 #define ELF_MAXPAGESIZE                        0x1000
index e0f789f2e6c69b54c6a836ca3b2ffb1d0bcb6ce3..9e7decab29aa2fd0fd91cf00a2d66fe7f41847f5 100644 (file)
@@ -462,7 +462,7 @@ elf32_xc16x_object_p (bfd *abfd)
 #define ELF_MACHINE_CODE       EM_XC16X
 #define ELF_MAXPAGESIZE                0x100
 
-#define TARGET_LITTLE_SYM       bfd_elf32_xc16x_vec
+#define TARGET_LITTLE_SYM       xc16x_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-xc16x"
 #define elf_backend_final_write_processing     elf32_xc16x_final_write_processing
 #define elf_backend_object_p                   elf32_xc16x_object_p
index d89c25a5e8e1cd94209bc2d8187646411fbdc7be..87d06c874d2a05c24a68b4047fd4c4f327819be5 100644 (file)
@@ -702,7 +702,7 @@ elf32_xgate_post_process_headers (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_in
 
 #define ELF_MAXPAGESIZE                      0x1000
 
-#define TARGET_BIG_SYM                       bfd_elf32_xgate_vec
+#define TARGET_BIG_SYM                       xgate_elf32_vec
 #define TARGET_BIG_NAME                      "elf32-xgate"
 
 #define elf_info_to_howto                    0
index 6133645eafa9288508bc1278b991f5d3e433a212..74adf6487f5a0b93c69da81f9f2c97d420dc42ac 100644 (file)
@@ -1014,7 +1014,7 @@ xstormy16_elf_gc_mark_hook (asection *sec,
 #define ELF_MACHINE_CODE       EM_XSTORMY16
 #define ELF_MAXPAGESIZE                0x100
 
-#define TARGET_LITTLE_SYM       bfd_elf32_xstormy16_vec
+#define TARGET_LITTLE_SYM       xstormy16_elf32_vec
 #define TARGET_LITTLE_NAME     "elf32-xstormy16"
 
 #define elf_info_to_howto_rel                  NULL
index edb04b4af43da3e77fcf16d8557f4630b0e379c8..902b99829a9e51afc67c1cd90cb62623e28599fa 100644 (file)
@@ -10758,9 +10758,9 @@ static const struct bfd_elf_special_section elf_xtensa_special_sections[] =
 \f
 #define ELF_TARGET_ID                  XTENSA_ELF_DATA
 #ifndef ELF_ARCH
-#define TARGET_LITTLE_SYM              bfd_elf32_xtensa_le_vec
+#define TARGET_LITTLE_SYM              xtensa_elf32_le_vec
 #define TARGET_LITTLE_NAME             "elf32-xtensa-le"
-#define TARGET_BIG_SYM                 bfd_elf32_xtensa_be_vec
+#define TARGET_BIG_SYM                 xtensa_elf32_be_vec
 #define TARGET_BIG_NAME                        "elf32-xtensa-be"
 #define ELF_ARCH                       bfd_arch_xtensa
 
index 073e5782abd24cc9d4951f90b4d78a1660742f14..403e43697b5bcc5069e4056e629f4ef5e9f781de 100644 (file)
@@ -5468,7 +5468,7 @@ static const struct elf_size_info alpha_elf_size_info =
   bfd_elf64_swap_reloca_out
 };
 
-#define TARGET_LITTLE_SYM      bfd_elf64_alpha_vec
+#define TARGET_LITTLE_SYM      alpha_elf64_vec
 #define TARGET_LITTLE_NAME     "elf64-alpha"
 #define ELF_ARCH               bfd_arch_alpha
 #define ELF_TARGET_ID          ALPHA_ELF_DATA
@@ -5560,7 +5560,7 @@ static const struct elf_size_info alpha_elf_size_info =
 /* FreeBSD support.  */
 
 #undef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM      bfd_elf64_alpha_freebsd_vec
+#define TARGET_LITTLE_SYM      alpha_elf64_fbsd_vec
 #undef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME     "elf64-alpha-freebsd"
 #undef ELF_OSABI
index 83cbdc997059baf527f3342c27457e1030a46173..d8afcfa35887fb8d2a283afcf4394151742f0037 100644 (file)
@@ -86,9 +86,9 @@ elf64_generic_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
   return bfd_elf_link_add_symbols (abfd, info);
 }
 
-#define TARGET_LITTLE_SYM              bfd_elf64_little_generic_vec
+#define TARGET_LITTLE_SYM              elf64_le_vec
 #define TARGET_LITTLE_NAME             "elf64-little"
-#define TARGET_BIG_SYM                 bfd_elf64_big_generic_vec
+#define TARGET_BIG_SYM                 elf64_be_vec
 #define TARGET_BIG_NAME                        "elf64-big"
 #define ELF_ARCH                       bfd_arch_unknown
 #define ELF_MACHINE_CODE               EM_NONE
index 92bf121b4953c44f8812ecab4ec88e164bef4680..49473e73d0b39aa6b71239a70cb263e0bb481820 100644 (file)
@@ -4014,7 +4014,7 @@ const struct elf_size_info hppa64_elf_size_info =
   bfd_elf64_swap_reloca_out
 };
 
-#define TARGET_BIG_SYM                 bfd_elf64_hppa_vec
+#define TARGET_BIG_SYM                 hppa_elf64_vec
 #define TARGET_BIG_NAME                        "elf64-hppa"
 #define ELF_ARCH                       bfd_arch_hppa
 #define ELF_TARGET_ID                  HPPA64_ELF_DATA
@@ -4096,7 +4096,7 @@ const struct elf_size_info hppa64_elf_size_info =
 #include "elf64-target.h"
 
 #undef TARGET_BIG_SYM
-#define TARGET_BIG_SYM                 bfd_elf64_hppa_linux_vec
+#define TARGET_BIG_SYM                 hppa_elf64_linux_vec
 #undef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                        "elf64-hppa-linux"
 #undef ELF_OSABI
index 11ab8175f59228f285249b05c1eb58bd9bafdbe8..069340aedf616f087720ecd2bfcfd468f048368f 100644 (file)
@@ -5512,7 +5512,7 @@ static const struct elf_size_info elf64_ia64_vms_size_info = {
 /* VMS-specific vectors.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM              bfd_elf64_ia64_vms_vec
+#define TARGET_LITTLE_SYM              ia64_elf64_vms_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME             "elf64-ia64-vms"
 #undef  TARGET_BIG_SYM
index d1b52b1e1ebf7b564dec9a14f4fc9a81ae3e7846..9d50a795bd1c27ef50b1c3911d865a3c095fbd4a 100644 (file)
@@ -128,8 +128,8 @@ static bfd_boolean elf64_mips_grok_prstatus
 static bfd_boolean elf64_mips_grok_psinfo
   (bfd *, Elf_Internal_Note *);
 
-extern const bfd_target bfd_elf64_bigmips_vec;
-extern const bfd_target bfd_elf64_littlemips_vec;
+extern const bfd_target mips_elf64_be_vec;
+extern const bfd_target mips_elf64_le_vec;
 
 /* In case we're on a 32-bit machine, construct a 64-bit "-1" value
    from smaller values.  Start with zero, widen, *then* decrement.  */
@@ -4031,8 +4031,8 @@ mips_elf64_object_p (bfd *abfd)
 static irix_compat_t
 elf64_mips_irix_compat (bfd *abfd)
 {
-  if ((abfd->xvec == &bfd_elf64_bigmips_vec)
-      || (abfd->xvec == &bfd_elf64_littlemips_vec))
+  if ((abfd->xvec == &mips_elf64_be_vec)
+      || (abfd->xvec == &mips_elf64_le_vec))
     return ict_irix6;
   else
     return ict_none;
@@ -4300,9 +4300,9 @@ extern bfd_boolean bfd_elf64_archive_write_armap
                        _bfd_archive_coff_update_armap_timestamp
 
 /* The SGI style (n)64 NewABI.  */
-#define TARGET_LITTLE_SYM              bfd_elf64_littlemips_vec
+#define TARGET_LITTLE_SYM              mips_elf64_le_vec
 #define TARGET_LITTLE_NAME             "elf64-littlemips"
-#define TARGET_BIG_SYM                 bfd_elf64_bigmips_vec
+#define TARGET_BIG_SYM                 mips_elf64_be_vec
 #define TARGET_BIG_NAME                        "elf64-bigmips"
 
 #define ELF_MAXPAGESIZE                        0x10000
@@ -4319,9 +4319,9 @@ extern bfd_boolean bfd_elf64_archive_write_armap
 #undef ELF_MAXPAGESIZE
 #undef ELF_COMMONPAGESIZE
 
-#define TARGET_LITTLE_SYM              bfd_elf64_tradlittlemips_vec
+#define TARGET_LITTLE_SYM              mips_elf64_trad_le_vec
 #define TARGET_LITTLE_NAME             "elf64-tradlittlemips"
-#define TARGET_BIG_SYM                 bfd_elf64_tradbigmips_vec
+#define TARGET_BIG_SYM                 mips_elf64_trad_be_vec
 #define TARGET_BIG_NAME                        "elf64-tradbigmips"
 
 #define ELF_MAXPAGESIZE                        0x10000
@@ -4339,9 +4339,9 @@ extern bfd_boolean bfd_elf64_archive_write_armap
 #undef TARGET_BIG_SYM
 #undef TARGET_BIG_NAME
 
-#define        TARGET_LITTLE_SYM               bfd_elf64_tradlittlemips_freebsd_vec
+#define        TARGET_LITTLE_SYM               mips_elf64_tradfbsd_le_vec
 #define        TARGET_LITTLE_NAME              "elf64-tradlittlemips-freebsd"
-#define        TARGET_BIG_SYM                  bfd_elf64_tradbigmips_freebsd_vec
+#define        TARGET_BIG_SYM                  mips_elf64_tradfbsd_be_vec
 #define        TARGET_BIG_NAME                 "elf64-tradbigmips-freebsd"
 
 #undef ELF_OSABI
index 8459f4f416866ba814c7b266a4657d6157fc5913..ad6757f518b289fded4f48a1120dbc4d011954b7 100644 (file)
@@ -2902,7 +2902,7 @@ mmix_elf_relax_section (bfd *abfd,
    alignment.  */
 #define ELF_MAXPAGESIZE 0x100
 
-#define TARGET_BIG_SYM         bfd_elf64_mmix_vec
+#define TARGET_BIG_SYM         mmix_elf64_vec
 #define TARGET_BIG_NAME                "elf64-mmix"
 
 #define elf_info_to_howto_rel          NULL
index 8d965f04d68a8cda9e387132e23d45b062b13751..fdca0c6f5004ed2be2c2b228e4f908c6b626b6b3 100644 (file)
@@ -56,9 +56,9 @@ static bfd_reloc_status_type ppc64_elf_unhandled_reloc
 static bfd_vma opd_entry_value
   (asection *, bfd_vma, asection **, bfd_vma *, bfd_boolean);
 
-#define TARGET_LITTLE_SYM      bfd_elf64_powerpcle_vec
+#define TARGET_LITTLE_SYM      powerpc_elf64_le_vec
 #define TARGET_LITTLE_NAME     "elf64-powerpcle"
-#define TARGET_BIG_SYM         bfd_elf64_powerpc_vec
+#define TARGET_BIG_SYM         powerpc_elf64_vec
 #define TARGET_BIG_NAME                "elf64-powerpc"
 #define ELF_ARCH               bfd_arch_powerpc
 #define ELF_TARGET_ID          PPC64_ELF_DATA
@@ -15090,7 +15090,7 @@ ppc64_elf_finish_dynamic_sections (bfd *output_bfd,
 #undef  TARGET_LITTLE_NAME
 
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM bfd_elf64_powerpc_freebsd_vec
+#define TARGET_BIG_SYM powerpc_elf64_fbsd_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME "elf64-powerpc-freebsd"
 
index 19cbe2f1e6721882fa53d15404a808a74eec5989..831c4a2dc05a0b2419eb800988a2ad180794c769 100644 (file)
@@ -3795,7 +3795,7 @@ const struct elf_size_info s390_elf64_size_info =
   bfd_elf64_swap_reloca_out
 };
 
-#define TARGET_BIG_SYM bfd_elf64_s390_vec
+#define TARGET_BIG_SYM s390_elf64_vec
 #define TARGET_BIG_NAME        "elf64-s390"
 #define ELF_ARCH       bfd_arch_s390
 #define ELF_TARGET_ID  S390_ELF_DATA
index 5f68b924f78cbec9543f3c867e36e92f7a2b9c94..311d7c3e84481e891f3e66444486671789a54372 100644 (file)
@@ -3957,9 +3957,9 @@ static const struct bfd_elf_special_section sh64_elf64_special_sections[]=
   { NULL,                       0, 0, 0,            0 }
 };
 
-#define TARGET_BIG_SYM         bfd_elf64_sh64_vec
+#define TARGET_BIG_SYM         sh64_elf64_vec
 #define TARGET_BIG_NAME                "elf64-sh64"
-#define TARGET_LITTLE_SYM      bfd_elf64_sh64l_vec
+#define TARGET_LITTLE_SYM      sh64_elf64_le_vec
 #define TARGET_LITTLE_NAME     "elf64-sh64l"
 #define ELF_ARCH               bfd_arch_sh
 #define ELF_MACHINE_CODE       EM_SH
@@ -4029,11 +4029,11 @@ static const struct bfd_elf_special_section sh64_elf64_special_sections[]=
 
 /* NetBSD support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf64_sh64nbsd_vec
+#define        TARGET_BIG_SYM                  sh64_elf64_nbsd_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf64-sh64-nbsd"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf64_sh64lnbsd_vec
+#define        TARGET_LITTLE_SYM               sh64_elf64_nbsd_le_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf64-sh64l-nbsd"
 #undef ELF_MAXPAGESIZE
@@ -4047,11 +4047,11 @@ static const struct bfd_elf_special_section sh64_elf64_special_sections[]=
 
 /* Linux support.  */
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                  bfd_elf64_sh64blin_vec
+#define        TARGET_BIG_SYM                  sh64_elf64_linux_be_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                 "elf64-sh64big-linux"
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf64_sh64lin_vec
+#define        TARGET_LITTLE_SYM               sh64_elf64_linux_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf64-sh64-linux"
 #undef elf64_bed
index ce4d14db9c70997eda5ed2b54b8aaf27852d76aa..6f995c5cfba7f03d00038952edeccf14f9890d3c 100644 (file)
@@ -821,7 +821,7 @@ const struct elf_size_info elf64_sparc_size_info =
   bfd_elf64_swap_reloca_out
 };
 
-#define TARGET_BIG_SYM bfd_elf64_sparc_vec
+#define TARGET_BIG_SYM sparc_elf64_vec
 #define TARGET_BIG_NAME        "elf64-sparc"
 #define ELF_ARCH       bfd_arch_sparc
 #define ELF_MAXPAGESIZE 0x100000
@@ -924,7 +924,7 @@ const struct elf_size_info elf64_sparc_size_info =
 
 /* FreeBSD support */
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM bfd_elf64_sparc_freebsd_vec
+#define TARGET_BIG_SYM sparc_elf64_fbsd_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME "elf64-sparc-freebsd"
 #undef ELF_OSABI
@@ -938,7 +938,7 @@ const struct elf_size_info elf64_sparc_size_info =
 /* Solaris 2.  */
 
 #undef TARGET_BIG_SYM
-#define        TARGET_BIG_SYM                          bfd_elf64_sparc_sol2_vec
+#define        TARGET_BIG_SYM                          sparc_elf64_sol2_vec
 #undef TARGET_BIG_NAME
 #define        TARGET_BIG_NAME                         "elf64-sparc-sol2"
 
index e3c54c2b880e1fa1daef7c8cddb5344e84bc4e96..f388e72c2a30c1f881d1577408aae353518d9eeb 100644 (file)
@@ -88,9 +88,9 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define ELF_COMMONPAGESIZE     0x10000
 
 
-#define TARGET_BIG_SYM          bfd_elf64_tilegx_be_vec
+#define TARGET_BIG_SYM          tilegx_elf64_be_vec
 #define TARGET_BIG_NAME         "elf64-tilegx-be"
-#define TARGET_LITTLE_SYM       bfd_elf64_tilegx_le_vec
+#define TARGET_LITTLE_SYM       tilegx_elf64_le_vec
 #define TARGET_LITTLE_NAME      "elf64-tilegx-le"
 
 #define elf_backend_reloc_type_class        tilegx_reloc_type_class
index 55c872162362dd015ea6dd365f4ec47dfc55ff08..f735e317ca4b39042daf1702349423d815269cfa 100644 (file)
@@ -5618,7 +5618,7 @@ static const struct bfd_elf_special_section
   { NULL,                      0,          0, 0,            0 }
 };
 
-#define TARGET_LITTLE_SYM                  bfd_elf64_x86_64_vec
+#define TARGET_LITTLE_SYM                  x86_64_elf64_vec
 #define TARGET_LITTLE_NAME                 "elf64-x86-64"
 #define ELF_ARCH                           bfd_arch_i386
 #define ELF_TARGET_ID                      X86_64_ELF_DATA
@@ -5699,7 +5699,7 @@ static const struct bfd_elf_special_section
 /* FreeBSD support.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_x86_64_freebsd_vec
+#define TARGET_LITTLE_SYM                  x86_64_elf64_fbsd_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-x86-64-freebsd"
 
@@ -5714,7 +5714,7 @@ static const struct bfd_elf_special_section
 /* Solaris 2 support.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_x86_64_sol2_vec
+#define TARGET_LITTLE_SYM                  x86_64_elf64_sol2_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-x86-64-sol2"
 
@@ -5752,7 +5752,7 @@ elf64_x86_64_nacl_elf_object_p (bfd *abfd)
 }
 
 #undef TARGET_LITTLE_SYM
-#define        TARGET_LITTLE_SYM               bfd_elf64_x86_64_nacl_vec
+#define        TARGET_LITTLE_SYM               x86_64_elf64_nacl_vec
 #undef TARGET_LITTLE_NAME
 #define        TARGET_LITTLE_NAME              "elf64-x86-64-nacl"
 #undef elf64_bed
@@ -5905,7 +5905,7 @@ elf32_x86_64_nacl_elf_object_p (bfd *abfd)
 }
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM              bfd_elf32_x86_64_nacl_vec
+#define TARGET_LITTLE_SYM              x86_64_elf32_nacl_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME             "elf32-x86-64-nacl"
 #undef elf32_bed
@@ -5956,7 +5956,7 @@ elf64_l1om_elf_object_p (bfd *abfd)
 }
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_l1om_vec
+#define TARGET_LITTLE_SYM                  l1om_elf64_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-l1om"
 #undef ELF_ARCH
@@ -5990,7 +5990,7 @@ elf64_l1om_elf_object_p (bfd *abfd)
 /* FreeBSD L1OM support.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_l1om_freebsd_vec
+#define TARGET_LITTLE_SYM                  l1om_elf64_fbsd_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-l1om-freebsd"
 
@@ -6013,7 +6013,7 @@ elf64_k1om_elf_object_p (bfd *abfd)
 }
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_k1om_vec
+#define TARGET_LITTLE_SYM                  k1om_elf64_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-k1om"
 #undef ELF_ARCH
@@ -6040,7 +6040,7 @@ elf64_k1om_elf_object_p (bfd *abfd)
 /* FreeBSD K1OM support.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf64_k1om_freebsd_vec
+#define TARGET_LITTLE_SYM                  k1om_elf64_fbsd_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf64-k1om-freebsd"
 
@@ -6055,7 +6055,7 @@ elf64_k1om_elf_object_p (bfd *abfd)
 /* 32bit x86-64 support.  */
 
 #undef  TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM                  bfd_elf32_x86_64_vec
+#define TARGET_LITTLE_SYM                  x86_64_elf32_vec
 #undef  TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME                 "elf32-x86-64"
 #undef elf32_bed
index 0cbbb81e99e3abae5eaa0802dcec1fc22741eff9..c37ff9d059ea0a49537855a2ed7be7030f4f4d93 100644 (file)
@@ -83,8 +83,8 @@ static bfd_boolean elf32_mips_grok_psinfo
 static irix_compat_t elf_n32_mips_irix_compat
   (bfd *);
 
-extern const bfd_target bfd_elf32_nbigmips_vec;
-extern const bfd_target bfd_elf32_nlittlemips_vec;
+extern const bfd_target mips_elf32_n_be_vec;
+extern const bfd_target mips_elf32_n_le_vec;
 
 /* Nonzero if ABFD is using the N32 ABI.  */
 #define ABI_N32_P(abfd) \
@@ -3354,8 +3354,8 @@ elf32_mips_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 static irix_compat_t
 elf_n32_mips_irix_compat (bfd *abfd)
 {
-  if ((abfd->xvec == &bfd_elf32_nbigmips_vec)
-      || (abfd->xvec == &bfd_elf32_nlittlemips_vec))
+  if ((abfd->xvec == &mips_elf32_n_be_vec)
+      || (abfd->xvec == &mips_elf32_n_le_vec))
     return ict_irix6;
   else
     return ict_none;
@@ -3493,9 +3493,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 
 /* Support for SGI-ish mips targets using n32 ABI.  */
 
-#define TARGET_LITTLE_SYM               bfd_elf32_nlittlemips_vec
+#define TARGET_LITTLE_SYM               mips_elf32_n_le_vec
 #define TARGET_LITTLE_NAME              "elf32-nlittlemips"
-#define TARGET_BIG_SYM                  bfd_elf32_nbigmips_vec
+#define TARGET_BIG_SYM                  mips_elf32_n_be_vec
 #define TARGET_BIG_NAME                 "elf32-nbigmips"
 
 #define ELF_MAXPAGESIZE                        0x10000
@@ -3512,9 +3512,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #undef ELF_MAXPAGESIZE
 #undef ELF_COMMONPAGESIZE
 
-#define TARGET_LITTLE_SYM               bfd_elf32_ntradlittlemips_vec
+#define TARGET_LITTLE_SYM               mips_elf32_ntrad_le_vec
 #define TARGET_LITTLE_NAME              "elf32-ntradlittlemips"
-#define TARGET_BIG_SYM                  bfd_elf32_ntradbigmips_vec
+#define TARGET_BIG_SYM                  mips_elf32_ntrad_be_vec
 #define TARGET_BIG_NAME                 "elf32-ntradbigmips"
 
 #define ELF_MAXPAGESIZE                        0x10000
@@ -3532,9 +3532,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
 #undef TARGET_BIG_SYM
 #undef TARGET_BIG_NAME
 
-#define        TARGET_LITTLE_SYM               bfd_elf32_ntradlittlemips_freebsd_vec
+#define        TARGET_LITTLE_SYM               mips_elf32_ntradfbsd_le_vec
 #define        TARGET_LITTLE_NAME              "elf32-ntradlittlemips-freebsd"
-#define        TARGET_BIG_SYM                  bfd_elf32_ntradbigmips_freebsd_vec
+#define        TARGET_BIG_SYM                  mips_elf32_ntradfbsd_be_vec
 #define        TARGET_BIG_NAME                 "elf32-ntradbigmips-freebsd"
 
 #undef ELF_OSABI
index d5b0dd1071b4e271a29798cb2e47f1390880f689..498b7bd121367e0f7acf5357268c0cfd6dd53093 100644 (file)
@@ -1548,9 +1548,9 @@ elfNN_aarch64_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
   return NULL;
 }
 
-#define TARGET_LITTLE_SYM               bfd_elfNN_littleaarch64_vec
+#define TARGET_LITTLE_SYM               aarch64_elfNN_le_vec
 #define TARGET_LITTLE_NAME              "elfNN-littleaarch64"
-#define TARGET_BIG_SYM                  bfd_elfNN_bigaarch64_vec
+#define TARGET_BIG_SYM                  aarch64_elfNN_be_vec
 #define TARGET_BIG_NAME                 "elfNN-bigaarch64"
 
 /* The linker script knows the section names for placement.
index e359e14b5a8b5a0e8ecdc4748d15d0a781f7a1db..d941cdda1d456669aba40d9a7d371256a6233f87 100644 (file)
@@ -4936,8 +4936,8 @@ elfNN_ia64_object_p (bfd *abfd)
 static bfd_boolean
 elfNN_ia64_hpux_vec (const bfd_target *vec)
 {
-  extern const bfd_target bfd_elfNN_ia64_hpux_big_vec;
-  return (vec == & bfd_elfNN_ia64_hpux_big_vec);
+  extern const bfd_target ia64_elfNN_hpux_be_vec;
+  return (vec == &ia64_elfNN_hpux_be_vec);
 }
 
 static void
@@ -4978,9 +4978,9 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED,
     }
 }
 \f
-#define TARGET_LITTLE_SYM              bfd_elfNN_ia64_little_vec
+#define TARGET_LITTLE_SYM              ia64_elfNN_le_vec
 #define TARGET_LITTLE_NAME             "elfNN-ia64-little"
-#define TARGET_BIG_SYM                 bfd_elfNN_ia64_big_vec
+#define TARGET_BIG_SYM                 ia64_elfNN_be_vec
 #define TARGET_BIG_NAME                        "elfNN-ia64-big"
 #define ELF_ARCH                       bfd_arch_ia64
 #define ELF_TARGET_ID                  IA64_ELF_DATA
@@ -5083,7 +5083,7 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED,
 #undef  TARGET_LITTLE_SYM
 #undef  TARGET_LITTLE_NAME
 #undef  TARGET_BIG_SYM
-#define TARGET_BIG_SYM                  bfd_elfNN_ia64_hpux_big_vec
+#define TARGET_BIG_SYM                  ia64_elfNN_hpux_be_vec
 #undef  TARGET_BIG_NAME
 #define TARGET_BIG_NAME                 "elfNN-ia64-hpux-big"
 
index 96513dec2718577bc963809e70d2cace5f7783d9..71a7bf7d6ffa3df980e9b31883bc7043c126e085 100644 (file)
@@ -21,9 +21,9 @@
 #define TARGET_UNDERSCORE    0
 #define USER_LABEL_PREFIX    ""
 
-#define TARGET_LITTLE_SYM    arm_epoc_pe_little_vec
+#define TARGET_LITTLE_SYM    arm_pe_epoc_le_vec
 #define TARGET_LITTLE_NAME   "epoc-pe-arm-little"
-#define TARGET_BIG_SYM       arm_epoc_pe_big_vec
+#define TARGET_BIG_SYM       arm_pe_epoc_be_vec
 #define TARGET_BIG_NAME      "epoc-pe-arm-big"
 
 #define bfd_arm_allocate_interworking_sections \
index 89de9870b9633fe8ea7e2c51efbb970dfae8961b..716775ce0c6a8877a9ad7616f191d6aadf477ab0 100644 (file)
@@ -21,9 +21,9 @@
 #define TARGET_UNDERSCORE    0
 #define USER_LABEL_PREFIX    ""
 
-#define TARGET_LITTLE_SYM    arm_epoc_pei_little_vec
+#define TARGET_LITTLE_SYM    arm_pei_epoc_le_vec
 #define TARGET_LITTLE_NAME   "epoc-pei-arm-little"
-#define TARGET_BIG_SYM       arm_epoc_pei_big_vec
+#define TARGET_BIG_SYM       arm_pei_epoc_be_vec
 #define TARGET_BIG_NAME      "epoc-pei-arm-big"
 
 #define EXTRA_S_FLAGS (SEC_CODE | SEC_READONLY | SEC_DATA)
index 314b984d2a62ad8c179798ee1bbbf042604f6e15..9cca44a494fa482d2565c49161383f152add1a73 100644 (file)
@@ -29,7 +29,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (hp300bsd_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_hp300bsd_,OP)
 #define TARGETNAME "a.out-hp300bsd"
 
 #include "sysdep.h"
index 0d2db153a82d1e42d3a9f6988847f6655ced8e8e..fa21a77dd11f03bde1b7eea92a9bd212d55170c1 100644 (file)
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (hp300hpux_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_hp300hpux_,OP)
 
 #define external_exec hp300hpux_exec_bytes
 #define external_nlist hp300hpux_nlist_bytes
 /* these don't use MY because that causes problems within JUMP_TABLE
    (CONCAT2 winds up being expanded recursively, which ANSI C compilers
    will not do).  */
-#define MY_canonicalize_symtab hp300hpux_canonicalize_symtab
-#define MY_get_symtab_upper_bound hp300hpux_get_symtab_upper_bound
-#define MY_canonicalize_reloc hp300hpux_canonicalize_reloc
-#define MY_write_object_contents hp300hpux_write_object_contents
+#define MY_canonicalize_symtab m68k_aout_hp300hpux_canonicalize_symtab
+#define MY_get_symtab_upper_bound m68k_aout_hp300hpux_get_symtab_upper_bound
+#define MY_canonicalize_reloc m68k_aout_hp300hpux_canonicalize_reloc
+#define MY_write_object_contents m68k_aout_hp300hpux_write_object_contents
 
 #define MY_read_minisymbols _bfd_generic_read_minisymbols
 #define MY_minisymbol_to_symbol _bfd_generic_minisymbol_to_symbol
    were allocated using malloc.  */
 #define MY_bfd_free_cached_info bfd_true
 
-#define hp300hpux_write_syms aout_32_write_syms
+#define m68k_aout_hp300hpux_write_syms aout_32_write_syms
 
 #define MY_callback MY(callback)
 
index e07be13794ec025ae5ca2fcb5352adeefaa9c65c..3b1215b0e529c54e813384645c899e9f4ce2aad1 100644 (file)
@@ -217,7 +217,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target hppabsd_core_vec =
+const bfd_target core_hppabsd_vec =
   {
     "hppabsd-core",
     bfd_target_unknown_flavour,
index 51e17fb672dcce1a322ab31bff11f057bae0b88e..c667465172bf614caa73a2b447d8ae9f7dde589d 100644 (file)
@@ -376,7 +376,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target hpux_core_vec =
+const bfd_target core_hpux_vec =
   {
     "hpux-core",
     bfd_target_unknown_flavour,
index 4cde5833460e23b81d48557974d338754be6f8c2..4b5a83d2d04e7330fc1f522c640cf27de6610998 100644 (file)
@@ -36,7 +36,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386aout_,OP)
+#define MY(OP) CONCAT2 (i386_aout_,OP)
 #define TARGETNAME "a.out-i386"
 #define NO_WRITE_HEADER_KLUDGE 1
 
index d6f36a55935d0f5da557f9586655d9fc379fc5f6..d1ed35b0ce72b2174afe851d9be8f8acb6a88a3e 100644 (file)
@@ -39,7 +39,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386bsd_,OP)
+#define MY(OP) CONCAT2 (i386_aout_bsd_,OP)
 #define TARGETNAME "a.out-i386-bsd"
 
 #include "sysdep.h"
index 9ca2ffefa366ec44ef8736c11e4609141a58010f..d9a4182283658577aca238bb7583c6e02599b420 100644 (file)
@@ -34,7 +34,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386dynix_,OP)
+#define MY(OP) CONCAT2 (i386_aout_dynix_,OP)
 #define TARGETNAME "a.out-i386-dynix"
 #define NAME(x,y) CONCAT3 (i386dynix,_32_,y)
 #define ARCH_SIZE 32
index 0d6523e9c0dac0ef0fafddd0311bef4507d26e1f..7c5ed9009f097e50304ea4a3b64bf4f8a4912809 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386freebsd_,OP)
+#define MY(OP) CONCAT2 (i386_aout_fbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-i386-freebsd"
index f3e6ee95d196027657423c13bcd71bbbcf5a4266..461a7a5c506ac29906676c7ea92fd5150179c8e0 100644 (file)
@@ -38,7 +38,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386linux_,OP)
+#define MY(OP) CONCAT2 (i386_aout_linux_,OP)
 #define TARGETNAME "a.out-i386-linux"
 
 extern const bfd_target MY(vec);
index 73fd5db040d571ee5c4c763d01c9d40a63d9659c..9c1b9f2b933f7cea5ecadf2d57bab3c5d850e7db 100644 (file)
@@ -26,7 +26,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386lynx_aout_,OP)
+#define MY(OP) CONCAT2 (i386_aout_lynx_,OP)
 #define TARGETNAME "a.out-i386-lynx"
 
 #include "sysdep.h"
index 32c423c6a4ee7a6c92626d334570308f3846e983..233041a29e8160fa61e547e43e30468e7a360a05 100644 (file)
@@ -47,7 +47,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386mach3_,OP)
+#define MY(OP) CONCAT2 (i386_aout_mach3_,OP)
 #define TARGETNAME "a.out-mach3"
 
 static bfd_boolean MY (set_sizes) (bfd *);
index fdba24d5262c5f3cbe40378e794d2debbad20be4..7ec9298493c871148f31890784f1d11d195d917e 100644 (file)
@@ -176,7 +176,7 @@ msdos_set_section_contents (bfd *abfd,
 #define msdos_get_reloc_upper_bound _bfd_norelocs_get_reloc_upper_bound
 #define msdos_32_bfd_link_split_section  _bfd_generic_link_split_section
 
-const bfd_target i386msdos_vec =
+const bfd_target i386_msdos_vec =
   {
     "msdos",                   /* name */
     bfd_target_msdos_flavour,
index 69e39cd0eda042806c54fe735e64512468a76874..5e4d1300730cd0247f031328491d35b687d32ceb 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (i386netbsd_,OP)
+#define MY(OP) CONCAT2 (i386_aout_nbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-i386-netbsd"
index 7df7b00354df5da08f84a78ed4e83aea3c0f3a19..65ea0bc440028eb731511969cb64c4b8a23db7e6 100644 (file)
@@ -182,7 +182,7 @@ os9k_sizeof_headers (bfd *abfd ATTRIBUTE_UNUSED,
 #define os9k_bfd_final_link _bfd_generic_final_link
 #define os9k_bfd_link_split_section  _bfd_generic_link_split_section
 
-const bfd_target i386os9k_vec =
+const bfd_target i386_aout_os9k_vec =
   {
     "i386os9k",                        /* name */
     bfd_target_os9k_flavour,
index dd7214cad07222ea1253cb8e89d8983b05051345..9dcc46535ae7fdafae2b17d39999badb7ff0bb8a 100644 (file)
@@ -279,7 +279,7 @@ swap_abort(void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target irix_core_vec =
+const bfd_target core_irix_vec =
   {
     "irix-core",
     bfd_target_unknown_flavour,
index 199a19b5eae152a56be4755989bf50115fd22868..254f9efe8b9f55bf36051cf8096c37ecd6409016 100644 (file)
@@ -28,7 +28,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (m68k4knetbsd_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_4knbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-m68k4k-netbsd"
index 36d1405ca1fd475db79f3cadd8a633e223a3cefe..036870fec9eb61d41f1698acce469cb1938532c3 100644 (file)
@@ -39,7 +39,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (m68klinux_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_linux_,OP)
 #define TARGETNAME "a.out-m68k-linux"
 
 extern const bfd_target MY(vec);
index edecbd51542380dbc4b68e97cca6f16ef0952aad..53a2563345e7bf901d3a35b8996cf5382686dd7d 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (m68knetbsd_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_nbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-m68k-netbsd"
index 4e74dd94d42799ed9f1c55932991afbe5ec71919..b6c87fb6bff0ee0edbc9608e1bbf46634ea25203 100644 (file)
@@ -35,7 +35,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (m88kmach3_,OP)
+#define MY(OP) CONCAT2 (m88k_aout_mach3_,OP)
 #define TARGETNAME "a.out-m88k-mach3"
 
 #include "aout-target.h"
index 4fa8f9cbebea28f3bed29bda17d56f4e5a3f3ee7..d970d9461a3bfc48380a1a00ebc40d874d98c1d2 100644 (file)
@@ -28,7 +28,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (m88kopenbsd_,OP)
+#define MY(OP) CONCAT2 (m88k_aout_obsd_,OP)
 #define TARGETNAME "a.out-m88k-openbsd"
 
 #include "netbsd.h"
index 6b59ed24aa1bcfd0a21fd64b66c62af1addf92e6..a7d3a1101997f0c832890885646b41b2668300a0 100644 (file)
@@ -394,7 +394,7 @@ const mach_o_segment_name_xlat mach_o_i386_segsec_names_xlat[] =
 #define bfd_mach_o_bfd_reloc_type_lookup bfd_mach_o_i386_bfd_reloc_type_lookup
 #define bfd_mach_o_bfd_reloc_name_lookup bfd_mach_o_i386_bfd_reloc_name_lookup
 
-#define TARGET_NAME            mach_o_i386_vec
+#define TARGET_NAME            i386_mach_o_vec
 #define TARGET_STRING          "mach-o-i386"
 #define TARGET_ARCHITECTURE    bfd_arch_i386
 #define TARGET_PAGESIZE                4096
index 14a7067e9de6ff5b2904ac0348a21cbf4e4949dc..c0042cb1734ba7a6042e4cb38b819dc8a9faa27c 100644 (file)
@@ -353,7 +353,7 @@ const mach_o_segment_name_xlat mach_o_x86_64_segsec_names_xlat[] =
 #define bfd_mach_o_tgt_seg_table mach_o_x86_64_segsec_names_xlat
 #define bfd_mach_o_section_type_valid_for_tgt bfd_mach_o_section_type_valid_for_x86_64
 
-#define TARGET_NAME            mach_o_x86_64_vec
+#define TARGET_NAME            x86_64_mach_o_vec
 #define TARGET_STRING          "mach-o-x86-64"
 #define TARGET_ARCHITECTURE    bfd_arch_i386
 #define TARGET_PAGESIZE                4096
index 980ac63742fa9df9773f71981f22e0a1a0641f50..9ef4019ff4087b2707e3ef968beaae41186519f2 100644 (file)
@@ -27,13 +27,13 @@ HOSTFILE=alphavms.h
 OBJS:=cpu-ia64.obj,elfxx-ia64.obj,elf64-ia64-vms.obj,\
   vms-misc.obj,vms-lib.obj,elf-strtab.obj,corefile.obj,stabs.obj,\
   merge.obj,elf-eh-frame.obj,elflink.obj,elf-attrs.obj,dwarf1.obj,elf64.obj
-DEFS=SELECT_VECS="&bfd_elf64_ia64_vms_vec",\
- SELECT_ARCHITECTURES="&bfd_ia64_arch","HAVE_bfd_elf64_ia64_vms_vec"=1
+DEFS=SELECT_VECS="&ia64_elf64_vms_vec",\
+ SELECT_ARCHITECTURES="&bfd_ia64_arch","HAVE_ia64_elf64_vms_vec"=1
 endif
 ifeq ($(ARCH),ALPHA)
 HOSTFILE=alphavms.h
 OBJS:=vms-alpha.obj,vms-lib.obj,vms-misc.obj,cpu-alpha.obj
-DEFS=SELECT_VECS="&vms_alpha_vec",SELECT_ARCHITECTURES="&bfd_alpha_arch"
+DEFS=SELECT_VECS="&alpha_vms_vec",SELECT_ARCHITECTURES="&bfd_alpha_arch"
 endif
 
 OBJS:=$(OBJS),archive.obj,archive64.obj,archures.obj,bfd.obj,bfdio.obj,\
index fa5dddfd41c0cfb6bc9c475be5d2466da78d5e1b..d124cfda4097a89246290f8417ba034179302430 100644 (file)
@@ -398,9 +398,9 @@ static const struct aout_backend_data MY(backend_data) =
   0                            /* finish_dynamic_link */
 };
 
-extern const bfd_target aout_mips_big_vec;
+extern const bfd_target mips_aout_be_vec;
 
-const bfd_target aout_mips_little_vec =
+const bfd_target mips_aout_le_vec =
 {
     "a.out-mips-little",               /* name */
     bfd_target_aout_flavour,
@@ -437,12 +437,12 @@ const bfd_target aout_mips_little_vec =
     BFD_JUMP_TABLE_LINK (MY),
     BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-    & aout_mips_big_vec,
+    & mips_aout_be_vec,
 
     MY_backend_data
   };
 
-const bfd_target aout_mips_big_vec =
+const bfd_target mips_aout_be_vec =
   {
     "a.out-mips-big",          /* name */
     bfd_target_aout_flavour,
@@ -479,7 +479,7 @@ const bfd_target aout_mips_big_vec =
     BFD_JUMP_TABLE_LINK (MY),
     BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
 
-    & aout_mips_little_vec,
+    & mips_aout_le_vec,
 
     MY_backend_data
   };
index f52448cc90102ed8b22089157fff9e4231a56323..6b74a04347535e0a3a37571256c72778235cc68b 100644 (file)
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -3251,7 +3251,7 @@ mmo_write_object_contents (bfd *abfd)
 #define mmo_bfd_set_private_flags _bfd_generic_bfd_set_private_flags
 #define mmo_bfd_print_private_bfd_data _bfd_generic_bfd_print_private_bfd_data
 
-const bfd_target bfd_mmo_vec =
+const bfd_target mmix_mmo_vec =
 {
   "mmo",                       /* name */
   bfd_target_mmo_flavour,
index f40b27a427221d8d5421bc25696ac2f29a1114b5..a048f130e4cba1738c9200caff79327446d97895 100644 (file)
@@ -265,7 +265,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target netbsd_core_vec =
+const bfd_target core_netbsd_vec =
   {
     "netbsd-core",
     bfd_target_unknown_flavour,
index 6ed2809b7223767a8b77451a17df91853c0f8cdd..4eb4bee91748e9766458b564bbdf89f6939d1fa1 100644 (file)
@@ -25,7 +25,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (newsos3_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_newsos3_,OP)
 #define TARGETNAME "a.out-newsos3"
 #define ENTRY_CAN_BE_ZERO
 #define DEFAULT_ARCH bfd_arch_m68k
index 5ef7efce601554d25727e94dccda92836be1cd9d..1e403a1264daa148a4617057a2dee335f4f2d03e 100644 (file)
@@ -853,7 +853,7 @@ static const struct nlm_backend_data nlm32_alpha_backend =
 };
 
 #define TARGET_LITTLE_NAME             "nlm32-alpha"
-#define TARGET_LITTLE_SYM              nlmNAME (alpha_vec)
+#define TARGET_LITTLE_SYM              alpha_nlm32_vec
 #define TARGET_BACKEND_DATA            & nlm32_alpha_backend
 
 #include "nlm-target.h"
index 28a094ce11ddef3c10cb80e1845d2f1752dbf797..797e667af11389b305d7f8a76ebb9822aeb7c698 100644 (file)
@@ -423,7 +423,7 @@ static const struct nlm_backend_data nlm32_i386_backend =
 };
 
 #define TARGET_LITTLE_NAME             "nlm32-i386"
-#define TARGET_LITTLE_SYM              nlmNAME (i386_vec)
+#define TARGET_LITTLE_SYM              i386_nlm32_vec
 #define TARGET_BACKEND_DATA            & nlm32_i386_backend
 
 #include "nlm-target.h"
index 26d733ba783300729945226980b5e51a97596df1..5ff11f07dd9005adf05941d2b74e3fc8c2dc06e1 100644 (file)
@@ -980,7 +980,7 @@ static const struct nlm_backend_data nlm32_powerpc_backend =
 };
 
 #define TARGET_BIG_NAME                        "nlm32-powerpc"
-#define TARGET_BIG_SYM                 nlmNAME (powerpc_vec)
+#define TARGET_BIG_SYM                 powerpc_nlm32_vec
 #define TARGET_BACKEND_DATA            & nlm32_powerpc_backend
 
 #include "nlm-target.h"
index a4d246829683b757b9ae2cf3cafc712c65aad12d..4a68fa2177a7738ee3e0b189246c2cd1d884301e 100644 (file)
@@ -372,7 +372,7 @@ static const struct nlm_backend_data nlm32_sparc_backend =
 };
 
 #define TARGET_BIG_NAME                "nlm32-sparc"
-#define TARGET_BIG_SYM         nlmNAME (sparc_vec)
+#define TARGET_BIG_SYM         sparc_nlm32_vec
 #define TARGET_BACKEND_DATA    & nlm32_sparc_backend
 
 #include "nlm-target.h"
index 3fbb834806b95458aaa9671e7f586a8dd43bbc33..4af3aea2c8743340a894e2f11e12cb2dfdb8aa16 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (pc532netbsd_,OP)
+#define MY(OP) CONCAT2 (ns32k_aout_pc532nbsd_,OP)
 
 #define NAME(x,y) CONCAT3 (ns32kaout,_32_,y)
 
@@ -43,7 +43,7 @@
 
 /* We can`t use the MYNS macro here for cpp reasons too subtle
    for me -- IWD.  */
-#define MY_bfd_reloc_type_lookup ns32kaout_bfd_reloc_type_lookup
+#define MY_bfd_reloc_type_lookup ns32k_aout_bfd_reloc_type_lookup
 
 #include "sysdep.h"
 #include "bfd.h"               /* To ensure following declaration is OK.  */
index 39e0b1473b0ea7610565523bfbcfeeeda218a65e..e4e2adbf4ab5f6cdae5deace079ed5acb5ddc290 100644 (file)
@@ -173,7 +173,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target osf_core_vec =
+const bfd_target core_osf_vec =
   {
     "osf-core",
     bfd_target_unknown_flavour,
index 67ae62f9416c2f82ed3fabda03e6ba5931b75f7a..c9dcc669fa8f514b635be8cb2af51375fb8b1c58 100644 (file)
@@ -51,7 +51,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (pc532machaout_,OP)
+#define MY(OP) CONCAT2 (ns32k_aout_pc532mach_,OP)
 
 /* Must be the same as aout-ns32k.c */
 #define NAME(x,y) CONCAT3 (ns32kaout,_32_,y)
@@ -64,7 +64,7 @@
 #include "libbfd.h"
 #include "aout/aout64.h"
 
-#define MY_bfd_reloc_type_lookup ns32kaout_bfd_reloc_type_lookup
+#define MY_bfd_reloc_type_lookup ns32k_aout_bfd_reloc_type_lookup
 
 /* libaout doesn't use NAME for these ...  */
 
@@ -74,7 +74,7 @@
 
 #define MY_exec_header_not_counted 1
 
-reloc_howto_type *ns32kaout_bfd_reloc_type_lookup
+reloc_howto_type *MY_bfd_reloc_type_lookup
   (bfd *abfd, bfd_reloc_code_real_type code);
 
 static bfd_boolean
index 8da4e0cc8f086b22a5dc76decfff300ab4417d7b..dcfccb3a3258764ae1498db933685e5523f647e1 100644 (file)
@@ -21,9 +21,9 @@
 #define TARGET_UNDERSCORE    0
 #define USER_LABEL_PREFIX    ""
 
-#define TARGET_LITTLE_SYM    arm_wince_pe_little_vec
+#define TARGET_LITTLE_SYM    arm_pe_wince_le_vec
 #define TARGET_LITTLE_NAME   "pe-arm-wince-little"
-#define TARGET_BIG_SYM       arm_wince_pe_big_vec
+#define TARGET_BIG_SYM       arm_pe_wince_be_vec
 #define TARGET_BIG_NAME      "pe-arm-wince-big"
 
 #define bfd_arm_allocate_interworking_sections \
index f73c1b406e50e3c38845799c62dce649335d90c0..136fbf5c708509ad07b70461729ceb91fedf9db4 100644 (file)
@@ -34,9 +34,9 @@
 #include "bfd.h"
 
 #ifndef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM    armpe_little_vec
+#define TARGET_LITTLE_SYM    arm_pe_le_vec
 #define TARGET_LITTLE_NAME   "pe-arm-little"
-#define TARGET_BIG_SYM       armpe_big_vec
+#define TARGET_BIG_SYM       arm_pe_be_vec
 #define TARGET_BIG_NAME      "pe-arm-big"
 #endif
 
index 8bbdfe6bfd6a144ffcd25731c4998200919bf8e8..5f3789cab7aba7eb4459ca3b2a7c9c5926a381a1 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM             i386pe_vec
+#define TARGET_SYM             i386_pe_vec
 #define TARGET_NAME            "pe-i386"
 #define COFF_WITH_PE
 #define PCRELOFFSET            TRUE
index 1d641f7993a29b9476fe9bc73251244bff8c0277..f9b9d34346e84cd520f73a38ab305a54998df13b 100644 (file)
@@ -22,9 +22,9 @@
 #include "bfd.h"
 
 #ifndef TARGET_BIG_SYM
-#define TARGET_BIG_SYM       mcore_pe_big_vec
+#define TARGET_BIG_SYM       mcore_pe_be_vec
 #define TARGET_BIG_NAME      "pe-mcore-big"
-#define TARGET_LITTLE_SYM    mcore_pe_little_vec
+#define TARGET_LITTLE_SYM    mcore_pe_le_vec
 #define TARGET_LITTLE_NAME   "pe-mcore-little"
 #endif
 
index 32308a088b17be8e64ee5c7e2fcc3274a812af84..ec7afc40ae5fd935f1b7d0ea4b7798865ad1dda3 100644 (file)
@@ -856,7 +856,7 @@ const bfd_target
 #ifdef TARGET_SYM
   TARGET_SYM =
 #else
-  mipslpe_vec =
+  mips_pe_le_vec =
 #endif
 {
 #ifdef TARGET_NAME
index b83d69bc5cd837ec124520fac5b40172e33d9a45..ea082b9b4023aa2496a78f32fda36b853f235425 100644 (file)
 
 #define PPC_PE
 
-#define TARGET_LITTLE_SYM   bfd_powerpcle_pe_vec
+#define TARGET_LITTLE_SYM   powerpc_pe_le_vec
 #define TARGET_LITTLE_NAME "pe-powerpcle"
 
-#define TARGET_BIG_SYM      bfd_powerpc_pe_vec
+#define TARGET_BIG_SYM      powerpc_pe_vec
 #define TARGET_BIG_NAME    "pe-powerpc"
 
 #define COFF_WITH_PE
index f6c7c9ef2a16dfc1040b90917c1e7efff24887fc..9516a85656604c91b8ac443a41d9135ddb09a7de 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SHL_SYM shlpe_vec
+#define TARGET_SHL_SYM sh_pe_le_vec
 #define TARGET_SHL_NAME "pe-shl"
 #define COFF_WITH_PE
 #define PCRELOFFSET TRUE
index 16b13ecc93df9ae453c1a028c9a63590d08ac160..673a544bbfc280c1c05a4f15c0b8c0d719f4f030 100644 (file)
@@ -23,7 +23,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM             x86_64pe_vec
+#define TARGET_SYM             x86_64_pe_vec
 #define TARGET_NAME            "pe-x86-64"
 #define COFF_WITH_PE
 #define COFF_WITH_pex64
@@ -63,7 +63,7 @@
 /* Entry for big object files.  */
 
 const bfd_target
-x86_64pe_bigobj_vec =
+x86_64_pe_be_vec =
 {
   "pe-bigobj-x86-64",                  /* Name.  */
   bfd_target_coff_flavour,
index 335d56841e2bcadd8db31c6e0abfa959e7b47767..6ef9aa9f9faaeffded083505f5001275311b1e0a 100644 (file)
@@ -21,9 +21,9 @@
 #define TARGET_UNDERSCORE    0
 #define USER_LABEL_PREFIX    ""
 
-#define TARGET_LITTLE_SYM    arm_wince_pei_little_vec
+#define TARGET_LITTLE_SYM    arm_pei_wince_le_vec
 #define TARGET_LITTLE_NAME   "pei-arm-wince-little"
-#define TARGET_BIG_SYM       arm_wince_pei_big_vec
+#define TARGET_BIG_SYM       arm_pei_wince_be_vec
 #define TARGET_BIG_NAME      "pei-arm-wince-big"
 
 #define LOCAL_LABEL_PREFIX "."
index 9c832374922088fa103fa47e521dcccc90b17ed3..84318f238a3d595182ed6bcabce6db4ba01709e7 100644 (file)
@@ -22,9 +22,9 @@
 #include "bfd.h"
 
 #ifndef TARGET_LITTLE_SYM
-#define TARGET_LITTLE_SYM  armpei_little_vec
+#define TARGET_LITTLE_SYM  arm_pei_le_vec
 #define TARGET_LITTLE_NAME "pei-arm-little"
-#define TARGET_BIG_SYM     armpei_big_vec
+#define TARGET_BIG_SYM     arm_pei_be_vec
 #define TARGET_BIG_NAME    "pei-arm-big"
 #endif
 
index f57c620c583aae37bb5dc24157ebff160158c806..080ed1a62ca55f2cd3908078f83e0d1c22389931 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM             i386pei_vec
+#define TARGET_SYM             i386_pei_vec
 #define TARGET_NAME            "pei-i386"
 #define COFF_IMAGE_WITH_PE
 #define COFF_WITH_PE
index 13d79fb2549c522b19adf83419537c954eb86b27..a3cf735a3810e91e8b8e2f2d529a2c3d3adc3ddd 100644 (file)
@@ -25,7 +25,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM bfd_pei_ia64_vec
+#define TARGET_SYM ia64_pei_vec
 #define TARGET_NAME "pei-ia64"
 #define COFF_IMAGE_WITH_PE
 #define COFF_WITH_PE
index 75759fb0cd95c5c33a87508729d1c712b4d7f5e7..cb0652dc8bc4f6b11dacb6a30b23b8e1ba706314 100644 (file)
@@ -22,9 +22,9 @@
 #include "bfd.h"
 
 #ifndef TARGET_BIG_SYM
-#define TARGET_BIG_SYM       mcore_pei_big_vec
+#define TARGET_BIG_SYM       mcore_pei_be_vec
 #define TARGET_BIG_NAME      "pei-mcore-big"
-#define TARGET_LITTLE_SYM    mcore_pei_little_vec
+#define TARGET_LITTLE_SYM    mcore_pei_le_vec
 #define TARGET_LITTLE_NAME   "pei-mcore-little"
 #endif
 
index 2d55e4995b873ecf60a1192e5bb5d7447a15fd2f..588539041d7857b1d317ba17603493cecb309837 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM mipslpei_vec
+#define TARGET_SYM mips_pei_le_vec
 #define TARGET_NAME "pei-mips"
 #define COFF_IMAGE_WITH_PE
 #define PCRELOFFSET TRUE
index 6fd59615993ed996e74700d7f1ff25259916f3ac..6a5bb29d2f8969105bde677e763f4da23db55010 100644 (file)
 
 #define PPC_PE
 
-#define TARGET_LITTLE_SYM   bfd_powerpcle_pei_vec
+#define TARGET_LITTLE_SYM   powerpc_pei_le_vec
 #define TARGET_LITTLE_NAME "pei-powerpcle"
 
-#define TARGET_BIG_SYM      bfd_powerpc_pei_vec
+#define TARGET_BIG_SYM      powerpc_pei_vec
 #define TARGET_BIG_NAME    "pei-powerpc"
 
 #define COFF_IMAGE_WITH_PE
index 49074faf4fce6f0d0737102060b3ca4a30f6e244..50d677b279527fd14c5797028aee86a0c2df0af6 100644 (file)
@@ -21,7 +21,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SHL_SYM shlpei_vec
+#define TARGET_SHL_SYM sh_pei_le_vec
 #define TARGET_SHL_NAME "pei-shl"
 #define IMAGE_BASE NT_IMAGE_BASE
 #define COFF_IMAGE_WITH_PE
index f022ad095a7af1079e9de360d5c11dfdbcb1b120..48554d3cde8c2e9ac01b700944f1409d7f5c41c9 100644 (file)
@@ -23,7 +23,7 @@
 #include "sysdep.h"
 #include "bfd.h"
 
-#define TARGET_SYM             x86_64pei_vec
+#define TARGET_SYM             x86_64_pei_vec
 #define TARGET_NAME            "pei-x86-64"
 #define COFF_IMAGE_WITH_PE
 #define COFF_WITH_PE
index a05c3687e7f730c3853e38c2f885026d268f644c..7b990797682f847d9e884465cba4966f2c4da9a6 100644 (file)
@@ -472,7 +472,7 @@ ppcboot_bfd_print_private_bfd_data (bfd *abfd, void * farg)
 #define ppcboot_bfd_set_private_flags _bfd_generic_bfd_set_private_flags
 #define ppcboot_bfd_print_private_bfd_dat ppcboot_bfd_print_private_bfd_data
 
-const bfd_target ppcboot_vec =
+const bfd_target powerpc_boot_vec =
 {
   "ppcboot",                   /* name */
   bfd_target_unknown_flavour,  /* flavour */
index 15c1ad43ea594e2f6366f659b9fef77a792bbe15..723f4a4a738959b1e4fcf78b8d820df4f484b5e2 100644 (file)
@@ -164,7 +164,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target ptrace_core_vec =
+const bfd_target core_ptrace_vec =
   {
     "trad-core",
     bfd_target_unknown_flavour,
index 9010fcf8dd8613a02a38aa981d1004ed9630d19b..ddf5c3a5a0de9665999c157f4b375bc37beb5695 100644 (file)
@@ -97,7 +97,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (riscix_,OP)
+#define MY(OP) CONCAT2 (arm_aout_riscix_,OP)
 #define TARGETNAME "a.out-riscix"
 #define N_BADMAG(x) ((((x).a_info & ~007200) != ZMAGIC) \
                   && (((x).a_info & ~006000) != OMAGIC) \
@@ -170,7 +170,7 @@ riscix_fix_pcrel_26_done (bfd *abfd ATTRIBUTE_UNUSED,
 }
 
 static bfd_reloc_status_type riscix_fix_pcrel_26 (bfd *, arelent *, asymbol *, void *, asection *, bfd *, char **);
-static const bfd_target *riscix_callback (bfd *);
+static const bfd_target *arm_aout_riscix_callback (bfd *);
 
 static reloc_howto_type riscix_std_reloc_howto[] =
 {
@@ -297,9 +297,9 @@ riscix_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 #define MY_bfd_final_link              _bfd_generic_final_link
 
 #define MY_bfd_reloc_type_lookup       riscix_reloc_type_lookup
-#define MY_bfd_reloc_name_lookup riscix_reloc_name_lookup
-#define MY_canonicalize_reloc          riscix_canonicalize_reloc
-#define MY_object_p                    riscix_object_p
+#define MY_bfd_reloc_name_lookup       riscix_reloc_name_lookup
+#define MY_canonicalize_reloc          arm_aout_riscix_canonicalize_reloc
+#define MY_object_p                    arm_aout_riscix_object_p
 
 static void
 riscix_swap_std_reloc_out (bfd *abfd,
index d8fa931dcf82f97edfc5641928c4e2c0158c4aa8..70671766ab4fe9f854a7a79f84a5b0f69a7c2b17 100644 (file)
@@ -344,7 +344,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target sco5_core_vec =
+const bfd_target core_sco5_vec =
   {
     "sco5-core",
     bfd_target_unknown_flavour,
index 4fddf32a60c84b219081c383e9968e4c119c5599..b6143ae5e35dfe045e6668fbde9a2641556cb5b7 100644 (file)
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -5349,7 +5349,7 @@ som_canonicalize_reloc (bfd *abfd,
   return section->reloc_count;
 }
 
-extern const bfd_target som_vec;
+extern const bfd_target hppa_som_vec;
 
 /* A hook to set up object file dependent section information.  */
 
@@ -6750,7 +6750,7 @@ som_bfd_link_split_section (bfd *abfd ATTRIBUTE_UNUSED, asection *sec)
 #define som_bfd_set_private_flags              _bfd_generic_bfd_set_private_flags
 #define som_find_inliner_info                  _bfd_nosymbols_find_inliner_info
 
-const bfd_target som_vec =
+const bfd_target hppa_som_vec =
 {
   "som",                       /* Name.  */
   bfd_target_som_flavour,
index bb3cec9482747491099c8a3821b4d9dbbcef566e..dac3624f56dc4d6f8dad98ae836b230ac8726f35 100644 (file)
@@ -37,7 +37,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (sparclinux_,OP)
+#define MY(OP) CONCAT2 (sparc_aout_linux_,OP)
 #define TARGETNAME "a.out-sparc-linux"
 
 extern const bfd_target MY(vec);
index 7ffbcb769d2bdf98f2814e7faa7a298c31ab4f85..2a62c774c55e24f58bebf1699b078bdcda24cc59 100644 (file)
@@ -22,7 +22,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (sparclynx_aout_,OP)
+#define MY(OP) CONCAT2 (sparc_aout_lynx_,OP)
 #define TARGETNAME "a.out-sparc-lynx"
 
 #include "sysdep.h"
index b549ddd4a8adaa927cfbbe95389f6c86205ff7c1..42d94e74252a22be892aef42c0a3879e3fb48a70 100644 (file)
@@ -31,7 +31,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (sparcnetbsd_,OP)
+#define MY(OP) CONCAT2 (sparc_aout_nbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-sparc-netbsd"
index 9036cdf3be003faa52b9010564932379692d1842..99bed8da0cc978c3101a83fc01f3160146203151 100644 (file)
@@ -24,7 +24,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (sunos_big_,OP)
+#define MY(OP) CONCAT2 (sparc_aout_sunos_be_,OP)
 
 #include "sysdep.h"
 #include "bfd.h"
index d3b585b4b314d4b946bc5a906ceb24b3dbe3f737..0419920e337f97e60bb7118836684fda34e34ef9 100644 (file)
@@ -567,307 +567,307 @@ to find an alternative output format that is suitable.
    Alphabetized for easy reference.
    They are listed a second time below, since
    we can't intermix extern's and initializers.  */
-extern const bfd_target a_out_adobe_vec;
-extern const bfd_target aix5coff64_vec;
-extern const bfd_target aout0_big_vec;
-extern const bfd_target aout_arm_big_vec;
-extern const bfd_target aout_arm_little_vec;
-extern const bfd_target aout_mips_big_vec;
-extern const bfd_target aout_mips_little_vec;
-extern const bfd_target apollocoff_vec;
-extern const bfd_target arm_epoc_pe_big_vec;
-extern const bfd_target arm_epoc_pe_little_vec;
-extern const bfd_target arm_epoc_pei_big_vec;
-extern const bfd_target arm_epoc_pei_little_vec;
-extern const bfd_target arm_wince_pe_big_vec;
-extern const bfd_target arm_wince_pe_little_vec;
-extern const bfd_target arm_wince_pei_big_vec;
-extern const bfd_target arm_wince_pei_little_vec;
-extern const bfd_target armcoff_big_vec;
-extern const bfd_target armcoff_little_vec;
-extern const bfd_target armnetbsd_vec;
-extern const bfd_target armpe_big_vec;
-extern const bfd_target armpe_little_vec;
-extern const bfd_target armpei_big_vec;
-extern const bfd_target armpei_little_vec;
-extern const bfd_target b_out_vec_big_host;
-extern const bfd_target b_out_vec_little_host;
-extern const bfd_target bfd_pei_ia64_vec;
-extern const bfd_target bfd_elf32_avr_vec;
-extern const bfd_target bfd_elf32_bfin_vec;
-extern const bfd_target bfd_elf32_bfinfdpic_vec;
-extern const bfd_target bfd_elf32_big_generic_vec;
-extern const bfd_target bfd_elf32_bigarc_vec;
-extern const bfd_target bfd_elf32_bigarm_vec;
-extern const bfd_target bfd_elf32_bigarm_nacl_vec;
-extern const bfd_target bfd_elf32_bigarm_symbian_vec;
-extern const bfd_target bfd_elf32_bigarm_vxworks_vec;
-extern const bfd_target bfd_elf32_bigmips_vec;
-extern const bfd_target bfd_elf32_bigmips_vxworks_vec;
-extern const bfd_target bfd_elf32_bigmoxie_vec;
-extern const bfd_target bfd_elf32_bignios2_vec;
-extern const bfd_target bfd_elf32_cr16_vec;
-extern const bfd_target bfd_elf32_cr16c_vec;
-extern const bfd_target bfd_elf32_cris_vec;
-extern const bfd_target bfd_elf32_crx_vec;
-extern const bfd_target bfd_elf32_d10v_vec;
-extern const bfd_target bfd_elf32_d30v_vec;
-extern const bfd_target bfd_elf32_dlx_big_vec;
-extern const bfd_target bfd_elf32_epiphany_vec;
-extern const bfd_target bfd_elf32_fr30_vec;
-extern const bfd_target bfd_elf32_frv_vec;
-extern const bfd_target bfd_elf32_frvfdpic_vec;
-extern const bfd_target bfd_elf32_h8300_vec;
-extern const bfd_target bfd_elf32_hppa_linux_vec;
-extern const bfd_target bfd_elf32_hppa_nbsd_vec;
-extern const bfd_target bfd_elf32_hppa_vec;
-extern const bfd_target bfd_elf32_i370_vec;
-extern const bfd_target bfd_elf32_i386_freebsd_vec;
-extern const bfd_target bfd_elf32_i386_nacl_vec;
-extern const bfd_target bfd_elf32_i386_sol2_vec;
-extern const bfd_target bfd_elf32_i386_vxworks_vec;
-extern const bfd_target bfd_elf32_i386_vec;
-extern const bfd_target bfd_elf32_i860_little_vec;
-extern const bfd_target bfd_elf32_i860_vec;
-extern const bfd_target bfd_elf32_i960_vec;
-extern const bfd_target bfd_elf32_ia64_big_vec;
-extern const bfd_target bfd_elf32_ia64_hpux_big_vec;
-extern const bfd_target bfd_elf32_ip2k_vec;
-extern const bfd_target bfd_elf32_iq2000_vec;
-extern const bfd_target bfd_elf32_lm32_vec;
-extern const bfd_target bfd_elf32_lm32fdpic_vec;
-extern const bfd_target bfd_elf32_little_generic_vec;
-extern const bfd_target bfd_elf32_littlearc_vec;
-extern const bfd_target bfd_elf32_littlearm_vec;
-extern const bfd_target bfd_elf32_littlearm_nacl_vec;
-extern const bfd_target bfd_elf32_littlearm_symbian_vec;
-extern const bfd_target bfd_elf32_littlearm_vxworks_vec;
-extern const bfd_target bfd_elf32_littlemips_vec;
-extern const bfd_target bfd_elf32_littlemips_vxworks_vec;
-extern const bfd_target bfd_elf32_littlemoxie_vec;
-extern const bfd_target bfd_elf32_littlenios2_vec;
-extern const bfd_target bfd_elf32_m32c_vec;
-extern const bfd_target bfd_elf32_m32r_vec;
-extern const bfd_target bfd_elf32_m32rle_vec;
-extern const bfd_target bfd_elf32_m32rlin_vec;
-extern const bfd_target bfd_elf32_m32rlelin_vec;
-extern const bfd_target bfd_elf32_m68hc11_vec;
-extern const bfd_target bfd_elf32_m68hc12_vec;
-extern const bfd_target bfd_elf32_m68k_vec;
-extern const bfd_target bfd_elf32_m88k_vec;
-extern const bfd_target bfd_elf32_mcore_big_vec;
-extern const bfd_target bfd_elf32_mcore_little_vec;
-extern const bfd_target bfd_elf32_mep_vec;
-extern const bfd_target bfd_elf32_mep_little_vec;
-extern const bfd_target bfd_elf32_metag_vec;
-extern const bfd_target bfd_elf32_microblazeel_vec;
-extern const bfd_target bfd_elf32_microblaze_vec;
-extern const bfd_target bfd_elf32_mn10200_vec;
-extern const bfd_target bfd_elf32_mn10300_vec;
-extern const bfd_target bfd_elf32_mt_vec;
-extern const bfd_target bfd_elf32_msp430_vec;
-extern const bfd_target bfd_elf32_msp430_ti_vec;
-extern const bfd_target bfd_elf32_nbigmips_vec;
-extern const bfd_target bfd_elf32_nlittlemips_vec;
-extern const bfd_target bfd_elf32_ntradbigmips_vec;
-extern const bfd_target bfd_elf32_ntradlittlemips_vec;
-extern const bfd_target bfd_elf32_ntradbigmips_freebsd_vec;
-extern const bfd_target bfd_elf32_ntradlittlemips_freebsd_vec;
-extern const bfd_target bfd_elf32_nds32be_vec;
-extern const bfd_target bfd_elf32_nds32le_vec;
-extern const bfd_target bfd_elf32_nds32belin_vec;
-extern const bfd_target bfd_elf32_nds32lelin_vec;
-extern const bfd_target bfd_elf32_or1k_vec;
-extern const bfd_target bfd_elf32_pj_vec;
-extern const bfd_target bfd_elf32_pjl_vec;
-extern const bfd_target bfd_elf32_powerpc_vec;
-extern const bfd_target bfd_elf32_powerpcle_vec;
-extern const bfd_target bfd_elf32_powerpc_freebsd_vec;
-extern const bfd_target bfd_elf32_powerpc_vxworks_vec;
-extern const bfd_target bfd_elf32_rl78_vec;
-extern const bfd_target bfd_elf32_rx_le_vec;
-extern const bfd_target bfd_elf32_rx_be_vec;
-extern const bfd_target bfd_elf32_rx_be_ns_vec;
-extern const bfd_target bfd_elf32_s390_vec;
-extern const bfd_target bfd_elf32_bigscore_vec;
-extern const bfd_target bfd_elf32_littlescore_vec;
-extern const bfd_target bfd_elf32_sh64_vec;
-extern const bfd_target bfd_elf32_sh64l_vec;
-extern const bfd_target bfd_elf32_sh64lin_vec;
-extern const bfd_target bfd_elf32_sh64blin_vec;
-extern const bfd_target bfd_elf32_sh64lnbsd_vec;
-extern const bfd_target bfd_elf32_sh64nbsd_vec;
-extern const bfd_target bfd_elf32_sh_vec;
-extern const bfd_target bfd_elf32_shbfd_vec;
-extern const bfd_target bfd_elf32_shblin_vec;
-extern const bfd_target bfd_elf32_shfd_vec;
-extern const bfd_target bfd_elf32_shl_vec;
-extern const bfd_target bfd_elf32_shl_symbian_vec;
-extern const bfd_target bfd_elf32_shlin_vec;
-extern const bfd_target bfd_elf32_shlnbsd_vec;
-extern const bfd_target bfd_elf32_shlvxworks_vec;
-extern const bfd_target bfd_elf32_shnbsd_vec;
-extern const bfd_target bfd_elf32_shvxworks_vec;
-extern const bfd_target bfd_elf32_sparc_vec;
-extern const bfd_target bfd_elf32_sparc_sol2_vec;
-extern const bfd_target bfd_elf32_sparc_vxworks_vec;
-extern const bfd_target bfd_elf32_spu_vec;
-extern const bfd_target bfd_elf32_tic6x_be_vec;
-extern const bfd_target bfd_elf32_tic6x_le_vec;
-extern const bfd_target bfd_elf32_tic6x_elf_be_vec;
-extern const bfd_target bfd_elf32_tic6x_elf_le_vec;
-extern const bfd_target bfd_elf32_tic6x_linux_be_vec;
-extern const bfd_target bfd_elf32_tic6x_linux_le_vec;
-extern const bfd_target bfd_elf32_tilegx_be_vec;
-extern const bfd_target bfd_elf32_tilegx_le_vec;
-extern const bfd_target bfd_elf32_tilepro_vec;
-extern const bfd_target bfd_elf32_tradbigmips_vec;
-extern const bfd_target bfd_elf32_tradlittlemips_vec;
-extern const bfd_target bfd_elf32_tradbigmips_freebsd_vec;
-extern const bfd_target bfd_elf32_tradlittlemips_freebsd_vec;
-extern const bfd_target bfd_elf32_us_cris_vec;
-extern const bfd_target bfd_elf32_v850_vec;
-extern const bfd_target bfd_elf32_v850_rh850_vec;
-extern const bfd_target bfd_elf32_vax_vec;
-extern const bfd_target bfd_elf32_xc16x_vec;
-extern const bfd_target bfd_elf32_xgate_vec;
-extern const bfd_target bfd_elf32_xstormy16_vec;
-extern const bfd_target bfd_elf32_xtensa_be_vec;
-extern const bfd_target bfd_elf32_xtensa_le_vec;
-extern const bfd_target bfd_elf64_alpha_freebsd_vec;
-extern const bfd_target bfd_elf64_alpha_vec;
-extern const bfd_target bfd_elf64_big_generic_vec;
-extern const bfd_target bfd_elf64_bigmips_vec;
-extern const bfd_target bfd_elf64_bigaarch64_vec;
-extern const bfd_target bfd_elf32_bigaarch64_vec;
-extern const bfd_target bfd_elf64_hppa_linux_vec;
-extern const bfd_target bfd_elf64_hppa_vec;
-extern const bfd_target bfd_elf64_ia64_big_vec;
-extern const bfd_target bfd_elf64_ia64_hpux_big_vec;
-extern const bfd_target bfd_elf64_ia64_little_vec;
-extern const bfd_target bfd_elf64_ia64_vms_vec;
-extern const bfd_target bfd_elf64_little_generic_vec;
-extern const bfd_target bfd_elf64_littlemips_vec;
-extern const bfd_target bfd_elf64_littleaarch64_vec;
-extern const bfd_target bfd_elf32_littleaarch64_vec;
-extern const bfd_target bfd_elf64_mmix_vec;
-extern const bfd_target bfd_elf64_powerpc_vec;
-extern const bfd_target bfd_elf64_powerpcle_vec;
-extern const bfd_target bfd_elf64_powerpc_freebsd_vec;
-extern const bfd_target bfd_elf64_s390_vec;
-extern const bfd_target bfd_elf64_sh64_vec;
-extern const bfd_target bfd_elf64_sh64l_vec;
-extern const bfd_target bfd_elf64_sh64lin_vec;
-extern const bfd_target bfd_elf64_sh64blin_vec;
-extern const bfd_target bfd_elf64_sh64lnbsd_vec;
-extern const bfd_target bfd_elf64_sh64nbsd_vec;
-extern const bfd_target bfd_elf64_sparc_vec;
-extern const bfd_target bfd_elf64_sparc_freebsd_vec;
-extern const bfd_target bfd_elf64_sparc_sol2_vec;
-extern const bfd_target bfd_elf64_tilegx_be_vec;
-extern const bfd_target bfd_elf64_tilegx_le_vec;
-extern const bfd_target bfd_elf64_tradbigmips_vec;
-extern const bfd_target bfd_elf64_tradlittlemips_vec;
-extern const bfd_target bfd_elf64_tradbigmips_freebsd_vec;
-extern const bfd_target bfd_elf64_tradlittlemips_freebsd_vec;
-extern const bfd_target bfd_elf64_x86_64_freebsd_vec;
-extern const bfd_target bfd_elf64_x86_64_nacl_vec;
-extern const bfd_target bfd_elf64_x86_64_sol2_vec;
-extern const bfd_target bfd_elf64_x86_64_vec;
-extern const bfd_target bfd_elf32_x86_64_nacl_vec;
-extern const bfd_target bfd_elf32_x86_64_vec;
-extern const bfd_target bfd_elf64_l1om_freebsd_vec;
-extern const bfd_target bfd_elf64_l1om_vec;
-extern const bfd_target bfd_elf64_k1om_freebsd_vec;
-extern const bfd_target bfd_elf64_k1om_vec;
-extern const bfd_target bfd_mmo_vec;
-extern const bfd_target bfd_powerpc_pe_vec;
-extern const bfd_target bfd_powerpc_pei_vec;
-extern const bfd_target bfd_powerpcle_pe_vec;
-extern const bfd_target bfd_powerpcle_pei_vec;
+extern const bfd_target aout_adobe_vec;
+extern const bfd_target rs6000_xcoff64_aix_vec;
+extern const bfd_target aout0_be_vec;
+extern const bfd_target arm_aout_be_vec;
+extern const bfd_target arm_aout_le_vec;
+extern const bfd_target mips_aout_be_vec;
+extern const bfd_target mips_aout_le_vec;
+extern const bfd_target m68k_coff_apollo_vec;
+extern const bfd_target arm_pe_epoc_be_vec;
+extern const bfd_target arm_pe_epoc_le_vec;
+extern const bfd_target arm_pei_epoc_be_vec;
+extern const bfd_target arm_pei_epoc_le_vec;
+extern const bfd_target arm_pe_wince_be_vec;
+extern const bfd_target arm_pe_wince_le_vec;
+extern const bfd_target arm_pei_wince_be_vec;
+extern const bfd_target arm_pei_wince_le_vec;
+extern const bfd_target arm_coff_be_vec;
+extern const bfd_target arm_coff_le_vec;
+extern const bfd_target arm_aout_nbsd_vec;
+extern const bfd_target arm_pe_be_vec;
+extern const bfd_target arm_pe_le_vec;
+extern const bfd_target arm_pei_be_vec;
+extern const bfd_target arm_pei_le_vec;
+extern const bfd_target bout_be_vec;
+extern const bfd_target bout_le_vec;
+extern const bfd_target ia64_pei_vec;
+extern const bfd_target avr_elf32_vec;
+extern const bfd_target bfin_elf32_vec;
+extern const bfd_target bfin_elf32_fdpic_vec;
+extern const bfd_target elf32_be_vec;
+extern const bfd_target arc_elf32_be_vec;
+extern const bfd_target arm_elf32_be_vec;
+extern const bfd_target arm_elf32_nacl_be_vec;
+extern const bfd_target arm_elf32_symbian_be_vec;
+extern const bfd_target arm_elf32_vxworks_be_vec;
+extern const bfd_target mips_elf32_be_vec;
+extern const bfd_target mips_elf32_vxworks_be_vec;
+extern const bfd_target moxie_elf32_be_vec;
+extern const bfd_target nios2_elf32_be_vec;
+extern const bfd_target cr16_elf32_vec;
+extern const bfd_target cr16c_elf32_vec;
+extern const bfd_target cris_elf32_vec;
+extern const bfd_target crx_elf32_vec;
+extern const bfd_target d10v_elf32_vec;
+extern const bfd_target d30v_elf32_vec;
+extern const bfd_target dlx_elf32_be_vec;
+extern const bfd_target epiphany_elf32_vec;
+extern const bfd_target fr30_elf32_vec;
+extern const bfd_target frv_elf32_vec;
+extern const bfd_target frv_elf32_fdpic_vec;
+extern const bfd_target h8300_elf32_vec;
+extern const bfd_target hppa_elf32_linux_vec;
+extern const bfd_target hppa_elf32_nbsd_vec;
+extern const bfd_target hppa_elf32_vec;
+extern const bfd_target i370_elf32_vec;
+extern const bfd_target i386_elf32_fbsd_vec;
+extern const bfd_target i386_elf32_nacl_vec;
+extern const bfd_target i386_elf32_sol2_vec;
+extern const bfd_target i386_elf32_vxworks_vec;
+extern const bfd_target i386_elf32_vec;
+extern const bfd_target i860_elf32_le_vec;
+extern const bfd_target i860_elf32_vec;
+extern const bfd_target i960_elf32_vec;
+extern const bfd_target ia64_elf32_be_vec;
+extern const bfd_target ia64_elf32_hpux_be_vec;
+extern const bfd_target ip2k_elf32_vec;
+extern const bfd_target iq2000_elf32_vec;
+extern const bfd_target lm32_elf32_vec;
+extern const bfd_target lm32_elf32_fdpic_vec;
+extern const bfd_target elf32_le_vec;
+extern const bfd_target arc_elf32_le_vec;
+extern const bfd_target arm_elf32_le_vec;
+extern const bfd_target arm_elf32_nacl_le_vec;
+extern const bfd_target arm_elf32_symbian_le_vec;
+extern const bfd_target arm_elf32_vxworks_le_vec;
+extern const bfd_target mips_elf32_le_vec;
+extern const bfd_target mips_elf32_vxworks_le_vec;
+extern const bfd_target moxie_elf32_le_vec;
+extern const bfd_target nios2_elf32_le_vec;
+extern const bfd_target m32c_elf32_vec;
+extern const bfd_target m32r_elf32_vec;
+extern const bfd_target m32r_elf32_le_vec;
+extern const bfd_target m32r_elf32_linux_vec;
+extern const bfd_target m32r_elf32_linux_le_vec;
+extern const bfd_target m68hc11_elf32_vec;
+extern const bfd_target m68hc12_elf32_vec;
+extern const bfd_target m68k_elf32_vec;
+extern const bfd_target m88k_elf32_vec;
+extern const bfd_target mcore_elf32_be_vec;
+extern const bfd_target mcore_elf32_le_vec;
+extern const bfd_target mep_elf32_vec;
+extern const bfd_target mep_elf32_le_vec;
+extern const bfd_target metag_elf32_vec;
+extern const bfd_target microblaze_elf32_le_vec;
+extern const bfd_target microblaze_elf32_vec;
+extern const bfd_target mn10200_elf32_vec;
+extern const bfd_target mn10300_elf32_vec;
+extern const bfd_target mt_elf32_vec;
+extern const bfd_target msp430_elf32_vec;
+extern const bfd_target msp430_elf32_ti_vec;
+extern const bfd_target mips_elf32_n_be_vec;
+extern const bfd_target mips_elf32_n_le_vec;
+extern const bfd_target mips_elf32_ntrad_be_vec;
+extern const bfd_target mips_elf32_ntrad_le_vec;
+extern const bfd_target mips_elf32_ntradfbsd_be_vec;
+extern const bfd_target mips_elf32_ntradfbsd_le_vec;
+extern const bfd_target nds32_elf32_be_vec;
+extern const bfd_target nds32_elf32_le_vec;
+extern const bfd_target nds32_elf32_linux_be_vec;
+extern const bfd_target nds32_elf32_linux_le_vec;
+extern const bfd_target or1k_elf32_vec;
+extern const bfd_target pj_elf32_vec;
+extern const bfd_target pj_elf32_le_vec;
+extern const bfd_target powerpc_elf32_vec;
+extern const bfd_target powerpc_elf32_le_vec;
+extern const bfd_target powerpc_elf32_fbsd_vec;
+extern const bfd_target powerpc_elf32_vxworks_vec;
+extern const bfd_target rl78_elf32_vec;
+extern const bfd_target rx_elf32_le_vec;
+extern const bfd_target rx_elf32_be_vec;
+extern const bfd_target rx_elf32_be_ns_vec;
+extern const bfd_target s390_elf32_vec;
+extern const bfd_target score_elf32_be_vec;
+extern const bfd_target score_elf32_le_vec;
+extern const bfd_target sh64_elf32_vec;
+extern const bfd_target sh64_elf32_le_vec;
+extern const bfd_target sh64_elf32_linux_vec;
+extern const bfd_target sh64_elf32_linux_be_vec;
+extern const bfd_target sh64_elf32_nbsd_le_vec;
+extern const bfd_target sh64_elf32_nbsd_vec;
+extern const bfd_target sh_elf32_vec;
+extern const bfd_target sh_elf32_fdpic_be_vec;
+extern const bfd_target sh_elf32_linux_be_vec;
+extern const bfd_target sh_elf32_fdpic_le_vec;
+extern const bfd_target sh_elf32_le_vec;
+extern const bfd_target sh_elf32_symbian_le_vec;
+extern const bfd_target sh_elf32_linux_vec;
+extern const bfd_target sh_elf32_nbsd_le_vec;
+extern const bfd_target sh_elf32_vxworks_le_vec;
+extern const bfd_target sh_elf32_nbsd_vec;
+extern const bfd_target sh_elf32_vxworks_vec;
+extern const bfd_target sparc_elf32_vec;
+extern const bfd_target sparc_elf32_sol2_vec;
+extern const bfd_target sparc_elf32_vxworks_vec;
+extern const bfd_target spu_elf32_vec;
+extern const bfd_target tic6x_elf32_be_vec;
+extern const bfd_target tic6x_elf32_le_vec;
+extern const bfd_target tic6x_elf32_c6000_be_vec;
+extern const bfd_target tic6x_elf32_c6000_le_vec;
+extern const bfd_target tic6x_elf32_linux_be_vec;
+extern const bfd_target tic6x_elf32_linux_le_vec;
+extern const bfd_target tilegx_elf32_be_vec;
+extern const bfd_target tilegx_elf32_le_vec;
+extern const bfd_target tilepro_elf32_vec;
+extern const bfd_target mips_elf32_trad_be_vec;
+extern const bfd_target mips_elf32_trad_le_vec;
+extern const bfd_target mips_elf32_tradfbsd_be_vec;
+extern const bfd_target mips_elf32_tradfbsd_le_vec;
+extern const bfd_target cris_elf32_us_vec;
+extern const bfd_target v850_elf32_vec;
+extern const bfd_target v800_elf32_vec;
+extern const bfd_target vax_elf32_vec;
+extern const bfd_target xc16x_elf32_vec;
+extern const bfd_target xgate_elf32_vec;
+extern const bfd_target xstormy16_elf32_vec;
+extern const bfd_target xtensa_elf32_be_vec;
+extern const bfd_target xtensa_elf32_le_vec;
+extern const bfd_target alpha_elf64_fbsd_vec;
+extern const bfd_target alpha_elf64_vec;
+extern const bfd_target elf64_be_vec;
+extern const bfd_target mips_elf64_be_vec;
+extern const bfd_target aarch64_elf64_be_vec;
+extern const bfd_target aarch64_elf32_be_vec;
+extern const bfd_target hppa_elf64_linux_vec;
+extern const bfd_target hppa_elf64_vec;
+extern const bfd_target ia64_elf64_be_vec;
+extern const bfd_target ia64_elf64_hpux_be_vec;
+extern const bfd_target ia64_elf64_le_vec;
+extern const bfd_target ia64_elf64_vms_vec;
+extern const bfd_target elf64_le_vec;
+extern const bfd_target mips_elf64_le_vec;
+extern const bfd_target aarch64_elf64_le_vec;
+extern const bfd_target aarch64_elf32_le_vec;
+extern const bfd_target mmix_elf64_vec;
+extern const bfd_target powerpc_elf64_vec;
+extern const bfd_target powerpc_elf64_le_vec;
+extern const bfd_target powerpc_elf64_fbsd_vec;
+extern const bfd_target s390_elf64_vec;
+extern const bfd_target sh64_elf64_vec;
+extern const bfd_target sh64_elf64_le_vec;
+extern const bfd_target sh64_elf64_linux_vec;
+extern const bfd_target sh64_elf64_linux_be_vec;
+extern const bfd_target sh64_elf64_nbsd_le_vec;
+extern const bfd_target sh64_elf64_nbsd_vec;
+extern const bfd_target sparc_elf64_vec;
+extern const bfd_target sparc_elf64_fbsd_vec;
+extern const bfd_target sparc_elf64_sol2_vec;
+extern const bfd_target tilegx_elf64_be_vec;
+extern const bfd_target tilegx_elf64_le_vec;
+extern const bfd_target mips_elf64_trad_be_vec;
+extern const bfd_target mips_elf64_trad_le_vec;
+extern const bfd_target mips_elf64_tradfbsd_be_vec;
+extern const bfd_target mips_elf64_tradfbsd_le_vec;
+extern const bfd_target x86_64_elf64_fbsd_vec;
+extern const bfd_target x86_64_elf64_nacl_vec;
+extern const bfd_target x86_64_elf64_sol2_vec;
+extern const bfd_target x86_64_elf64_vec;
+extern const bfd_target x86_64_elf32_nacl_vec;
+extern const bfd_target x86_64_elf32_vec;
+extern const bfd_target l1om_elf64_fbsd_vec;
+extern const bfd_target l1om_elf64_vec;
+extern const bfd_target k1om_elf64_fbsd_vec;
+extern const bfd_target k1om_elf64_vec;
+extern const bfd_target mmix_mmo_vec;
+extern const bfd_target powerpc_pe_vec;
+extern const bfd_target powerpc_pei_vec;
+extern const bfd_target powerpc_pe_le_vec;
+extern const bfd_target powerpc_pei_le_vec;
 extern const bfd_target cris_aout_vec;
-extern const bfd_target demo_64_vec;
-extern const bfd_target ecoff_big_vec;
-extern const bfd_target ecoff_biglittle_vec;
-extern const bfd_target ecoff_little_vec;
-extern const bfd_target ecoffalpha_little_vec;
-extern const bfd_target go32coff_vec;
-extern const bfd_target go32stubbedcoff_vec;
-extern const bfd_target h8300coff_vec;
-extern const bfd_target h8500coff_vec;
-extern const bfd_target host_aout_vec;
-extern const bfd_target hp300bsd_vec;
-extern const bfd_target hp300hpux_vec;
-extern const bfd_target i386aout_vec;
-extern const bfd_target i386bsd_vec;
-extern const bfd_target i386coff_vec;
-extern const bfd_target i386dynix_vec;
-extern const bfd_target i386freebsd_vec;
-extern const bfd_target i386linux_vec;
-extern const bfd_target i386lynx_aout_vec;
-extern const bfd_target i386lynx_coff_vec;
-extern const bfd_target i386mach3_vec;
-extern const bfd_target i386msdos_vec;
-extern const bfd_target i386netbsd_vec;
-extern const bfd_target i386os9k_vec;
-extern const bfd_target i386pe_vec;
-extern const bfd_target i386pei_vec;
-extern const bfd_target i860coff_vec;
-extern const bfd_target icoff_big_vec;
-extern const bfd_target icoff_little_vec;
+extern const bfd_target aout64_vec;
+extern const bfd_target mips_ecoff_be_vec;
+extern const bfd_target mips_ecoff_bele_vec;
+extern const bfd_target mips_ecoff_le_vec;
+extern const bfd_target alpha_ecoff_le_vec;
+extern const bfd_target i386_coff_go32_vec;
+extern const bfd_target i386_coff_go32stubbed_vec;
+extern const bfd_target h8300_coff_vec;
+extern const bfd_target h8500_coff_vec;
+extern const bfd_target aout_vec;
+extern const bfd_target m68k_aout_hp300bsd_vec;
+extern const bfd_target m68k_aout_hp300hpux_vec;
+extern const bfd_target i386_aout_vec;
+extern const bfd_target i386_aout_bsd_vec;
+extern const bfd_target i386_coff_vec;
+extern const bfd_target i386_aout_dynix_vec;
+extern const bfd_target i386_aout_fbsd_vec;
+extern const bfd_target i386_aout_linux_vec;
+extern const bfd_target i386_aout_lynx_vec;
+extern const bfd_target i386_coff_lynx_vec;
+extern const bfd_target i386_aout_mach3_vec;
+extern const bfd_target i386_msdos_vec;
+extern const bfd_target i386_aout_nbsd_vec;
+extern const bfd_target i386_aout_os9k_vec;
+extern const bfd_target i386_pe_vec;
+extern const bfd_target i386_pei_vec;
+extern const bfd_target i860_coff_vec;
+extern const bfd_target icoff_be_vec;
+extern const bfd_target icoff_le_vec;
 extern const bfd_target ieee_vec;
-extern const bfd_target m68k4knetbsd_vec;
-extern const bfd_target m68kaux_coff_vec;
-extern const bfd_target m68kcoff_vec;
-extern const bfd_target m68kcoffun_vec;
-extern const bfd_target m68klinux_vec;
-extern const bfd_target m68knetbsd_vec;
-extern const bfd_target m68ksysvcoff_vec;
-extern const bfd_target m88kbcs_vec;
-extern const bfd_target m88kmach3_vec;
-extern const bfd_target m88kopenbsd_vec;
+extern const bfd_target m68k_aout_4knbsd_vec;
+extern const bfd_target m68k_coff_aux_vec;
+extern const bfd_target m68k_coff_vec;
+extern const bfd_target m68k_coff_un_vec;
+extern const bfd_target m68k_aout_linux_vec;
+extern const bfd_target m68k_aout_nbsd_vec;
+extern const bfd_target m68k_coff_sysv_vec;
+extern const bfd_target m88k_coff_bcs_vec;
+extern const bfd_target m88k_aout_mach3_vec;
+extern const bfd_target m88k_aout_obsd_vec;
 extern const bfd_target mach_o_be_vec;
 extern const bfd_target mach_o_le_vec;
 extern const bfd_target mach_o_fat_vec;
-extern const bfd_target mach_o_i386_vec;
-extern const bfd_target mach_o_x86_64_vec;
-extern const bfd_target mcore_pe_big_vec;
-extern const bfd_target mcore_pe_little_vec;
-extern const bfd_target mcore_pei_big_vec;
-extern const bfd_target mcore_pei_little_vec;
-extern const bfd_target mipslpe_vec;
-extern const bfd_target mipslpei_vec;
-extern const bfd_target newsos3_vec;
-extern const bfd_target nlm32_alpha_vec;
-extern const bfd_target nlm32_i386_vec;
-extern const bfd_target nlm32_powerpc_vec;
-extern const bfd_target nlm32_sparc_vec;
+extern const bfd_target i386_mach_o_vec;
+extern const bfd_target x86_64_mach_o_vec;
+extern const bfd_target mcore_pe_be_vec;
+extern const bfd_target mcore_pe_le_vec;
+extern const bfd_target mcore_pei_be_vec;
+extern const bfd_target mcore_pei_le_vec;
+extern const bfd_target mips_pe_le_vec;
+extern const bfd_target mips_pei_le_vec;
+extern const bfd_target m68k_aout_newsos3_vec;
+extern const bfd_target alpha_nlm32_vec;
+extern const bfd_target i386_nlm32_vec;
+extern const bfd_target powerpc_nlm32_vec;
+extern const bfd_target sparc_nlm32_vec;
 extern const bfd_target oasys_vec;
-extern const bfd_target pc532machaout_vec;
-extern const bfd_target pc532netbsd_vec;
+extern const bfd_target ns32k_aout_pc532mach_vec;
+extern const bfd_target ns32k_aout_pc532nbsd_vec;
 extern const bfd_target pdp11_aout_vec;
 extern const bfd_target pef_vec;
 extern const bfd_target pef_xlib_vec;
 extern const bfd_target plugin_vec;
-extern const bfd_target pmac_xcoff_vec;
-extern const bfd_target ppcboot_vec;
-extern const bfd_target riscix_vec;
-extern const bfd_target rs6000coff64_vec;
-extern const bfd_target rs6000coff_vec;
-extern const bfd_target shcoff_small_vec;
-extern const bfd_target shcoff_vec;
-extern const bfd_target shlcoff_small_vec;
-extern const bfd_target shlcoff_vec;
-extern const bfd_target shlpe_vec;
-extern const bfd_target shlpei_vec;
-extern const bfd_target som_vec;
-extern const bfd_target sparccoff_vec;
-extern const bfd_target sparcle_aout_vec;
-extern const bfd_target sparclinux_vec;
-extern const bfd_target sparclynx_aout_vec;
-extern const bfd_target sparclynx_coff_vec;
-extern const bfd_target sparcnetbsd_vec;
-extern const bfd_target sunos_big_vec;
+extern const bfd_target powerpc_xcoff_vec;
+extern const bfd_target powerpc_boot_vec;
+extern const bfd_target arm_aout_riscix_vec;
+extern const bfd_target rs6000_xcoff64_vec;
+extern const bfd_target rs6000_xcoff_vec;
+extern const bfd_target sh_coff_small_vec;
+extern const bfd_target sh_coff_vec;
+extern const bfd_target sh_coff_small_le_vec;
+extern const bfd_target sh_coff_le_vec;
+extern const bfd_target sh_pe_le_vec;
+extern const bfd_target sh_pei_le_vec;
+extern const bfd_target hppa_som_vec;
+extern const bfd_target sparc_coff_vec;
+extern const bfd_target sparc_aout_le_vec;
+extern const bfd_target sparc_aout_linux_vec;
+extern const bfd_target sparc_aout_lynx_vec;
+extern const bfd_target sparc_coff_lynx_vec;
+extern const bfd_target sparc_aout_nbsd_vec;
+extern const bfd_target sparc_aout_sunos_be_vec;
 extern const bfd_target sym_vec;
 extern const bfd_target tic30_aout_vec;
 extern const bfd_target tic30_coff_vec;
@@ -883,21 +883,21 @@ extern const bfd_target tic54x_coff1_beh_vec;
 extern const bfd_target tic54x_coff1_vec;
 extern const bfd_target tic54x_coff2_beh_vec;
 extern const bfd_target tic54x_coff2_vec;
-extern const bfd_target tic80coff_vec;
-extern const bfd_target vaxbsd_vec;
-extern const bfd_target vaxnetbsd_vec;
-extern const bfd_target vax1knetbsd_vec;
-extern const bfd_target versados_vec;
-extern const bfd_target vms_alpha_vec;
-extern const bfd_target vms_lib_txt_vec;
-extern const bfd_target w65_vec;
-extern const bfd_target we32kcoff_vec;
-extern const bfd_target x86_64pe_vec;
-extern const bfd_target x86_64pei_vec;
-extern const bfd_target x86_64pe_bigobj_vec;
-extern const bfd_target x86_64coff_vec;
-extern const bfd_target z80coff_vec;
-extern const bfd_target z8kcoff_vec;
+extern const bfd_target tic80_coff_vec;
+extern const bfd_target vax_aout_bsd_vec;
+extern const bfd_target vax_aout_nbsd_vec;
+extern const bfd_target vax_aout_1knbsd_vec;
+extern const bfd_target m68k_versados_vec;
+extern const bfd_target alpha_vms_vec;
+extern const bfd_target alpha_vms_lib_txt_vec;
+extern const bfd_target w65_coff_vec;
+extern const bfd_target we32k_coff_vec;
+extern const bfd_target x86_64_pe_vec;
+extern const bfd_target x86_64_pei_vec;
+extern const bfd_target x86_64_pe_be_vec;
+extern const bfd_target x86_64_coff_vec;
+extern const bfd_target z80_coff_vec;
+extern const bfd_target z8k_coff_vec;
 
 /* These are always included.  */
 extern const bfd_target srec_vec;
@@ -908,19 +908,19 @@ extern const bfd_target binary_vec;
 extern const bfd_target ihex_vec;
 
 /* All of the xvecs for core files.  */
-extern const bfd_target aix386_core_vec;
-extern const bfd_target cisco_core_big_vec;
-extern const bfd_target cisco_core_little_vec;
-extern const bfd_target hppabsd_core_vec;
-extern const bfd_target hpux_core_vec;
-extern const bfd_target irix_core_vec;
-extern const bfd_target netbsd_core_vec;
-extern const bfd_target osf_core_vec;
-extern const bfd_target ptrace_core_vec;
-extern const bfd_target sco5_core_vec;
-extern const bfd_target trad_core_vec;
-
-extern const bfd_target bfd_elf32_am33lin_vec;
+extern const bfd_target core_aix386_vec;
+extern const bfd_target core_cisco_be_vec;
+extern const bfd_target core_cisco_le_vec;
+extern const bfd_target core_hppabsd_vec;
+extern const bfd_target core_hpux_vec;
+extern const bfd_target core_irix_vec;
+extern const bfd_target core_netbsd_vec;
+extern const bfd_target core_osf_vec;
+extern const bfd_target core_ptrace_vec;
+extern const bfd_target core_sco5_vec;
+extern const bfd_target core_trad_vec;
+
+extern const bfd_target am33_elf32_linux_vec;
 static const bfd_target * const _bfd_target_vector[] =
 {
 #ifdef SELECT_VECS
@@ -938,339 +938,339 @@ static const bfd_target * const _bfd_target_vector[] =
           Vectors that don't compile on all systems, or aren't finished,
           should have an entry here with #if 0 around it, to show that
           it wasn't omitted by mistake.  */
-       &a_out_adobe_vec,
+       &aout_adobe_vec,
 #ifdef BFD64
-       &aix5coff64_vec,
+       &rs6000_xcoff64_aix_vec,
 #endif
-       &aout0_big_vec,
+       &aout0_be_vec,
 #if 0
        /* We have no way of distinguishing these from other a.out variants.  */
-       &aout_arm_big_vec,
-       &aout_arm_little_vec,
+       &arm_aout_be_vec,
+       &arm_aout_le_vec,
        /* No one seems to use this.  */
-       &aout_mips_big_vec,
+       &mips_aout_be_vec,
 #endif
-       &aout_mips_little_vec,
+       &mips_aout_le_vec,
 #if 0
-       &apollocoff_vec,
+       &m68k_coff_apollo_vec,
 #endif
-       &arm_epoc_pe_big_vec,
-       &arm_epoc_pe_little_vec,
-       &arm_epoc_pei_big_vec,
-       &arm_epoc_pei_little_vec,
-       &arm_wince_pe_big_vec,
-       &arm_wince_pe_little_vec,
-       &arm_wince_pei_big_vec,
-       &arm_wince_pei_little_vec,
-       &armcoff_big_vec,
-       &armcoff_little_vec,
-       &armnetbsd_vec,
-       &armpe_big_vec,
-       &armpe_little_vec,
-       &armpei_big_vec,
-       &armpei_little_vec,
-       &b_out_vec_big_host,
-       &b_out_vec_little_host,
+       &arm_pe_epoc_be_vec,
+       &arm_pe_epoc_le_vec,
+       &arm_pei_epoc_be_vec,
+       &arm_pei_epoc_le_vec,
+       &arm_pe_wince_be_vec,
+       &arm_pe_wince_le_vec,
+       &arm_pei_wince_be_vec,
+       &arm_pei_wince_le_vec,
+       &arm_coff_be_vec,
+       &arm_coff_le_vec,
+       &arm_aout_nbsd_vec,
+       &arm_pe_be_vec,
+       &arm_pe_le_vec,
+       &arm_pei_be_vec,
+       &arm_pei_le_vec,
+       &bout_be_vec,
+       &bout_le_vec,
 #ifdef BFD64
-       &bfd_pei_ia64_vec,
+       &ia64_pei_vec,
 #endif
-       &bfd_elf32_avr_vec,
-       &bfd_elf32_bfin_vec,
-       &bfd_elf32_bfinfdpic_vec,
+       &avr_elf32_vec,
+       &bfin_elf32_vec,
+       &bfin_elf32_fdpic_vec,
 
        /* This, and other vectors, may not be used in any *.mt configuration.
           But that does not mean they are unnecessary.  If configured with
           --enable-targets=all, objdump or gdb should be able to examine
           the file even if we don't recognize the machine type.  */
-       &bfd_elf32_big_generic_vec,
-       &bfd_elf32_bigarc_vec,
-       &bfd_elf32_bigarm_vec,
-       &bfd_elf32_bigarm_symbian_vec,
-       &bfd_elf32_bigarm_vxworks_vec,
+       &elf32_be_vec,
+       &arc_elf32_be_vec,
+       &arm_elf32_be_vec,
+       &arm_elf32_symbian_be_vec,
+       &arm_elf32_vxworks_be_vec,
 #ifdef BFD64
-       &bfd_elf32_bigmips_vec,
-       &bfd_elf32_bigmips_vxworks_vec,
+       &mips_elf32_be_vec,
+       &mips_elf32_vxworks_be_vec,
 #endif
-       &bfd_elf32_bigmoxie_vec,
-       &bfd_elf32_bignios2_vec,
-       &bfd_elf32_cr16_vec,
-       &bfd_elf32_cr16c_vec,
-       &bfd_elf32_cris_vec,
-       &bfd_elf32_crx_vec,
-       &bfd_elf32_d10v_vec,
-       &bfd_elf32_d30v_vec,
-       &bfd_elf32_dlx_big_vec,
-       &bfd_elf32_epiphany_vec,
-       &bfd_elf32_fr30_vec,
-       &bfd_elf32_frv_vec,
-       &bfd_elf32_frvfdpic_vec,
-       &bfd_elf32_h8300_vec,
-       &bfd_elf32_hppa_linux_vec,
-       &bfd_elf32_hppa_nbsd_vec,
-       &bfd_elf32_hppa_vec,
-       &bfd_elf32_i370_vec,
-       &bfd_elf32_i386_freebsd_vec,
-       &bfd_elf32_i386_nacl_vec,
-       &bfd_elf32_i386_sol2_vec,
-       &bfd_elf32_i386_vxworks_vec,
-       &bfd_elf32_i386_vec,
-       &bfd_elf32_i860_little_vec,
-       &bfd_elf32_i860_vec,
-       &bfd_elf32_i960_vec,
+       &moxie_elf32_be_vec,
+       &nios2_elf32_be_vec,
+       &cr16_elf32_vec,
+       &cr16c_elf32_vec,
+       &cris_elf32_vec,
+       &crx_elf32_vec,
+       &d10v_elf32_vec,
+       &d30v_elf32_vec,
+       &dlx_elf32_be_vec,
+       &epiphany_elf32_vec,
+       &fr30_elf32_vec,
+       &frv_elf32_vec,
+       &frv_elf32_fdpic_vec,
+       &h8300_elf32_vec,
+       &hppa_elf32_linux_vec,
+       &hppa_elf32_nbsd_vec,
+       &hppa_elf32_vec,
+       &i370_elf32_vec,
+       &i386_elf32_fbsd_vec,
+       &i386_elf32_nacl_vec,
+       &i386_elf32_sol2_vec,
+       &i386_elf32_vxworks_vec,
+       &i386_elf32_vec,
+       &i860_elf32_le_vec,
+       &i860_elf32_vec,
+       &i960_elf32_vec,
 #if 0
-       &bfd_elf32_ia64_big_vec,
+       &ia64_elf32_be_vec,
 #endif
 #ifdef BFD64
-       &bfd_elf32_ia64_hpux_big_vec,
+       &ia64_elf32_hpux_be_vec,
 #endif
-       &bfd_elf32_ip2k_vec,
-       &bfd_elf32_iq2000_vec,
-       &bfd_elf32_lm32_vec,
-       &bfd_elf32_little_generic_vec,
-       &bfd_elf32_littlearc_vec,
-       &bfd_elf32_littlearm_vec,
-       &bfd_elf32_littlearm_symbian_vec,
-       &bfd_elf32_littlearm_vxworks_vec,
+       &ip2k_elf32_vec,
+       &iq2000_elf32_vec,
+       &lm32_elf32_vec,
+       &elf32_le_vec,
+       &arc_elf32_le_vec,
+       &arm_elf32_le_vec,
+       &arm_elf32_symbian_le_vec,
+       &arm_elf32_vxworks_le_vec,
 #ifdef BFD64
-       &bfd_elf32_littlemips_vec,
-       &bfd_elf32_littlemips_vxworks_vec,
+       &mips_elf32_le_vec,
+       &mips_elf32_vxworks_le_vec,
 #endif
-       &bfd_elf32_littlemoxie_vec,
-       &bfd_elf32_littlenios2_vec,
-       &bfd_elf32_m32c_vec,
-       &bfd_elf32_m32r_vec,
-        &bfd_elf32_m32rle_vec,
-        &bfd_elf32_m32rlin_vec,
-        &bfd_elf32_m32rlelin_vec,
-       &bfd_elf32_m68hc11_vec,
-       &bfd_elf32_m68hc12_vec,
-       &bfd_elf32_m68k_vec,
-       &bfd_elf32_m88k_vec,
-       &bfd_elf32_mcore_big_vec,
-       &bfd_elf32_mcore_little_vec,
-       &bfd_elf32_mep_vec,
-       &bfd_elf32_metag_vec,
-       &bfd_elf32_microblaze_vec,
-       &bfd_elf32_mn10200_vec,
-       &bfd_elf32_mn10300_vec,
-       &bfd_elf32_mt_vec,
-       &bfd_elf32_msp430_vec,
-       &bfd_elf32_msp430_ti_vec,
+       &moxie_elf32_le_vec,
+       &nios2_elf32_le_vec,
+       &m32c_elf32_vec,
+       &m32r_elf32_vec,
+        &m32r_elf32_le_vec,
+        &m32r_elf32_linux_vec,
+        &m32r_elf32_linux_le_vec,
+       &m68hc11_elf32_vec,
+       &m68hc12_elf32_vec,
+       &m68k_elf32_vec,
+       &m88k_elf32_vec,
+       &mcore_elf32_be_vec,
+       &mcore_elf32_le_vec,
+       &mep_elf32_vec,
+       &metag_elf32_vec,
+       &microblaze_elf32_vec,
+       &mn10200_elf32_vec,
+       &mn10300_elf32_vec,
+       &mt_elf32_vec,
+       &msp430_elf32_vec,
+       &msp430_elf32_ti_vec,
 #ifdef BFD64
-       &bfd_elf32_nbigmips_vec,
-       &bfd_elf32_nlittlemips_vec,
-       &bfd_elf32_ntradbigmips_vec,
-       &bfd_elf32_ntradlittlemips_vec,
-       &bfd_elf32_ntradbigmips_freebsd_vec,
-       &bfd_elf32_ntradlittlemips_freebsd_vec,
+       &mips_elf32_n_be_vec,
+       &mips_elf32_n_le_vec,
+       &mips_elf32_ntrad_be_vec,
+       &mips_elf32_ntrad_le_vec,
+       &mips_elf32_ntradfbsd_be_vec,
+       &mips_elf32_ntradfbsd_le_vec,
 #endif
-       &bfd_elf32_nds32be_vec,
-       &bfd_elf32_nds32le_vec,
-       &bfd_elf32_nds32belin_vec,
-       &bfd_elf32_nds32lelin_vec,
-       &bfd_elf32_or1k_vec,
-       &bfd_elf32_pj_vec,
-       &bfd_elf32_pjl_vec,
-       &bfd_elf32_powerpc_vec,
-       &bfd_elf32_powerpc_vxworks_vec,
-       &bfd_elf32_powerpcle_vec,
-       &bfd_elf32_powerpc_freebsd_vec,
-       &bfd_elf32_rl78_vec,
-       &bfd_elf32_rx_be_vec,
-       &bfd_elf32_rx_be_ns_vec,
-       &bfd_elf32_rx_le_vec,
-       &bfd_elf32_s390_vec,
+       &nds32_elf32_be_vec,
+       &nds32_elf32_le_vec,
+       &nds32_elf32_linux_be_vec,
+       &nds32_elf32_linux_le_vec,
+       &or1k_elf32_vec,
+       &pj_elf32_vec,
+       &pj_elf32_le_vec,
+       &powerpc_elf32_vec,
+       &powerpc_elf32_vxworks_vec,
+       &powerpc_elf32_le_vec,
+       &powerpc_elf32_fbsd_vec,
+       &rl78_elf32_vec,
+       &rx_elf32_be_vec,
+       &rx_elf32_be_ns_vec,
+       &rx_elf32_le_vec,
+       &s390_elf32_vec,
 #ifdef BFD64
-       &bfd_elf32_bigscore_vec,
-       &bfd_elf32_littlescore_vec,
+       &score_elf32_be_vec,
+       &score_elf32_le_vec,
 #endif
-        &bfd_elf32_sh_vec,
-        &bfd_elf32_shbfd_vec,
-        &bfd_elf32_shblin_vec,
-        &bfd_elf32_shfd_vec,
-        &bfd_elf32_shl_vec,
-        &bfd_elf32_shl_symbian_vec,
-        &bfd_elf32_shlin_vec,
-       &bfd_elf32_shlnbsd_vec,
-       &bfd_elf32_shlvxworks_vec,
-       &bfd_elf32_shnbsd_vec,
-       &bfd_elf32_shvxworks_vec,
+        &sh_elf32_vec,
+        &sh_elf32_fdpic_be_vec,
+        &sh_elf32_linux_be_vec,
+        &sh_elf32_fdpic_le_vec,
+        &sh_elf32_le_vec,
+        &sh_elf32_symbian_le_vec,
+        &sh_elf32_linux_vec,
+       &sh_elf32_nbsd_le_vec,
+       &sh_elf32_vxworks_le_vec,
+       &sh_elf32_nbsd_vec,
+       &sh_elf32_vxworks_vec,
 #ifdef BFD64
-       &bfd_elf32_sh64_vec,
-       &bfd_elf32_sh64l_vec,
-       &bfd_elf32_sh64lnbsd_vec,
-       &bfd_elf32_sh64nbsd_vec,
-       &bfd_elf32_sh64lin_vec,
-       &bfd_elf32_sh64blin_vec,
+       &sh64_elf32_vec,
+       &sh64_elf32_le_vec,
+       &sh64_elf32_nbsd_le_vec,
+       &sh64_elf32_nbsd_vec,
+       &sh64_elf32_linux_vec,
+       &sh64_elf32_linux_be_vec,
 #endif
-       &bfd_elf32_sparc_vec,
-       &bfd_elf32_sparc_sol2_vec,
-       &bfd_elf32_sparc_vxworks_vec,
-       &bfd_elf32_spu_vec,
-       &bfd_elf32_tic6x_be_vec,
-       &bfd_elf32_tic6x_le_vec,
-       &bfd_elf32_tilegx_be_vec,
-       &bfd_elf32_tilegx_le_vec,
-       &bfd_elf32_tilepro_vec,
+       &sparc_elf32_vec,
+       &sparc_elf32_sol2_vec,
+       &sparc_elf32_vxworks_vec,
+       &spu_elf32_vec,
+       &tic6x_elf32_be_vec,
+       &tic6x_elf32_le_vec,
+       &tilegx_elf32_be_vec,
+       &tilegx_elf32_le_vec,
+       &tilepro_elf32_vec,
 #ifdef BFD64
-       &bfd_elf32_tradbigmips_vec,
-       &bfd_elf32_tradlittlemips_vec,
-       &bfd_elf32_tradbigmips_freebsd_vec,
-       &bfd_elf32_tradlittlemips_freebsd_vec,
+       &mips_elf32_trad_be_vec,
+       &mips_elf32_trad_le_vec,
+       &mips_elf32_tradfbsd_be_vec,
+       &mips_elf32_tradfbsd_le_vec,
 #endif
-       &bfd_elf32_us_cris_vec,
-       &bfd_elf32_v850_vec,
-       &bfd_elf32_v850_rh850_vec,
-       &bfd_elf32_vax_vec,
-       &bfd_elf32_xc16x_vec,
-       &bfd_elf32_xgate_vec,
-       &bfd_elf32_xstormy16_vec,
-       &bfd_elf32_xtensa_be_vec,
-       &bfd_elf32_xtensa_le_vec,
+       &cris_elf32_us_vec,
+       &v850_elf32_vec,
+       &v800_elf32_vec,
+       &vax_elf32_vec,
+       &xc16x_elf32_vec,
+       &xgate_elf32_vec,
+       &xstormy16_elf32_vec,
+       &xtensa_elf32_be_vec,
+       &xtensa_elf32_le_vec,
 #ifdef BFD64
-       &bfd_elf64_alpha_freebsd_vec,
-       &bfd_elf64_alpha_vec,
-       &bfd_elf64_big_generic_vec,
-       &bfd_elf64_bigmips_vec,
-       &bfd_elf64_bigaarch64_vec,
-       &bfd_elf32_bigaarch64_vec,
-       &bfd_elf64_hppa_linux_vec,
-       &bfd_elf64_hppa_vec,
-       &bfd_elf64_ia64_big_vec,
-       &bfd_elf64_ia64_hpux_big_vec,
-       &bfd_elf64_ia64_little_vec,
-       &bfd_elf64_ia64_vms_vec,
-       &bfd_elf64_little_generic_vec,
-       &bfd_elf64_littlemips_vec,
-       &bfd_elf64_littleaarch64_vec,
-       &bfd_elf32_littleaarch64_vec,
-       &bfd_elf64_mmix_vec,
-       &bfd_elf64_powerpc_vec,
-       &bfd_elf64_powerpcle_vec,
-       &bfd_elf64_powerpc_freebsd_vec,
-       &bfd_elf64_s390_vec,
-       &bfd_elf64_sh64_vec,
-       &bfd_elf64_sh64l_vec,
-       &bfd_elf64_sh64lnbsd_vec,
-       &bfd_elf64_sh64nbsd_vec,
-       &bfd_elf64_sh64lin_vec,
-       &bfd_elf64_sh64blin_vec,
-       &bfd_elf64_sparc_vec,
-       &bfd_elf64_sparc_freebsd_vec,
-       &bfd_elf64_sparc_sol2_vec,
-       &bfd_elf64_tilegx_be_vec,
-       &bfd_elf64_tilegx_le_vec,
-       &bfd_elf64_tradbigmips_vec,
-       &bfd_elf64_tradlittlemips_vec,
-       &bfd_elf64_tradbigmips_freebsd_vec,
-       &bfd_elf64_tradlittlemips_freebsd_vec,
-       &bfd_elf64_x86_64_freebsd_vec,
-       &bfd_elf64_x86_64_nacl_vec,
-       &bfd_elf64_x86_64_sol2_vec,
-       &bfd_elf64_x86_64_vec,
-       &bfd_elf32_x86_64_nacl_vec,
-       &bfd_elf32_x86_64_vec,
-       &bfd_elf64_l1om_freebsd_vec,
-       &bfd_elf64_l1om_vec,
-       &bfd_elf64_k1om_freebsd_vec,
-       &bfd_elf64_k1om_vec,
-       &bfd_mmo_vec,
+       &alpha_elf64_fbsd_vec,
+       &alpha_elf64_vec,
+       &elf64_be_vec,
+       &mips_elf64_be_vec,
+       &aarch64_elf64_be_vec,
+       &aarch64_elf32_be_vec,
+       &hppa_elf64_linux_vec,
+       &hppa_elf64_vec,
+       &ia64_elf64_be_vec,
+       &ia64_elf64_hpux_be_vec,
+       &ia64_elf64_le_vec,
+       &ia64_elf64_vms_vec,
+       &elf64_le_vec,
+       &mips_elf64_le_vec,
+       &aarch64_elf64_le_vec,
+       &aarch64_elf32_le_vec,
+       &mmix_elf64_vec,
+       &powerpc_elf64_vec,
+       &powerpc_elf64_le_vec,
+       &powerpc_elf64_fbsd_vec,
+       &s390_elf64_vec,
+       &sh64_elf64_vec,
+       &sh64_elf64_le_vec,
+       &sh64_elf64_nbsd_le_vec,
+       &sh64_elf64_nbsd_vec,
+       &sh64_elf64_linux_vec,
+       &sh64_elf64_linux_be_vec,
+       &sparc_elf64_vec,
+       &sparc_elf64_fbsd_vec,
+       &sparc_elf64_sol2_vec,
+       &tilegx_elf64_be_vec,
+       &tilegx_elf64_le_vec,
+       &mips_elf64_trad_be_vec,
+       &mips_elf64_trad_le_vec,
+       &mips_elf64_tradfbsd_be_vec,
+       &mips_elf64_tradfbsd_le_vec,
+       &x86_64_elf64_fbsd_vec,
+       &x86_64_elf64_nacl_vec,
+       &x86_64_elf64_sol2_vec,
+       &x86_64_elf64_vec,
+       &x86_64_elf32_nacl_vec,
+       &x86_64_elf32_vec,
+       &l1om_elf64_fbsd_vec,
+       &l1om_elf64_vec,
+       &k1om_elf64_fbsd_vec,
+       &k1om_elf64_vec,
+       &mmix_mmo_vec,
 #endif
-       &bfd_powerpc_pe_vec,
-       &bfd_powerpc_pei_vec,
-       &bfd_powerpcle_pe_vec,
-       &bfd_powerpcle_pei_vec,
+       &powerpc_pe_vec,
+       &powerpc_pei_vec,
+       &powerpc_pe_le_vec,
+       &powerpc_pei_le_vec,
        &cris_aout_vec,
 #ifdef BFD64
-       &demo_64_vec,   /* Only compiled if host has long-long support.  */
+       &aout64_vec,    /* Only compiled if host has long-long support.  */
 #endif
-       &ecoff_big_vec,
-       &ecoff_biglittle_vec,
-       &ecoff_little_vec,
+       &mips_ecoff_be_vec,
+       &mips_ecoff_bele_vec,
+       &mips_ecoff_le_vec,
 #ifdef BFD64
-       &ecoffalpha_little_vec,
+       &alpha_ecoff_le_vec,
 #endif
-       &go32coff_vec,
-       &go32stubbedcoff_vec,
-       &h8300coff_vec,
-       &h8500coff_vec,
+       &i386_coff_go32_vec,
+       &i386_coff_go32stubbed_vec,
+       &h8300_coff_vec,
+       &h8500_coff_vec,
 #if 0
        /* Since a.out files lack decent magic numbers, no way to recognize
           which kind of a.out file it is.  */
-       &host_aout_vec,
-       /* Clashes with sunos_big_vec magic no.  */
-       &hp300bsd_vec,
+       &aout_vec,
+       /* Clashes with sparc_aout_sunos_be_vec magic no.  */
+       &m68k_aout_hp300bsd_vec,
 #endif
-       &hp300hpux_vec,
-       &i386aout_vec,
-       &i386bsd_vec,
-       &i386coff_vec,
+       &m68k_aout_hp300hpux_vec,
+       &i386_aout_vec,
+       &i386_aout_bsd_vec,
+       &i386_coff_vec,
 #if 0
-       &i386dynix_vec,
+       &i386_aout_dynix_vec,
 #endif
-       &i386freebsd_vec,
+       &i386_aout_fbsd_vec,
 #if 0
        /* Since a.out files lack decent magic numbers, no way to recognize
           which kind of a.out file it is.  */
-       &i386linux_vec,
+       &i386_aout_linux_vec,
 #endif
-       &i386lynx_aout_vec,
-       &i386lynx_coff_vec,
+       &i386_aout_lynx_vec,
+       &i386_coff_lynx_vec,
 #if 0
        /* No distinguishing features for Mach 3 executables.  */
-       &i386mach3_vec,
+       &i386_aout_mach3_vec,
 #endif
-       &i386msdos_vec,
-       &i386netbsd_vec,
-       &i386os9k_vec,
-       &i386pe_vec,
-       &i386pei_vec,
+       &i386_msdos_vec,
+       &i386_aout_nbsd_vec,
+       &i386_aout_os9k_vec,
+       &i386_pe_vec,
+       &i386_pei_vec,
 #ifdef BFD64
-       &x86_64coff_vec,
-       &x86_64pe_vec,
-       &x86_64pei_vec,
-       &x86_64pe_bigobj_vec,
+       &x86_64_coff_vec,
+       &x86_64_pe_vec,
+       &x86_64_pei_vec,
+       &x86_64_pe_be_vec,
 #endif
-       &i860coff_vec,
-       &icoff_big_vec,
-       &icoff_little_vec,
+       &i860_coff_vec,
+       &icoff_be_vec,
+       &icoff_le_vec,
        &ieee_vec,
 #if 0
-       &m68k4knetbsd_vec,
-       &m68kaux_coff_vec,
+       &m68k_aout_4knbsd_vec,
+       &m68k_coff_aux_vec,
 #endif
-       &m68kcoff_vec,
-       &m68kcoffun_vec,
+       &m68k_coff_vec,
+       &m68k_coff_un_vec,
 #if 0
        /* Since a.out files lack decent magic numbers, no way to recognize
           which kind of a.out file it is.  */
-       &m68klinux_vec,
+       &m68k_aout_linux_vec,
 #endif
-       &m68knetbsd_vec,
-       &m68ksysvcoff_vec,
-       &m88kbcs_vec,
-       &m88kmach3_vec,
-       &m88kopenbsd_vec,
+       &m68k_aout_nbsd_vec,
+       &m68k_coff_sysv_vec,
+       &m88k_coff_bcs_vec,
+       &m88k_aout_mach3_vec,
+       &m88k_aout_obsd_vec,
        &mach_o_be_vec,
        &mach_o_le_vec,
        &mach_o_fat_vec,
-       &mach_o_i386_vec,
+       &i386_mach_o_vec,
 #ifdef BFD64
-       &mach_o_x86_64_vec,
+       &x86_64_mach_o_vec,
 #endif
-       &mcore_pe_big_vec,
-       &mcore_pe_little_vec,
-       &mcore_pei_big_vec,
-       &mcore_pei_little_vec,
-       &mipslpe_vec,
-       &mipslpei_vec,
-       &newsos3_vec,
+       &mcore_pe_be_vec,
+       &mcore_pe_le_vec,
+       &mcore_pei_be_vec,
+       &mcore_pei_le_vec,
+       &mips_pe_le_vec,
+       &mips_pei_le_vec,
+       &m68k_aout_newsos3_vec,
 #ifdef BFD64
-       &nlm32_alpha_vec,
+       &alpha_nlm32_vec,
 #endif
-       &nlm32_i386_vec,
-       &nlm32_powerpc_vec,
-       &nlm32_sparc_vec,
+       &i386_nlm32_vec,
+       &powerpc_nlm32_vec,
+       &sparc_nlm32_vec,
 #if 0
        /* We have no oasys tools anymore, so we can't test any of this
           anymore. If you want to test the stuff yourself, go ahead...
@@ -1280,8 +1280,8 @@ static const bfd_target * const _bfd_target_vector[] =
        &oasys_vec,
 #endif
 
-       &pc532machaout_vec,
-       &pc532netbsd_vec,
+       &ns32k_aout_pc532mach_vec,
+       &ns32k_aout_pc532nbsd_vec,
        &pdp11_aout_vec,
        &pef_vec,
        &pef_xlib_vec,
@@ -1290,31 +1290,31 @@ static const bfd_target * const _bfd_target_vector[] =
 #endif
 #if 0
        /* This has the same magic number as RS/6000.  */
-       &pmac_xcoff_vec,
+       &powerpc_xcoff_vec,
 #endif
-       &ppcboot_vec,
+       &powerpc_boot_vec,
 #if 0
        /* We have no way of distinguishing these from other a.out variants.  */
-       &riscix_vec,
+       &arm_aout_riscix_vec,
 #endif
 #ifdef BFD64
-       &rs6000coff64_vec,
+       &rs6000_xcoff64_vec,
 #endif
-       &rs6000coff_vec,
-       &shcoff_small_vec,
-       &shcoff_vec,
-       &shlcoff_small_vec,
-       &shlcoff_vec,
-       &shlpe_vec,
-       &shlpei_vec,
-       &som_vec,
-       &sparccoff_vec,
-       &sparcle_aout_vec,
-       &sparclinux_vec,
-       &sparclynx_aout_vec,
-       &sparclynx_coff_vec,
-       &sparcnetbsd_vec,
-       &sunos_big_vec,
+       &rs6000_xcoff_vec,
+       &sh_coff_small_vec,
+       &sh_coff_vec,
+       &sh_coff_small_le_vec,
+       &sh_coff_le_vec,
+       &sh_pe_le_vec,
+       &sh_pei_le_vec,
+       &hppa_som_vec,
+       &sparc_coff_vec,
+       &sparc_aout_le_vec,
+       &sparc_aout_linux_vec,
+       &sparc_aout_lynx_vec,
+       &sparc_coff_lynx_vec,
+       &sparc_aout_nbsd_vec,
+       &sparc_aout_sunos_be_vec,
        &sym_vec,
        &tic30_aout_vec,
        &tic30_coff_vec,
@@ -1324,20 +1324,20 @@ static const bfd_target * const _bfd_target_vector[] =
        &tic54x_coff1_vec,
        &tic54x_coff2_beh_vec,
        &tic54x_coff2_vec,
-       &tic80coff_vec,
-       &vaxbsd_vec,
-       &vaxnetbsd_vec,
-       &vax1knetbsd_vec,
-       &versados_vec,
+       &tic80_coff_vec,
+       &vax_aout_bsd_vec,
+       &vax_aout_nbsd_vec,
+       &vax_aout_1knbsd_vec,
+       &m68k_versados_vec,
 #ifdef BFD64
-       &vms_alpha_vec,
+       &alpha_vms_vec,
 #endif
-        &vms_lib_txt_vec,
-       &w65_vec,
-       &we32kcoff_vec,
-       &z80coff_vec,
-       &z8kcoff_vec,
-       &bfd_elf32_am33lin_vec,
+        &alpha_vms_lib_txt_vec,
+       &w65_coff_vec,
+       &we32k_coff_vec,
+       &z80_coff_vec,
+       &z8k_coff_vec,
+       &am33_elf32_linux_vec,
 #endif /* not SELECT_VECS */
 
 /* Always support S-records, for convenience.  */
@@ -1355,38 +1355,38 @@ static const bfd_target * const _bfd_target_vector[] =
 /* Add any required traditional-core-file-handler.  */
 
 #ifdef AIX386_CORE
-       &aix386_core_vec,
+       &core_aix386_vec,
 #endif
 #if 0
        /* We don't include cisco_core_*_vec.  Although it has a magic number,
           the magic number isn't at the beginning of the file, and thus
           might spuriously match other kinds of files.  */
-       &cisco_core_big_vec,
-       &cisco_core_little_vec,
+       &core_cisco_be_vec,
+       &core_cisco_le_vec,
 #endif
 #ifdef HPPABSD_CORE
-       &hppabsd_core_vec,
+       &core_hppabsd_vec,
 #endif
 #ifdef HPUX_CORE
-       &hpux_core_vec,
+       &core_hpux_vec,
 #endif
 #ifdef IRIX_CORE
-       &irix_core_vec,
+       &core_irix_vec,
 #endif
 #ifdef NETBSD_CORE
-       &netbsd_core_vec,
+       &core_netbsd_vec,
 #endif
 #ifdef OSF_CORE
-       &osf_core_vec,
+       &core_osf_vec,
 #endif
 #ifdef PTRACE_CORE
-       &ptrace_core_vec,
+       &core_ptrace_vec,
 #endif
 #ifdef SCO5_CORE
-       &sco5_core_vec,
+       &core_sco5_vec,
 #endif
 #ifdef TRAD_CORE
-       &trad_core_vec,
+       &core_trad_vec,
 #endif
 
        NULL /* end of list marker */
@@ -1586,7 +1586,7 @@ FUNCTION
 SYNOPSIS
        const bfd_target *bfd_get_target_info (const char *target_name,
                                               bfd *abfd,
-                                              bfd_boolean *is_bigendian,
+                                              bfd_boolean *is_bigendian,
                                               int *underscoring,
                                               const char **def_target_arch);
 DESCRIPTION
@@ -1655,7 +1655,7 @@ bfd_get_target_info (const char *target_name, bfd *abfd,
                    {
                      *hyp = 0;
                      if (_bfd_find_arch_match (new_tname, arches,
-                                               def_target_arch))
+                                               def_target_arch))
                        break;
                    }
                }
index 3827e2e43d9bb296c8fd7e4b26d7202c59b93024..ce1231edd8877d413667d152db83c518b33876cb 100644 (file)
@@ -265,7 +265,7 @@ swap_abort (void)
 #define        NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
 #define        NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
 
-const bfd_target trad_core_vec =
+const bfd_target core_trad_vec =
   {
     "trad-core",
     bfd_target_unknown_flavour,
index f592cdc1da07bb9aa2c8837714f2f6192b895f17..58614ef5a4282dd9799a85ea6039d291350ad094 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (vax1knetbsd_,OP)
+#define MY(OP) CONCAT2 (vax_aout_1knbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-vax1k-netbsd"
index e80e3f2d7847827aeb95ae82fc25f8d68614b4c7..54e8a32f4a45f060dde9e114546d8b8b97598c26 100644 (file)
@@ -28,7 +28,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate the
    tokens.  */
-#define MY(OP) CONCAT2 (vaxbsd_,OP)
+#define MY(OP) CONCAT2 (vax_aout_bsd_,OP)
 
 #define TARGETNAME "a.out-vax-bsd"
 
index e31b44dee691c7f070e4fd668617b8183d8af089..faf507ee0149a6de62dfcc11095e81803eaee9f6 100644 (file)
@@ -30,7 +30,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (vaxnetbsd_,OP)
+#define MY(OP) CONCAT2 (vax_aout_nbsd_,OP)
 
 /* This needs to start with a.out so GDB knows it is an a.out variant.  */
 #define TARGETNAME "a.out-vax-netbsd"
index a2dbdf5032ecd368796ed730108dc6d44c4c7ef8..2d49458566a1568bc1971ce05bfd47713026ffce 100644 (file)
@@ -820,7 +820,7 @@ versados_canonicalize_reloc (bfd *abfd,
 #define versados_bfd_final_link                       _bfd_generic_final_link
 #define versados_bfd_link_split_section               _bfd_generic_link_split_section
 
-const bfd_target versados_vec =
+const bfd_target m68k_versados_vec =
 {
   "versados",                  /* Name.  */
   bfd_target_versados_flavour,
index e038f1a7b4fceb1a0659cf7c90e7ca66c082081e..1d2250e979bdf7598508e8e6d58a7369ab7076df 100644 (file)
@@ -9255,7 +9255,7 @@ bfd_vms_get_data (bfd *abfd)
 #define alpha_vms_canonicalize_dynamic_reloc \
   _bfd_nodynamic_canonicalize_dynamic_reloc
 
-const bfd_target vms_alpha_vec =
+const bfd_target alpha_vms_vec =
 {
   "vms-alpha",                 /* Name.  */
   bfd_target_evax_flavour,
index 21331cdf83e7b8632ccff6b3e361418b513104d7..dbacc33e975e5130610fccb3113189792389e309 100644 (file)
@@ -2311,7 +2311,7 @@ _bfd_vms_lib_write_archive_contents (bfd *arch)
 /* Add a target for text library.  This costs almost nothing and is useful to
    read VMS library on the host.  */
 
-const bfd_target vms_lib_txt_vec =
+const bfd_target alpha_vms_lib_txt_vec =
 {
   "vms-libtxt",                        /* Name.  */
   bfd_target_unknown_flavour,
index f0a0251d3213b6e45c189ed8c28d691f110497b9..922317f68a0921e493dc9fd0b6e883d52d7f796f 100644 (file)
@@ -1,3 +1,8 @@
+2014-05-02  Alan Modra  <amodra@gmail.com>
+
+       * emul_aix.c: Update bfd target vector naming.
+       * testsuite/binutils-all/objcopy.exp: Likewise.
+
 2014-04-24  Christian Svensson  <blue@cmd.nu>
 
        * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
index e891e78c2a7088cb61db382a09babd045faea0ee..78cccccffb19b423f4e277497e393d9063727c57 100644 (file)
@@ -50,17 +50,17 @@ ar_emul_aix_usage (FILE *fp)
 static bfd_boolean
 check_aix (bfd *try_bfd)
 {
-  extern const bfd_target rs6000coff_vec;
-  extern const bfd_target rs6000coff64_vec;
-  extern const bfd_target aix5coff64_vec;
+  extern const bfd_target rs6000_xcoff_vec;
+  extern const bfd_target rs6000_xcoff64_vec;
+  extern const bfd_target rs6000_xcoff64_aix_vec;
 
   if (bfd_check_format (try_bfd, bfd_object))
     {
-      if (!X32 && try_bfd->xvec == &rs6000coff_vec)
+      if (!X32 && try_bfd->xvec == &rs6000_xcoff_vec)
        return FALSE;
 
-      if (!X64 && (try_bfd->xvec == &rs6000coff64_vec
-                  || try_bfd->xvec == &aix5coff64_vec))
+      if (!X64 && (try_bfd->xvec == &rs6000_xcoff64_vec
+                  || try_bfd->xvec == &rs6000_xcoff64_aix_vec))
        return FALSE;
     }
   return TRUE;
index 6159b9d88279bacbf7230c8084563f53e31eebec..a7e13966be291445d7b8a5c4f799796eecb1786d 100644 (file)
@@ -980,10 +980,10 @@ if [is_elf_format] {
     # The symbol table for some MIPS targets is sorted differently than
     # the ELF canonical order, so the regexps in localize-hidden-1.d fail
     # to match.  These tests must be matched to targets for which
-    # targ_defvec=bfd_elf32_bigmips_vec,
-    # targ_defvec=bfd_elf32_littlemips_vec,
-    # targ_defvec=bfd_elf32_nbigmips_vec or
-    # targ_defvec=bfd_elf32_nlittlemips_vec in config.bfd.  When syncing,
+    # targ_defvec=mips_elf32_be_vec,
+    # targ_defvec=mips_elf32_le_vec,
+    # targ_defvec=mips_elf32_n_be_vec or
+    # targ_defvec=mips_elf32_n_le_vec in config.bfd.  When syncing,
     # don't forget that earlier case-matches trump later ones.
     if { ![istarget "mips*-sde-elf*"] && ![istarget "mips*-mti-elf*"]
          && ![istarget "mips64*-*-openbsd*"] } {
index 150df06cab63dfcaba747c749bbb42782cdf6e7f..9decdaabb4448be23951d6cdea8d64b75fd34f32 100644 (file)
@@ -1,3 +1,10 @@
+2014-05-02  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/metagelf.em: Update bfd target vector naming.
+       * emultempl/nios2elf.em: Likewise.
+       * emultempl/spuelf.em: Likewise.
+       * emultempl/tic6xdsbt.em: Likewise.
+
 2014-04-22  Christian Svensson  <blue@cmd.nu>
 
        * Makefile.am: Remove openrisc and or32 support.  Add support for or1k.
index 7aaf1688a6dd1048ec27d16d7956a580d94845be..1f77ecd0a274efec76ac5d6b374f3dac8b281f19 100644 (file)
@@ -45,9 +45,9 @@ static bfd_signed_vma group_size = 1;
 static void
 metagelf_create_output_section_statements (void)
 {
-  extern const bfd_target bfd_elf32_metag_vec;
+  extern const bfd_target metag_elf32_vec;
 
-  if (link_info.output_bfd->xvec != &bfd_elf32_metag_vec)
+  if (link_info.output_bfd->xvec != &metag_elf32_vec)
     return;
 
   stub_file = lang_add_input_file ("linker stubs",
index 6936f1158da712a9f91f27b5d26e221146b9844f..991a11b9f2f897abc7b0ee2354d143b60095be10 100644 (file)
@@ -41,10 +41,10 @@ static int need_laying_out = 0;
 static void
 nios2elf_create_output_section_statements (void)
 {
-  extern const bfd_target bfd_elf32_littlenios2_vec, bfd_elf32_bignios2_vec;
+  extern const bfd_target nios2_elf32_le_vec, nios2_elf32_be_vec;
 
-  if (link_info.output_bfd->xvec != &bfd_elf32_littlenios2_vec
-      && link_info.output_bfd->xvec != &bfd_elf32_bignios2_vec)
+  if (link_info.output_bfd->xvec != &nios2_elf32_le_vec
+      && link_info.output_bfd->xvec != &nios2_elf32_be_vec)
     return;
 
   /* If --no-relax was not explicitly specified by the user, enable
index 5167b35a75763cc689244e2bcecc694472b5eea8..1b4d72f0dfbae19b54104cd55f65b9733a9ecddb 100644 (file)
@@ -89,9 +89,9 @@ static const struct _ovl_stream icache_mgr_stream = {
 static int
 is_spu_target (void)
 {
-  extern const bfd_target bfd_elf32_spu_vec;
+  extern const bfd_target spu_elf32_vec;
 
-  return link_info.output_bfd->xvec == &bfd_elf32_spu_vec;
+  return link_info.output_bfd->xvec == &spu_elf32_vec;
 }
 
 /* Create our note section.  */
index b6691fdcfcb0f6e5b98ba83c1c39d7810756e710..ca957c4bcfeeb026d0483e5159c39267cbdd4056 100644 (file)
@@ -36,19 +36,19 @@ static int merge_exidx_entries = -1;
 static int
 is_tic6x_target (void)
 {
-  extern const bfd_target bfd_elf32_tic6x_le_vec;
-  extern const bfd_target bfd_elf32_tic6x_be_vec;
-  extern const bfd_target bfd_elf32_tic6x_linux_le_vec;
-  extern const bfd_target bfd_elf32_tic6x_linux_be_vec;
-  extern const bfd_target bfd_elf32_tic6x_elf_le_vec;
-  extern const bfd_target bfd_elf32_tic6x_elf_be_vec;
-
-  return (link_info.output_bfd->xvec == &bfd_elf32_tic6x_le_vec
-         || link_info.output_bfd->xvec == &bfd_elf32_tic6x_be_vec
-         || link_info.output_bfd->xvec == &bfd_elf32_tic6x_linux_le_vec
-         || link_info.output_bfd->xvec == &bfd_elf32_tic6x_linux_be_vec
-         || link_info.output_bfd->xvec == &bfd_elf32_tic6x_elf_le_vec
-         || link_info.output_bfd->xvec == &bfd_elf32_tic6x_elf_be_vec);
+  extern const bfd_target tic6x_elf32_le_vec;
+  extern const bfd_target tic6x_elf32_be_vec;
+  extern const bfd_target tic6x_elf32_linux_le_vec;
+  extern const bfd_target tic6x_elf32_linux_be_vec;
+  extern const bfd_target tic6x_elf32_c6000_le_vec;
+  extern const bfd_target tic6x_elf32_c6000_be_vec;
+
+  return (link_info.output_bfd->xvec == &tic6x_elf32_le_vec
+         || link_info.output_bfd->xvec == &tic6x_elf32_be_vec
+         || link_info.output_bfd->xvec == &tic6x_elf32_linux_le_vec
+         || link_info.output_bfd->xvec == &tic6x_elf32_linux_be_vec
+         || link_info.output_bfd->xvec == &tic6x_elf32_c6000_le_vec
+         || link_info.output_bfd->xvec == &tic6x_elf32_c6000_be_vec);
 }
 
 /* Pass params to backend.  */