Update to ISO-C90 and fix formatting
[external/binutils.git] / bfd / cpu-maxq.c
1 /* BFD support for the MAXQ20/10 architecture.
2    Copyright  2004, 2005  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 static const bfd_arch_info_type bfd_maxq10_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,                /* Architecture number.  */
34   bfd_mach_maxq10,              /* Machine number.  */
35   "maxq",                       /* Architecture name.  */
36   "maxq10",                     /* Machine name.  */
37   0,                            /* Section align power.  */
38   FALSE,                        /* Not the default machine.  */
39   bfd_default_compatible,
40   bfd_default_scan,
41   NULL
42 };
43
44
45 const bfd_arch_info_type bfd_maxq_arch =
46 {
47   16,                           /* 16 bits in a word.  */
48   16,                           /* 16 bits in an address.  */
49   8,                            /* 16 bits in a byte.  */
50   bfd_arch_maxq,                /* Architecture number.  */
51   bfd_mach_maxq20,              /* Machine number.  */
52   "maxq",                       /* Architecture name.  */
53   "maxq20",                     /* Machine name.  */
54   0,                            /* Section align power.  */
55   TRUE,                         /* This is the default machine.  */
56   bfd_default_compatible,
57   bfd_default_scan,
58   & bfd_maxq10_arch
59 };