aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-03-08 04:41:13 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-03-08 04:41:13 +0000
commit917666603beb1b97986a83e670781e94879b8e5c (patch)
tree977f94cf84ad9ef743f4480c6fd39f42d16c52d0 /bfd
parent34410e95418fbd77a6632276893177b8632e9a03 (diff)
downloadgdb-917666603beb1b97986a83e670781e94879b8e5c.zip
gdb-917666603beb1b97986a83e670781e94879b8e5c.tar.gz
gdb-917666603beb1b97986a83e670781e94879b8e5c.tar.bz2
* 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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/targets.c20
2 files changed, 25 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0c6df02..2430f29 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,14 @@
+start-sanitize-arc
+Tue Mar 7 20:34:43 1995 Doug Evans <dje@chestnut.cygnus.com>
+
+ * 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 <ian@cygnus.com>
* coffcode.h (bfd_coff_backend_data): Add new field
diff --git a/bfd/targets.c b/bfd/targets.c
index 9ede7d5..b3103d0 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,