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