daily update
[binutils.git] / bfd / cpu-k1om.c
blob54b6e58c1dea7ed1b9f2f83821ad3529bae781bd
1 /* BFD support for the Intel K1OM architecture.
2 Copyright 2011
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_k1om_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_k1om,
35 bfd_mach_k1om_intel_syntax,
36 "k1om:intel",
37 "k1om: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_k1om_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_k1om,
52 bfd_mach_k1om,
53 "k1om",
54 "k1om",
56 TRUE,
57 bfd_default_compatible,
58 bfd_default_scan,
59 bfd_arch_i386_short_nop_fill,
60 &bfd_k1om_arch_intel_syntax