* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / bfd / cpu-l1om.c
blob46ac3a00c89f1d314983d2bfb34b5ca9a659373a
1 /* BFD support for the Intel L1OM architecture.
2 Copyright 2009
3 Free Software Foundation, Inc.
5 This file is part of BFD, the Binary File Descriptor library.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 #include "sysdep.h"
23 #include "bfd.h"
24 #include "libbfd.h"
26 extern void * bfd_arch_i386_short_nop_fill (bfd_size_type, bfd_boolean,
27 bfd_boolean);
29 static const bfd_arch_info_type bfd_l1om_arch_intel_syntax =
31 64, /* 64 bits in a word */
32 64, /* 64 bits in an address */
33 8, /* 8 bits in a byte */
34 bfd_arch_l1om,
35 bfd_mach_l1om_intel_syntax,
36 "l1om:intel",
37 "l1om:intel",
39 TRUE,
40 bfd_default_compatible,
41 bfd_default_scan,
42 bfd_arch_i386_short_nop_fill,
46 const bfd_arch_info_type bfd_l1om_arch =
48 64, /* 64 bits in a word */
49 64, /* 64 bits in an address */
50 8, /* 8 bits in a byte */
51 bfd_arch_l1om,
52 bfd_mach_l1om,
53 "l1om",
54 "l1om",
56 TRUE,
57 bfd_default_compatible,
58 bfd_default_scan,
59 bfd_arch_i386_short_nop_fill,
60 &bfd_l1om_arch_intel_syntax