+Fri Jul 9 00:43:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * aoutf1.h: Add definition of MACHTYPE_OK.
+
Thu Jul 8 13:43:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* hosts/i386bsd.h: Conditionalize HOST_STACK_END_ADDR on __bsdi__.
#include "aout/stab_gnu.h"
#include "aout/ar.h"
+/* This is needed to reject a NewsOS file, e.g. in
+ gdb/testsuite/gdb.t10/crossload.exp. */
+#define MACHTYPE_OK(mtype) ((mtype) == M_68010 || (mtype) == M_68020 \
+ || (mtype) == M_SPARC)
+
/*
The file @code{aoutf1.h} contains the code for BFD's
a.out back end. Control over the generated back end is given by these
choose_reloc_size(abfd);
+#if 0
/* Some tools want this to be 0, some tools want this to be one.
Today, it seems that 0 is the most important setting (PR1927) */
N_SET_FLAGS (*execp, 0x0);
+#else
+
+ /* Fri Jun 11 14:23:31 PDT 1993
+ FIXME
+ Today's optimal setting is 1. This is a pain, since it
+ reopens 1927. This should be readdressed by creating a new
+ target for each each supported, giving perhaps sun3/m68k
+ and sun4/sparc a.out formats.
+ */
+ N_SET_FLAGS (*execp, 1);
+#endif
WRITE_HEADERS(abfd, execp);
char external_core[1];
} *mergem;
- bfd_error = system_call_error;
-
if (bfd_read ((PTR)longbuf, 1, sizeof (longbuf), abfd) !=
sizeof (longbuf))
return 0;