aboutsummaryrefslogtreecommitdiff
path: root/gas/config/e-mipself.c
blob: eea72f5165c77fdaa59e01967ec6d2333da37bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include "as.h"
#include "emul.h"

static const char *mipself_bfd_name PARAMS ((void));

static const char *
mipself_bfd_name ()
{
  abort ();
  return NULL;
}

#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"

#undef emul_name
#undef emul_struct_name
#undef emul_default_endian

#define emul_name	"mipself"
#define emul_struct_name mipself
#define emul_default_endian 2
#include "emul-target.h"