merge from gcc
[binutils.git] / bfd / cpu-maxq.c
blob523ef888616357add8a2c9c2e690bdd82e98bd86
1 /* BFD support for the MAXQ20/10 architecture.
2 Copyright 2004, 2005 Free Software Foundation, Inc.
4 Written by Vineet Sharma(vineets@noida.hcltech.com)
5 Inderpreet Singh(inderpreetb@noida.hcltech.com)
7 This file is part of BFD, the Binary File Descriptor library.
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.
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.
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, MA 02110-1301, USA. */
23 #include "bfd.h"
24 #include "sysdep.h"
25 #include "libbfd.h"
27 /* MAXQ Archtecture info. */
28 static const bfd_arch_info_type bfd_maxq10_arch =
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
45 const bfd_arch_info_type bfd_maxq_arch =
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