aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
commit23b0b55855895b0654f2c7916f953b802398bb25 (patch)
tree8b511ccc3c797fff05a84445b4b4674707fbcf32 /bfd/targets.c
parent9b4641a629b4505034880403da468e75c4e329b4 (diff)
downloadgdb-23b0b55855895b0654f2c7916f953b802398bb25.zip
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.gz
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.bz2
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index e4166be..cec1b6f 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -26,7 +26,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "bfd.h"
#include "libbfd.h"
-
+extern bfd_target ecoff_little_vec;
+extern bfd_target ecoff_big_vec;
extern bfd_target aout_little_vec;
extern bfd_target aout_big_vec;
extern bfd_target srec_vec;
@@ -46,6 +47,8 @@ extern bfd_target m88k_bcs_vec;
#endif /* GNU960 */
#ifndef RESTRICTED
+#define ECOFF_LITTLE_VEC ecoff_little_vec
+#define ECOFF_BIG_VEC ecoff_big_vec
#define ICOFF_LITTLE_VEC icoff_little_vec
#define ICOFF_BIG_VEC icoff_big_vec
#define B_OUT_VEC_LITTLE_HOST b_out_vec_little_host
@@ -63,6 +66,14 @@ bfd_target *target_vector[] = {
&DEFAULT_VECTOR,
#endif /* DEFAULT_VECTOR */
+#ifdef ECOFF_LITTLE_VEC
+ &ECOFF_LITTLE_VEC,
+#endif
+
+#ifdef ECOFF_BIG_VEC
+ &ECOFF_BIG_VEC,
+#endif
+
#ifdef IEEE_VEC
&IEEE_VEC,
#endif /* IEEE_VEC */