Commit | Line | Data |
---|---|---|
7499d566 | 1 | /* BFD support for the MAXQ20/10 architecture. |
3db64b00 | 2 | Copyright 2004, 2005, 2007 Free Software Foundation, Inc. |
7499d566 NC |
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 | |
cd123cb7 | 11 | the Free Software Foundation; either version 3 of the License, or |
7499d566 NC |
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 | |
cd123cb7 NC |
21 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
22 | MA 02110-1301, USA. */ | |
7499d566 | 23 | |
7499d566 | 24 | #include "sysdep.h" |
3db64b00 | 25 | #include "bfd.h" |
7499d566 NC |
26 | #include "libbfd.h" |
27 | ||
28 | /* MAXQ Archtecture info. */ | |
5c4504f7 | 29 | static const bfd_arch_info_type bfd_maxq10_arch = |
7499d566 | 30 | { |
5c4504f7 NC |
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, | |
7499d566 NC |
41 | bfd_default_scan, |
42 | NULL | |
43 | }; | |
5c4504f7 NC |
44 | |
45 | ||
46 | const bfd_arch_info_type bfd_maxq_arch = | |
47 | { | |
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 | |
60 | }; |