binutils-gdb/gas/config/e-mipself.c
Ken Raeburn e7757ad0bc First cut at handling multiple emulation modes for some MIPS targets.
Mostly works, not entirely.
Details in ChangeLog.
1995-05-10 23:08:40 +00:00

26 lines
477 B
C

#include "as.h"
#include "emul.h"
static const char *
mipself_bfd_name ()
{
abort ();
}
#define emul_bfd_name mipself_bfd_name
#define emul_format &elf_format_ops
#define emul_name "mipsbelf"
#define emul_struct_name mipsbelf
#define emul_default_endian 1
#include "emul-target.h"
#undef emul_name
#undef emul_struct_name
#undef emul_default_endian
#define emul_name "mipslelf"
#define emul_struct_name mipslelf
#define emul_default_endian 0
#include "emul-target.h"