* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / gas / config / e-mipself.c
blob8f37b8234733e52cb945c4b5dc8b740a8518a98f
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 *mipself_bfd_name (void);
25 static const char *
26 mipself_bfd_name (void)
28 abort ();
29 return NULL;
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"
40 #undef emul_name
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"
49 #undef emul_name
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"