Support arch-dependent fill
[deliverable/binutils-gdb.git] / bfd / cpu-i370.c
CommitLineData
5b93d8bb 1/* BFD i370 CPU definition
3db64b00 2 Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2005, 2007
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
47b0e7ad 7 This file is part of BFD, the Binary File Descriptor library.
5b93d8bb 8
47b0e7ad
NC
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
cd123cb7 11 the Free Software Foundation; either version 3 of the License, or
47b0e7ad 12 (at your option) any later version.
5b93d8bb 13
47b0e7ad
NC
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.
5b93d8bb 18
47b0e7ad
NC
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., 51 Franklin Street - Fifth Floor, Boston,
22 MA 02110-1301, USA. */
5b93d8bb 23
5b93d8bb 24#include "sysdep.h"
3db64b00 25#include "bfd.h"
5b93d8bb
AM
26#include "libbfd.h"
27
5b93d8bb
AM
28static const bfd_arch_info_type arch_info_struct[] =
29{
47b0e7ad 30 /* Hack alert: old old machines are really 16 and 24 bit arch ... */
5b93d8bb 31 {
47b0e7ad
NC
32 32, /* 32 bits in a word. */
33 32, /* 32 bits in an address. */
34 8, /* 8 bits in a byte. */
5b93d8bb 35 bfd_arch_i370,
47b0e7ad 36 360, /* For the 360. */
5b93d8bb
AM
37 "i370",
38 "i370:360",
39 3,
47b0e7ad 40 FALSE, /* Not the default. */
b74fa2cd 41 bfd_default_compatible,
5b93d8bb 42 bfd_default_scan,
b7761f11 43 bfd_arch_default_fill,
5b93d8bb
AM
44 &arch_info_struct[1]
45 },
46 {
47b0e7ad
NC
47 32, /* 32 bits in a word. */
48 32, /* 32 bits in an address. */
49 8, /* 8 bits in a byte. */
5b93d8bb 50 bfd_arch_i370,
47b0e7ad 51 370, /* For the 370. */
5b93d8bb
AM
52 "i370",
53 "i370:370",
54 3,
47b0e7ad 55 FALSE, /* Not the default. */
b74fa2cd 56 bfd_default_compatible,
5b93d8bb 57 bfd_default_scan,
b7761f11 58 bfd_arch_default_fill,
5b93d8bb
AM
59 0
60 },
61};
62
63const bfd_arch_info_type bfd_i370_arch =
47b0e7ad
NC
64{
65 32, /* 32 bits in a word. */
66 32, /* 32 bits in an address. */
67 8, /* 8 bits in a byte. */
68 bfd_arch_i370,
69 0, /* For the 360/370 common architecture. */
70 "i370",
71 "i370:common",
72 3,
73 TRUE, /* The default. */
74 bfd_default_compatible,
75 bfd_default_scan,
b7761f11 76 bfd_arch_default_fill,
47b0e7ad
NC
77 & arch_info_struct[0]
78};
This page took 0.529852 seconds and 4 git commands to generate.