darling-gdb/gas/config/e-i386aout.c
Alan Modra 4c63da97a7 This set of patches add support for aout emulation on the x86
assembler.  ie. You will be able to do "as --em=i386aout" on an x86
linux-elf assembler to generate aout format object files, rather than
using a separate assembler.  The aout emulation is enabled by giving
"--enable-targets=i386-linuxaout" to configure.
Oh yeah, there's a couple of fixes too.  Error messages shouldn't be
passed to printf in the format arg just in case someone puts a `%' in
the message.
2000-01-26 22:48:31 +00:00

18 lines
304 B
C

#include "as.h"
#include "emul.h"
static const char *
i386aout_bfd_name ()
{
abort ();
return NULL;
}
#define emul_bfd_name i386aout_bfd_name
#define emul_format &aout_format_ops
#define emul_name "i386aout"
#define emul_struct_name i386aout
#define emul_default_endian 0
#include "emul-target.h"