cpu-mt.c revision 1.1.1.3 1 1.1 christos /* BFD support for the Morpho Technologies MT processor.
2 1.1.1.3 christos Copyright (C) 2001-2015 Free Software Foundation, Inc.
3 1.1 christos
4 1.1 christos This file is part of BFD, the Binary File Descriptor library.
5 1.1 christos
6 1.1 christos This program is free software; you can redistribute it and/or modify
7 1.1 christos it under the terms of the GNU General Public License as published by
8 1.1 christos the Free Software Foundation; either version 3 of the License, or
9 1.1 christos (at your option) any later version.
10 1.1 christos
11 1.1 christos This program is distributed in the hope that it will be useful,
12 1.1 christos but WITHOUT ANY WARRANTY; without even the implied warranty of
13 1.1 christos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 1.1 christos GNU General Public License for more details.
15 1.1 christos
16 1.1 christos You should have received a copy of the GNU General Public License
17 1.1 christos along with this program; if not, write to the Free Software
18 1.1 christos Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19 1.1 christos MA 02111-1307, USA. */
20 1.1 christos
21 1.1 christos #include "sysdep.h"
22 1.1 christos #include "bfd.h"
23 1.1 christos #include "libbfd.h"
24 1.1 christos
25 1.1 christos const bfd_arch_info_type arch_info_struct[] =
26 1.1 christos {
27 1.1 christos {
28 1.1 christos 32, /* Bits per word - not really true. */
29 1.1 christos 32, /* Bits per address. */
30 1.1 christos 8, /* Bits per byte. */
31 1.1 christos bfd_arch_mt, /* Architecture. */
32 1.1 christos bfd_mach_mrisc2, /* Machine. */
33 1.1 christos "mt", /* Architecture name. */
34 1.1 christos "ms1-003", /* Printable name. */
35 1.1 christos 1, /* Section align power. */
36 1.1 christos FALSE, /* The default ? */
37 1.1 christos bfd_default_compatible, /* Architecture comparison fn. */
38 1.1 christos bfd_default_scan, /* String to architecture convert fn. */
39 1.1.1.2 christos bfd_arch_default_fill, /* Default fill. */
40 1.1 christos &arch_info_struct[1] /* Next in list. */
41 1.1 christos },
42 1.1 christos {
43 1.1 christos 32, /* Bits per word - not really true. */
44 1.1 christos 32, /* Bits per address. */
45 1.1 christos 8, /* Bits per byte. */
46 1.1 christos bfd_arch_mt, /* Architecture. */
47 1.1 christos bfd_mach_ms2, /* Machine. */
48 1.1 christos "mt", /* Architecture name. */
49 1.1 christos "ms2", /* Printable name. */
50 1.1 christos 1, /* Section align power. */
51 1.1 christos FALSE, /* The default ? */
52 1.1 christos bfd_default_compatible, /* Architecture comparison fn. */
53 1.1 christos bfd_default_scan, /* String to architecture convert fn. */
54 1.1.1.2 christos bfd_arch_default_fill, /* Default fill. */
55 1.1 christos NULL /* Next in list. */
56 1.1 christos },
57 1.1 christos };
58 1.1 christos
59 1.1 christos const bfd_arch_info_type bfd_mt_arch =
60 1.1 christos {
61 1.1 christos 32, /* Bits per word - not really true. */
62 1.1 christos 32, /* Bits per address. */
63 1.1 christos 8, /* Bits per byte. */
64 1.1 christos bfd_arch_mt, /* Architecture. */
65 1.1 christos bfd_mach_ms1, /* Machine. */
66 1.1 christos "mt", /* Architecture name. */
67 1.1 christos "ms1", /* Printable name. */
68 1.1 christos 1, /* Section align power. */
69 1.1 christos TRUE, /* The default ? */
70 1.1 christos bfd_default_compatible, /* Architecture comparison fn. */
71 1.1 christos bfd_default_scan, /* String to architecture convert fn. */
72 1.1.1.2 christos bfd_arch_default_fill, /* Default fill. */
73 1.1 christos &arch_info_struct[0] /* Next in list. */
74 1.1 christos };
75 1.1 christos
76