aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-25 01:51:10 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-25 01:51:10 +0000
commit20fdc627fa5c4f741528cf97bedef6d2da159021 (patch)
tree77fba58730b8df1eb841619e2a9c9f7248d1e38f /bfd/targets.c
parentebec46845c11fbec1a0f9fcb4c2c1c604a6aff66 (diff)
downloadgdb-20fdc627fa5c4f741528cf97bedef6d2da159021.zip
gdb-20fdc627fa5c4f741528cf97bedef6d2da159021.tar.gz
gdb-20fdc627fa5c4f741528cf97bedef6d2da159021.tar.bz2
Added 386 support!
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 2036d5b..b1338ad 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -39,6 +39,7 @@ extern bfd_target ieee_vec;
extern bfd_target oasys_vec;
extern bfd_target m88k_bcs_vec;
extern bfd_target m68kcoff_vec;
+extern bfd_target i386coff_vec;
#ifdef GNU960
#define ICOFF_LITTLE_VEC icoff_little_vec
@@ -61,6 +62,7 @@ extern bfd_target m68kcoff_vec;
#define M88K_BCS_VEC m88k_bcs_vec
#define SREC_VEC srec_vec
#define M68KCOFF_VEC m68kcoff_vec
+#define I386COFF_VEC i386coff_vec
#endif
bfd_target *target_vector[] = {
@@ -68,6 +70,10 @@ bfd_target *target_vector[] = {
&DEFAULT_VECTOR,
#endif /* DEFAULT_VECTOR */
+#ifdef I386COFF_VEC
+ &I386COFF_VEC,
+#endif /* I386COFF_VEC */
+
#ifdef ECOFF_LITTLE_VEC
&ECOFF_LITTLE_VEC,
#endif
@@ -75,9 +81,6 @@ bfd_target *target_vector[] = {
#ifdef ECOFF_BIG_VEC
&ECOFF_BIG_VEC,
#endif
-#ifdef M68KCOFF_VEC
- &M68KCOFF_VEC,
-#endif
#ifdef IEEE_VEC
&IEEE_VEC,
#endif /* IEEE_VEC */
@@ -121,5 +124,10 @@ bfd_target *target_vector[] = {
&B_OUT_VEC_BIG_HOST,
#endif /* B_OUT_VEC_BIG_HOST */
+#ifdef M68KCOFF_VEC
+ &M68KCOFF_VEC,
+#endif /* M68KCOFF_VEC */
+
+
NULL, /* end of list marker */
};