OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [bfd/] [cpu-i370.c] - Blame information for rev 862

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* BFD i370 CPU definition
2
   Copyright 1994, 1995, 1996, 1998, 1999, 2000, 2002, 2005, 2007
3
   Free Software Foundation, Inc.
4
   Contributed by Ian Lance Taylor, Cygnus Support.
5
   Hacked by Linas Vepstas <linas@linas.org> in 1998, 1999
6
 
7
   This file is part of BFD, the Binary File Descriptor library.
8
 
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 3 of the License, or
12
   (at your option) any later version.
13
 
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.
18
 
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.  */
23
 
24
#include "sysdep.h"
25
#include "bfd.h"
26
#include "libbfd.h"
27
 
28
static const bfd_arch_info_type arch_info_struct[] =
29
{
30
  /* Hack alert: old old machines are really 16 and 24 bit arch ...  */
31
  {
32
    32,         /* 32 bits in a word.  */
33
    32,         /* 32 bits in an address.  */
34
    8,          /* 8 bits in a byte.  */
35
    bfd_arch_i370,
36
    360,        /* For the 360.  */
37
    "i370",
38
    "i370:360",
39
    3,
40
    FALSE,      /* Not the default.  */
41
    bfd_default_compatible,
42
    bfd_default_scan,
43
    &arch_info_struct[1]
44
  },
45
  {
46
    32,         /* 32 bits in a word.  */
47
    32,         /* 32 bits in an address.  */
48
    8,          /* 8 bits in a byte.  */
49
    bfd_arch_i370,
50
    370,        /* For the 370.  */
51
    "i370",
52
    "i370:370",
53
    3,
54
    FALSE,      /* Not the default.  */
55
    bfd_default_compatible,
56
    bfd_default_scan,
57
 
58
  },
59
};
60
 
61
const bfd_arch_info_type bfd_i370_arch =
62
{
63
  32,           /* 32 bits in a word.  */
64
  32,           /* 32 bits in an address.  */
65
  8,            /* 8 bits in a byte.  */
66
  bfd_arch_i370,
67
  0,             /* For the 360/370 common architecture.  */
68
  "i370",
69
  "i370:common",
70
  3,
71
  TRUE,         /* The default.  */
72
  bfd_default_compatible,
73
  bfd_default_scan,
74
  & arch_info_struct[0]
75
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.