1 /* Copyright 2007 Free Software Foundation, Inc.
3 This file is part of GAS, the GNU Assembler.
5 GAS is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
10 GAS is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GAS; see the file COPYING. If not, write to the Free
17 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
23 static const char *mipself_bfd_name (void);
26 mipself_bfd_name (void)
32 #define emul_bfd_name mipself_bfd_name
33 #define emul_format &elf_format_ops
35 #define emul_name "mipsbelf"
36 #define emul_struct_name mipsbelf
37 #define emul_default_endian 1
38 #include "emul-target.h"
41 #undef emul_struct_name
42 #undef emul_default_endian
44 #define emul_name "mipslelf"
45 #define emul_struct_name mipslelf
46 #define emul_default_endian 0
47 #include "emul-target.h"
50 #undef emul_struct_name
51 #undef emul_default_endian
53 #define emul_name "mipself"
54 #define emul_struct_name mipself
55 #define emul_default_endian 2
56 #include "emul-target.h"