xref: /openbsd-src/gnu/usr.bin/binutils/bfd/cpu-m10300.c (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1fddef416Sniklas /* BFD support for the Matsushita 10300 processor
2*cf2f2c56Smiod    Copyright 1996, 1997, 1999, 2002, 2003 Free Software Foundation, Inc.
3fddef416Sniklas 
4fddef416Sniklas This file is part of BFD, the Binary File Descriptor library.
5fddef416Sniklas 
6fddef416Sniklas This program is free software; you can redistribute it and/or modify
7fddef416Sniklas it under the terms of the GNU General Public License as published by
8fddef416Sniklas the Free Software Foundation; either version 2 of the License, or
9fddef416Sniklas (at your option) any later version.
10fddef416Sniklas 
11fddef416Sniklas This program is distributed in the hope that it will be useful,
12fddef416Sniklas but WITHOUT ANY WARRANTY; without even the implied warranty of
13fddef416Sniklas MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14fddef416Sniklas GNU General Public License for more details.
15fddef416Sniklas 
16fddef416Sniklas You should have received a copy of the GNU General Public License
17fddef416Sniklas along with this program; if not, write to the Free Software
18fddef416Sniklas Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19fddef416Sniklas 
20fddef416Sniklas #include "bfd.h"
21fddef416Sniklas #include "sysdep.h"
22fddef416Sniklas #include "libbfd.h"
23fddef416Sniklas 
24*cf2f2c56Smiod const bfd_arch_info_type bfd_am33_2_arch =
25*cf2f2c56Smiod   {
26*cf2f2c56Smiod     32, /* 32 bits in a word */
27*cf2f2c56Smiod     32, /* 32 bits in an address */
28*cf2f2c56Smiod     8,  /* 8 bits in a byte */
29*cf2f2c56Smiod     bfd_arch_mn10300,
30*cf2f2c56Smiod     332,
31*cf2f2c56Smiod     "am33_2",
32*cf2f2c56Smiod     "am33-2",
33*cf2f2c56Smiod     2,
34*cf2f2c56Smiod     FALSE,
35*cf2f2c56Smiod     bfd_default_compatible,
36*cf2f2c56Smiod     bfd_default_scan,
37*cf2f2c56Smiod     0,
38*cf2f2c56Smiod   };
39*cf2f2c56Smiod 
40f7cc78ecSespie const bfd_arch_info_type bfd_am33_arch =
41f7cc78ecSespie   {
42f7cc78ecSespie     32, /* 32 bits in a word */
43f7cc78ecSespie     32, /* 32 bits in an address */
44f7cc78ecSespie     8,  /* 8 bits in a byte */
45f7cc78ecSespie     bfd_arch_mn10300,
46f7cc78ecSespie     330,
47f7cc78ecSespie     "am33",
48f7cc78ecSespie     "am33",
49f7cc78ecSespie     2,
50d2201f2fSdrahn     FALSE,
51f7cc78ecSespie     bfd_default_compatible,
52f7cc78ecSespie     bfd_default_scan,
53*cf2f2c56Smiod     &bfd_am33_2_arch,
54f7cc78ecSespie   };
55f7cc78ecSespie 
56fddef416Sniklas const bfd_arch_info_type bfd_mn10300_arch =
57fddef416Sniklas   {
58f7cc78ecSespie     32, /* 32 bits in a word */
59f7cc78ecSespie     32, /* 32 bits in an address */
60fddef416Sniklas     8,  /* 8 bits in a byte */
61fddef416Sniklas     bfd_arch_mn10300,
62fddef416Sniklas     300,
63fddef416Sniklas     "mn10300",
64fddef416Sniklas     "mn10300",
65fddef416Sniklas     2,
66d2201f2fSdrahn     TRUE, /* the one and only */
67fddef416Sniklas     bfd_default_compatible,
68fddef416Sniklas     bfd_default_scan,
69f7cc78ecSespie     &bfd_am33_arch,
70fddef416Sniklas   };
71