cpu-or1k.c revision 1.1
1/* BFD support for the OpenRISC 1000 architecture.
2   Copyright 2002, 2005, 2007 Free Software Foundation, Inc.
3   Contributed by Ivan Guzvinec  <ivang@opencores.org>
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
26extern const bfd_arch_info_type bfd_or1knd_arch;
27
28const bfd_arch_info_type bfd_or1k_arch =
29  {
30    32,           /* 32 bits in a word.  */
31    32,	          /* 32 bits in an address.  */
32    8,	          /* 8 bits in a byte.  */
33    bfd_arch_or1k,
34    bfd_mach_or1k,
35    "or1k",
36    "or1k",
37    4,
38    TRUE,         /* The one and only.  */
39    bfd_default_compatible,
40    bfd_default_scan,
41    bfd_arch_default_fill,
42    &bfd_or1knd_arch,
43  };
44
45
46const bfd_arch_info_type bfd_or1knd_arch =
47  {
48    32,           /* 32 bits in a word.  */
49    32,	          /* 32 bits in an address.  */
50    8,	          /* 8 bits in a byte.  */
51    bfd_arch_or1k,
52    bfd_mach_or1knd,
53    "or1knd",
54    "or1knd",
55    4,
56    TRUE,         /* The one and only.  */
57    bfd_default_compatible,
58    bfd_default_scan,
59    bfd_arch_default_fill,
60    0,
61  };
62