mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
4c63da97a7
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.
18 lines
304 B
C
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"
|