]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/cpu-d10v.c
Remove "\nError: " suffix from nat/fork-inferior.c:trace_start_error warning message
[thirdparty/binutils-gdb.git] / bfd / cpu-d10v.c
CommitLineData
252b5132 1/* BFD support for the D10V processor
82704155 2 Copyright (C) 1996-2019 Free Software Foundation, Inc.
252b5132
RH
3 Contributed by Martin Hunt (hunt@cygnus.com).
4
47b0e7ad 5 This file is part of BFD, the Binary File Descriptor library.
252b5132 6
47b0e7ad
NC
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
cd123cb7 9 the Free Software Foundation; either version 3 of the License, or
47b0e7ad 10 (at your option) any later version.
252b5132 11
47b0e7ad
NC
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
252b5132 16
47b0e7ad
NC
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
252b5132 21
252b5132 22#include "sysdep.h"
3db64b00 23#include "bfd.h"
252b5132
RH
24#include "libbfd.h"
25
71f6b586
KH
26static const bfd_arch_info_type d10v_ts3_info =
27{
47b0e7ad 28 16, /* 16 bits in a word. */
70a0e63d 29 18, /* really 16 bits in an address, but code has 18 bit range. */
47b0e7ad 30 8, /* 8 bits in a byte. */
7af8cca9 31 bfd_arch_d10v,
71f6b586
KH
32 bfd_mach_d10v_ts3,
33 "d10v",
34 "d10v:ts3",
07d6d2b8 35 4, /* Section alignment power. */
b34976b6 36 FALSE,
71f6b586
KH
37 bfd_default_compatible,
38 bfd_default_scan,
b7761f11 39 bfd_arch_default_fill,
71f6b586 40 0,
7af8cca9
MM
41};
42
71f6b586 43static const bfd_arch_info_type d10v_ts2_info =
7af8cca9 44{
70a0e63d
AM
45 16,
46 18,
47 8,
7af8cca9 48 bfd_arch_d10v,
71f6b586
KH
49 bfd_mach_d10v_ts2,
50 "d10v",
51 "d10v:ts2",
70a0e63d 52 4,
b34976b6 53 FALSE,
71f6b586
KH
54 bfd_default_compatible,
55 bfd_default_scan,
b7761f11 56 bfd_arch_default_fill,
47b0e7ad 57 & d10v_ts3_info,
252b5132
RH
58};
59
71f6b586
KH
60const bfd_arch_info_type bfd_d10v_arch =
61{
70a0e63d
AM
62 16,
63 18,
64 8,
7af8cca9 65 bfd_arch_d10v,
71f6b586
KH
66 bfd_mach_d10v,
67 "d10v",
68 "d10v",
70a0e63d 69 4,
b34976b6 70 TRUE,
71f6b586
KH
71 bfd_default_compatible,
72 bfd_default_scan,
b7761f11 73 bfd_arch_default_fill,
47b0e7ad 74 & d10v_ts2_info,
7af8cca9 75};