Update
[gdb.git] / bfd / cpu-maxq.c
blob8340788783d6bbdc41c5b46e8b70b621af434951
1 /* BFD support for the MAXQ20/10 architecture.
2 Copyright 2004, 2005, 2007 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 3 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,
22 MA 02110-1301, USA. */
24 #include "sysdep.h"
25 #include "bfd.h"
26 #include "libbfd.h"
28 /* MAXQ Archtecture info. */
29 static const bfd_arch_info_type bfd_maxq10_arch =
31 16, /* 16 bits in a word. */
32 16, /* 16 bits in an address. */
33 8, /* 16 bits in a byte. */
34 bfd_arch_maxq, /* Architecture number. */
35 bfd_mach_maxq10, /* Machine number. */
36 "maxq", /* Architecture name. */
37 "maxq10", /* Machine name. */
38 0, /* Section align power. */
39 FALSE, /* Not the default machine. */
40 bfd_default_compatible,
41 bfd_default_scan,
42 NULL
46 const bfd_arch_info_type bfd_maxq_arch =
48 16, /* 16 bits in a word. */
49 16, /* 16 bits in an address. */
50 8, /* 16 bits in a byte. */
51 bfd_arch_maxq, /* Architecture number. */
52 bfd_mach_maxq20, /* Machine number. */
53 "maxq", /* Architecture name. */
54 "maxq20", /* Machine name. */
55 0, /* Section align power. */
56 TRUE, /* This is the default machine. */
57 bfd_default_compatible,
58 bfd_default_scan,
59 & bfd_maxq10_arch