xref: /openbsd-src/gnu/usr.bin/binutils/bfd/cpu-iq2000.c (revision cf2f2c5620d6d9a4fd01930983c4b9a1f76d7aa3)
1d2201f2fSdrahn /* BFD support for the Vitesse IQ2000 processor.
2d2201f2fSdrahn    Copyright (C) 2003 Free Software Foundation, Inc.
3d2201f2fSdrahn 
4d2201f2fSdrahn This file is part of BFD, the Binary File Descriptor library.
5d2201f2fSdrahn 
6d2201f2fSdrahn This program is free software; you can redistribute it and/or modify
7d2201f2fSdrahn it under the terms of the GNU General Public License as published by
8d2201f2fSdrahn the Free Software Foundation; either version 2 of the License, or
9d2201f2fSdrahn (at your option) any later version.
10d2201f2fSdrahn 
11d2201f2fSdrahn This program is distributed in the hope that it will be useful,
12d2201f2fSdrahn but WITHOUT ANY WARRANTY; without even the implied warranty of
13d2201f2fSdrahn MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14d2201f2fSdrahn GNU General Public License for more details.
15d2201f2fSdrahn 
16d2201f2fSdrahn You should have received a copy of the GNU General Public License
17d2201f2fSdrahn along with this program; if not, write to the Free Software
18d2201f2fSdrahn Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19d2201f2fSdrahn 
20d2201f2fSdrahn #include "bfd.h"
21d2201f2fSdrahn #include "sysdep.h"
22d2201f2fSdrahn #include "libbfd.h"
23d2201f2fSdrahn 
24d2201f2fSdrahn static const bfd_arch_info_type arch_info_struct[] =
25d2201f2fSdrahn {
26*cf2f2c56Smiod   {
27d2201f2fSdrahn     32,				/* bits per word */
28d2201f2fSdrahn     32,				/* bits per address */
29d2201f2fSdrahn     8,				/* bits per byte */
30d2201f2fSdrahn     bfd_arch_iq2000,		/* architecture */
31d2201f2fSdrahn     bfd_mach_iq10,		/* machine */
32d2201f2fSdrahn     "iq2000",			/* architecture name */
33d2201f2fSdrahn     "iq10",			/* printable name */
34d2201f2fSdrahn     3,				/* section align power */
35d2201f2fSdrahn     FALSE,			/* the default ? */
36d2201f2fSdrahn     bfd_default_compatible,	/* architecture comparison fn */
37d2201f2fSdrahn     bfd_default_scan,		/* string to architecture convert fn */
38d2201f2fSdrahn     NULL			/* next in list */
39*cf2f2c56Smiod   }
40d2201f2fSdrahn };
41d2201f2fSdrahn 
42d2201f2fSdrahn const bfd_arch_info_type bfd_iq2000_arch =
43d2201f2fSdrahn {
44d2201f2fSdrahn   32,				/* bits per word */
45d2201f2fSdrahn   32,				/* bits per address */
46d2201f2fSdrahn   8,				/* bits per byte */
47d2201f2fSdrahn   bfd_arch_iq2000,		/* architecture */
48d2201f2fSdrahn   bfd_mach_iq2000,		/* machine */
49d2201f2fSdrahn   "iq2000",			/* architecture name */
50d2201f2fSdrahn   "iq2000",			/* printable name */
51d2201f2fSdrahn   3,				/* section align power */
52d2201f2fSdrahn   TRUE,				/* the default ? */
53d2201f2fSdrahn   bfd_default_compatible,	/* architecture comparison fn */
54d2201f2fSdrahn   bfd_default_scan,		/* string to architecture convert fn */
55d2201f2fSdrahn   &arch_info_struct[0],		/* next in list */
56d2201f2fSdrahn };
57