1 /* BFD i370 CPU definition
2 Copyright (C) 1994-2015 Free Software Foundation, Inc.
3 Contributed by Ian Lance Taylor, Cygnus Support.
4 Hacked by Linas Vepstas <linas@linas.org> in 1998, 1999
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
27 static const bfd_arch_info_type arch_info_struct[] =
29 /* Hack alert: old old machines are really 16 and 24 bit arch ... */
31 32, /* 32 bits in a word. */
32 32, /* 32 bits in an address. */
33 8, /* 8 bits in a byte. */
35 360, /* For the 360. */
39 FALSE, /* Not the default. */
40 bfd_default_compatible,
42 bfd_arch_default_fill,
46 32, /* 32 bits in a word. */
47 32, /* 32 bits in an address. */
48 8, /* 8 bits in a byte. */
50 370, /* For the 370. */
54 FALSE, /* Not the default. */
55 bfd_default_compatible,
57 bfd_arch_default_fill,
62 const bfd_arch_info_type bfd_i370_arch =
64 32, /* 32 bits in a word. */
65 32, /* 32 bits in an address. */
66 8, /* 8 bits in a byte. */
68 0, /* For the 360/370 common architecture. */
72 TRUE, /* The default. */
73 bfd_default_compatible,
75 bfd_arch_default_fill,