* config.sub, config.guess: Update from upstream sources.
[binutils.git] / bfd / cpu-d10v.c
blobb69e840635095179b0782222c3a1d26c712e79b1
1 /* BFD support for the D10V processor
2 Copyright 1996, 1999, 2000, 2002, 2005, 2007
3 Free Software Foundation, Inc.
4 Contributed by Martin Hunt (hunt@cygnus.com).
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
23 #include "sysdep.h"
24 #include "bfd.h"
25 #include "libbfd.h"
27 static const bfd_arch_info_type d10v_ts3_info =
29 16, /* 16 bits in a word. */
30 16, /* 16 bits in an address. */
31 8, /* 8 bits in a byte. */
32 bfd_arch_d10v,
33 bfd_mach_d10v_ts3,
34 "d10v",
35 "d10v:ts3",
36 4, /* Section alignment power. */
37 FALSE,
38 bfd_default_compatible,
39 bfd_default_scan,
43 static const bfd_arch_info_type d10v_ts2_info =
45 16, /* 16 bits in a word. */
46 16, /* 16 bits in an address. */
47 8, /* 8 bits in a byte. */
48 bfd_arch_d10v,
49 bfd_mach_d10v_ts2,
50 "d10v",
51 "d10v:ts2",
52 4, /* Section alignment power. */
53 FALSE,
54 bfd_default_compatible,
55 bfd_default_scan,
56 & d10v_ts3_info,
59 const bfd_arch_info_type bfd_d10v_arch =
61 16, /* 16 bits in a word. */
62 16, /* 16 bits in an address. */
63 8, /* 8 bits in a byte. */
64 bfd_arch_d10v,
65 bfd_mach_d10v,
66 "d10v",
67 "d10v",
68 4, /* Section alignment power. */
69 TRUE,
70 bfd_default_compatible,
71 bfd_default_scan,
72 & d10v_ts2_info,