Approved by nickc@redhat.com:
[platform/upstream/binutils.git] / bfd / cpu-maxq.c
1 /* BFD support for the MAXQ20/10 architecture.
2    Copyright  2004  Free Software Foundation, Inc.
3
4    Written by Vineet Sharma(vineets@noida.hcltech.com)
5               Inderpreet Singh(inderpreetb@noida.hcltech.com)           
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 2 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
22
23 #include "bfd.h"
24 #include "sysdep.h"
25 #include "libbfd.h"
26
27 /* MAXQ Archtecture info.  */
28 const bfd_arch_info_type bfd_maxq_arch =
29 {
30   16,                           /* 16 bits in a word */
31   16,                           /* 16 bits in an address */
32   8,                            /* 16 bits in a byte */
33   bfd_arch_maxq,                /* enum bfd_archtecture arch */
34   0,                            /* only 1 machine */
35   "maxq",                       /* arch_name */
36   "maxq",                       /* printable name */
37   0,                            /* section align power */
38   TRUE,                         /* the_default: if this is the machine */
39   bfd_default_compatible,       /* bfd_arch_info */
40   bfd_default_scan,
41   NULL
42 };