gdb/
[deliverable/binutils-gdb.git] / bfd / cpu-d10v.c
CommitLineData
252b5132 1/* BFD support for the D10V processor
70a0e63d 2 Copyright 1996, 1999, 2000, 2002, 2005, 2007, 2010
3db64b00 3 Free Software Foundation, Inc.
252b5132
RH
4 Contributed by Martin Hunt (hunt@cygnus.com).
5
47b0e7ad 6 This file is part of BFD, the Binary File Descriptor library.
252b5132 7
47b0e7ad
NC
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
cd123cb7 10 the Free Software Foundation; either version 3 of the License, or
47b0e7ad 11 (at your option) any later version.
252b5132 12
47b0e7ad
NC
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.
252b5132 17
47b0e7ad
NC
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. */
252b5132 22
252b5132 23#include "sysdep.h"
3db64b00 24#include "bfd.h"
252b5132
RH
25#include "libbfd.h"
26
71f6b586
KH
27static const bfd_arch_info_type d10v_ts3_info =
28{
47b0e7ad 29 16, /* 16 bits in a word. */
70a0e63d 30 18, /* really 16 bits in an address, but code has 18 bit range. */
47b0e7ad 31 8, /* 8 bits in a byte. */
7af8cca9 32 bfd_arch_d10v,
71f6b586
KH
33 bfd_mach_d10v_ts3,
34 "d10v",
35 "d10v:ts3",
47b0e7ad 36 4, /* Section alignment power. */
b34976b6 37 FALSE,
71f6b586
KH
38 bfd_default_compatible,
39 bfd_default_scan,
b7761f11 40 bfd_arch_default_fill,
71f6b586 41 0,
7af8cca9
MM
42};
43
71f6b586 44static const bfd_arch_info_type d10v_ts2_info =
7af8cca9 45{
70a0e63d
AM
46 16,
47 18,
48 8,
7af8cca9 49 bfd_arch_d10v,
71f6b586
KH
50 bfd_mach_d10v_ts2,
51 "d10v",
52 "d10v:ts2",
70a0e63d 53 4,
b34976b6 54 FALSE,
71f6b586
KH
55 bfd_default_compatible,
56 bfd_default_scan,
b7761f11 57 bfd_arch_default_fill,
47b0e7ad 58 & d10v_ts3_info,
252b5132
RH
59};
60
71f6b586
KH
61const bfd_arch_info_type bfd_d10v_arch =
62{
70a0e63d
AM
63 16,
64 18,
65 8,
7af8cca9 66 bfd_arch_d10v,
71f6b586
KH
67 bfd_mach_d10v,
68 "d10v",
69 "d10v",
70a0e63d 70 4,
b34976b6 71 TRUE,
71f6b586
KH
72 bfd_default_compatible,
73 bfd_default_scan,
b7761f11 74 bfd_arch_default_fill,
47b0e7ad 75 & d10v_ts2_info,
7af8cca9 76};
This page took 0.563558 seconds and 4 git commands to generate.