xref: /dragonfly/contrib/gdb-7/bfd/cpu-l1om.c (revision c3762235)
1 /* BFD support for the Intel L1OM architecture.
2    Copyright 2009
3    Free Software Foundation, Inc.
4 
5    This file is part of BFD, the Binary File Descriptor library.
6 
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.
11 
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.
16 
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.  */
21 
22 #include "sysdep.h"
23 #include "bfd.h"
24 #include "libbfd.h"
25 
26 extern void * bfd_arch_i386_short_nop_fill (bfd_size_type, bfd_boolean,
27 					    bfd_boolean);
28 
29 static const bfd_arch_info_type bfd_l1om_arch_intel_syntax =
30 {
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",
38   3,
39   TRUE,
40   bfd_default_compatible,
41   bfd_default_scan,
42   bfd_arch_i386_short_nop_fill,
43   0
44 };
45 
46 const bfd_arch_info_type bfd_l1om_arch =
47 {
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",
55   3,
56   TRUE,
57   bfd_default_compatible,
58   bfd_default_scan,
59   bfd_arch_i386_short_nop_fill,
60   &bfd_l1om_arch_intel_syntax
61 };
62