correct ft32 reloc range test
[deliverable/binutils-gdb.git] / bfd / cpu-i370.c
CommitLineData
5b93d8bb 1/* BFD i370 CPU definition
219d1afa 2 Copyright (C) 1994-2018 Free Software Foundation, Inc.
5b93d8bb
AM
3 Contributed by Ian Lance Taylor, Cygnus Support.
4 Hacked by Linas Vepstas <linas@linas.org> in 1998, 1999
5
47b0e7ad 6 This file is part of BFD, the Binary File Descriptor library.
5b93d8bb 7
47b0e7ad
NC
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
cd123cb7 10 the Free Software Foundation; either version 3 of the License, or
47b0e7ad 11 (at your option) any later version.
5b93d8bb 12
47b0e7ad
NC
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.
5b93d8bb 17
47b0e7ad
NC
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. */
5b93d8bb 22
5b93d8bb 23#include "sysdep.h"
3db64b00 24#include "bfd.h"
5b93d8bb
AM
25#include "libbfd.h"
26
5b93d8bb
AM
27static const bfd_arch_info_type arch_info_struct[] =
28{
47b0e7ad 29 /* Hack alert: old old machines are really 16 and 24 bit arch ... */
5b93d8bb 30 {
07d6d2b8
AM
31 32, /* 32 bits in a word. */
32 32, /* 32 bits in an address. */
33 8, /* 8 bits in a byte. */
5b93d8bb 34 bfd_arch_i370,
07d6d2b8 35 360, /* For the 360. */
5b93d8bb
AM
36 "i370",
37 "i370:360",
38 3,
07d6d2b8 39 FALSE, /* Not the default. */
b74fa2cd 40 bfd_default_compatible,
5b93d8bb 41 bfd_default_scan,
b7761f11 42 bfd_arch_default_fill,
5b93d8bb
AM
43 &arch_info_struct[1]
44 },
45 {
07d6d2b8
AM
46 32, /* 32 bits in a word. */
47 32, /* 32 bits in an address. */
48 8, /* 8 bits in a byte. */
5b93d8bb 49 bfd_arch_i370,
07d6d2b8 50 370, /* For the 370. */
5b93d8bb
AM
51 "i370",
52 "i370:370",
53 3,
07d6d2b8 54 FALSE, /* Not the default. */
b74fa2cd 55 bfd_default_compatible,
5b93d8bb 56 bfd_default_scan,
b7761f11 57 bfd_arch_default_fill,
5b93d8bb
AM
58 0
59 },
60};
61
62const bfd_arch_info_type bfd_i370_arch =
47b0e7ad 63{
07d6d2b8
AM
64 32, /* 32 bits in a word. */
65 32, /* 32 bits in an address. */
66 8, /* 8 bits in a byte. */
47b0e7ad
NC
67 bfd_arch_i370,
68 0, /* For the 360/370 common architecture. */
69 "i370",
70 "i370:common",
71 3,
07d6d2b8 72 TRUE, /* The default. */
47b0e7ad
NC
73 bfd_default_compatible,
74 bfd_default_scan,
b7761f11 75 bfd_arch_default_fill,
47b0e7ad
NC
76 & arch_info_struct[0]
77};
This page took 0.875512 seconds and 4 git commands to generate.