1 /* BFD i370 CPU definition
2 Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2002
3 Free Software Foundation, Inc.
4 Contributed by Ian Lance Taylor, Cygnus Support.
5 Hacked by Linas Vepstas <linas@linas.org> in 1998, 1999
7 This file is part of BFD, the Binary File Descriptor library.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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,
45 32, /* 32 bits in a word */
46 32, /* 32 bits in an address */
47 8, /* 8 bits in a byte */
49 370, /* for the 370 */
53 false, /* not the default */
54 bfd_default_compatible,
60 const bfd_arch_info_type bfd_i370_arch =
62 32, /* 32 bits in a word */
63 32, /* 32 bits in an address */
64 8, /* 8 bits in a byte */
66 0, /* for the 360/370 common architecture */
70 true, /* the default */
71 bfd_default_compatible,