2008-09-30 H.J. Lu <hongjiu.lu@intel.com>
[binutils.git] / gas / config / e-mipsecoff.c
blob026bf775f1c60ea29a974f934b790c62ad77ae18
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)
8 any later version.
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
18 02110-1301, USA. */
20 #include "as.h"
21 #include "emul.h"
23 static const char *mipsecoff_bfd_name (void);
25 static const char *
26 mipsecoff_bfd_name (void)
28 abort ();
29 return NULL;
32 #define emul_bfd_name mipsecoff_bfd_name
33 #define emul_format &ecoff_format_ops
35 #define emul_name "mipsbecoff"
36 #define emul_struct_name mipsbecoff
37 #define emul_default_endian 1
38 #include "emul-target.h"
40 #undef emul_name
41 #undef emul_struct_name
42 #undef emul_default_endian
44 #define emul_name "mipslecoff"
45 #define emul_struct_name mipslecoff
46 #define emul_default_endian 0
47 #include "emul-target.h"
49 #undef emul_name
50 #undef emul_struct_name
51 #undef emul_default_endian
53 #define emul_name "mipsecoff"
54 #define emul_struct_name mipsecoff
55 #define emul_default_endian 2
56 #include "emul-target.h"