From 917666603beb1b97986a83e670781e94879b8e5c Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 8 Mar 1995 04:41:13 +0000 Subject: [PATCH] * configure.in (SELECT_VECS): Split bfd_elf32_arc_vec into big/little. * targets.c (bfd_target_vector): Likewise. * elf32-arc.c (TARGET_BIG_SYM): Define. (TARGET_BIG_NAME): Define. * config/arc-elf.mt (DEFAULT_VECTOR): Set to bfd_elf32_littlearc_vec. (SELECT_VECS): Add bfd_elf32_bigarc_vec. --- bfd/ChangeLog | 11 +++++++++++ bfd/targets.c | 20 ++++++++++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0c6df02df46..2430f291bc0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +start-sanitize-arc +Tue Mar 7 20:34:43 1995 Doug Evans + + * configure.in (SELECT_VECS): Split bfd_elf32_arc_vec into big/little. + * targets.c (bfd_target_vector): Likewise. + * elf32-arc.c (TARGET_BIG_SYM): Define. + (TARGET_BIG_NAME): Define. + * config/arc-elf.mt (DEFAULT_VECTOR): Set to bfd_elf32_littlearc_vec. + (SELECT_VECS): Add bfd_elf32_bigarc_vec. +end-sanitize-arc + Tue Mar 7 12:23:47 1995 Ian Lance Taylor * coffcode.h (bfd_coff_backend_data): Add new field diff --git a/bfd/targets.c b/bfd/targets.c index 9ede7d5f914..b3103d0b96e 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1,5 +1,5 @@ /* Generic target-file-type support for the BFD library. - Copyright 1990, 91, 92, 93, 1994 Free Software Foundation, Inc. + Copyright 1990, 91, 92, 93, 94, 1995 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -146,7 +146,9 @@ DESCRIPTION . bfd_target_tekhex_flavour, . bfd_target_srec_flavour, . bfd_target_som_flavour, -. bfd_target_os9k_flavour}; +. bfd_target_os9k_flavour, +. bfd_target_msdos_flavour +.}; . .{* Forward declaration. *} .typedef struct bfd_link_info _bfd_link_info; @@ -351,7 +353,7 @@ The general target vector. . long (*_bfd_canonicalize_reloc) PARAMS ((bfd *, sec_ptr, arelent **, . struct symbol_cache_entry **)); . {* See documentation on reloc types. *} -. CONST struct reloc_howto_struct * +. reloc_howto_type * . (*reloc_type_lookup) PARAMS ((bfd *abfd, . bfd_reloc_code_real_type code)); . @@ -431,7 +433,8 @@ extern const bfd_target apollocoff_vec; extern const bfd_target b_out_vec_big_host; extern const bfd_target b_out_vec_little_host; /* start-sanitize-arc */ -extern const bfd_target bfd_elf32_arc_vec; +extern const bfd_target bfd_elf32_bigarc_vec; +extern const bfd_target bfd_elf32_littlearc_vec; /* end-sanitize-arc */ extern const bfd_target bfd_elf32_big_generic_vec; extern const bfd_target bfd_elf32_bigmips_vec; @@ -467,6 +470,7 @@ 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 icoff_big_vec; extern const bfd_target icoff_little_vec; @@ -551,15 +555,18 @@ const bfd_target * const bfd_target_vector[] = { 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, /* start-sanitize-arc */ - &bfd_elf32_arc_vec, + &bfd_elf32_bigarc_vec, /* end-sanitize-arc */ - &bfd_elf32_big_generic_vec, &bfd_elf32_bigmips_vec, &bfd_elf32_hppa_vec, &bfd_elf32_i386_vec, &bfd_elf32_i860_vec, &bfd_elf32_little_generic_vec, +/* start-sanitize-arc */ + &bfd_elf32_littlearc_vec, +/* end-sanitize-arc */ &bfd_elf32_littlemips_vec, &bfd_elf32_m68k_vec, &bfd_elf32_m88k_vec, @@ -612,6 +619,7 @@ const bfd_target * const bfd_target_vector[] = { /* No distinguishing features for Mach 3 executables. */ &i386mach3_vec, #endif + &i386msdos_vec, &i386netbsd_vec, &i386os9k_vec, &icoff_big_vec, -- 2.30.2