aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-11 10:11:37 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-11 10:11:37 +0000
commitbbc8d4849feb14c71603164f5acde4aa58e7b44e (patch)
tree7a3e41c4bf203d68e0b093782a8e125a32124394 /bfd/targets.c
parent600d4864081c1969a5575f91564d8cb21c8e6807 (diff)
downloadgdb-bbc8d4849feb14c71603164f5acde4aa58e7b44e.zip
gdb-bbc8d4849feb14c71603164f5acde4aa58e7b44e.tar.gz
gdb-bbc8d4849feb14c71603164f5acde4aa58e7b44e.tar.bz2
Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index dd07784..192dda3 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -20,8 +20,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$ */
-#include <sysdep.h>
#include "bfd.h"
+#include "sysdep.h"
#include "libbfd.h"
/*doc*
@@ -298,6 +298,7 @@ extern bfd_target oasys_vec;
extern bfd_target m88k_bcs_vec;
extern bfd_target m68kcoff_vec;
extern bfd_target i386coff_vec;
+extern bfd_target i386aout_vec;
extern bfd_target a29kcoff_big_vec;
#ifdef SELECT_VECS
@@ -343,6 +344,7 @@ extern bfd_target DEFAULT_VECTOR;
#define SREC_VEC srec_vec
#define M68KCOFF_VEC m68kcoff_vec
#define I386COFF_VEC i386coff_vec
+#define I386AOUT_VEC i386aout_vec
#define A29KCOFF_BIG_VEC a29kcoff_big_vec
#endif
@@ -356,6 +358,10 @@ bfd_target *target_vector[] = {
&I386COFF_VEC,
#endif
+#ifdef I386AOUT_VEC
+ &I386AOUT_VEC,
+#endif
+
#ifdef ECOFF_LITTLE_VEC
&ECOFF_LITTLE_VEC,
#endif