Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / cpu-or1k.c
CommitLineData
3b16e843 1/* BFD support for the OpenRISC 1000 architecture.
2571583a 2 Copyright (C) 2002-2017 Free Software Foundation, Inc.
73589c9d 3 Contributed for OR32 by Ivan Guzvinec <ivang@opencores.org>
3b16e843
NC
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
cd123cb7 9 the Free Software Foundation; either version 3 of the License, or
3b16e843
NC
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
73589c9d 18 along with this program; if not, see <http://www.gnu.org/licenses/>. */
3b16e843 19
3b16e843 20#include "sysdep.h"
3db64b00 21#include "bfd.h"
3b16e843
NC
22#include "libbfd.h"
23
73589c9d
CS
24const bfd_arch_info_type bfd_or1k_arch;
25const bfd_arch_info_type bfd_or1knd_arch;
26
27const bfd_arch_info_type bfd_or1k_arch =
3b16e843
NC
28 {
29 32, /* 32 bits in a word. */
30 32, /* 32 bits in an address. */
31 8, /* 8 bits in a byte. */
73589c9d
CS
32 bfd_arch_or1k,
33 bfd_mach_or1k,
34 "or1k",
35 "or1k",
3b16e843 36 4,
73589c9d 37 TRUE,
b34976b6 38 bfd_default_compatible,
b7761f11
L
39 bfd_default_scan,
40 bfd_arch_default_fill,
73589c9d 41 &bfd_or1knd_arch,
3b16e843
NC
42 };
43
73589c9d
CS
44const bfd_arch_info_type bfd_or1knd_arch =
45 {
46 32, /* 32 bits in a word. */
47 32, /* 32 bits in an address. */
48 8, /* 8 bits in a byte. */
49 bfd_arch_or1k,
50 bfd_mach_or1knd,
51 "or1knd",
52 "or1knd",
53 4,
54 FALSE,
55 bfd_default_compatible,
56 bfd_default_scan,
57 bfd_arch_default_fill,
58 NULL,
59 };
This page took 0.757468 seconds and 4 git commands to generate.