*** empty log message ***
[deliverable/binutils-gdb.git] / bfd / cpu-i370.c
CommitLineData
5b93d8bb 1/* BFD i370 CPU definition
830629ab 2 Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2002
7898deda 3 Free Software Foundation, Inc.
5b93d8bb
AM
4 Contributed by Ian Lance Taylor, Cygnus Support.
5 Hacked by Linas Vepstas <linas@linas.org> in 1998, 1999
6
7This file is part of BFD, the Binary File Descriptor library.
8
9This program is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
11the Free Software Foundation; either version 2 of the License, or
12(at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
3e110533 21Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
5b93d8bb
AM
22
23#include "bfd.h"
24#include "sysdep.h"
25#include "libbfd.h"
26
5b93d8bb
AM
27static const bfd_arch_info_type arch_info_struct[] =
28{
71f6b586 29 /* hack alert: old old machines are really 16 and 24 bit arch ... */
5b93d8bb
AM
30 {
31 32, /* 32 bits in a word */
32 32, /* 32 bits in an address */
33 8, /* 8 bits in a byte */
34 bfd_arch_i370,
35 360, /* for the 360 */
36 "i370",
37 "i370:360",
38 3,
b34976b6 39 FALSE, /* not the default */
b74fa2cd 40 bfd_default_compatible,
5b93d8bb
AM
41 bfd_default_scan,
42 &arch_info_struct[1]
43 },
44 {
45 32, /* 32 bits in a word */
46 32, /* 32 bits in an address */
47 8, /* 8 bits in a byte */
48 bfd_arch_i370,
49 370, /* for the 370 */
50 "i370",
51 "i370:370",
52 3,
b34976b6 53 FALSE, /* not the default */
b74fa2cd 54 bfd_default_compatible,
5b93d8bb
AM
55 bfd_default_scan,
56 0
57 },
58};
59
60const bfd_arch_info_type bfd_i370_arch =
61 {
62 32, /* 32 bits in a word */
63 32, /* 32 bits in an address */
64 8, /* 8 bits in a byte */
65 bfd_arch_i370,
66 0, /* for the 360/370 common architecture */
67 "i370",
68 "i370:common",
69 3,
b34976b6 70 TRUE, /* the default */
b74fa2cd 71 bfd_default_compatible,
5b93d8bb
AM
72 bfd_default_scan,
73 &arch_info_struct[0]
74 };
This page took 0.259329 seconds and 4 git commands to generate.