1 # Copyright
(C
) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
4 # This file is part of DejaGnu.
6 # DejaGnu is free software
; you can redistribute it and
/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation
; either version
2 of the License
, or
9 #
(at your option
) any later version.
11 # DejaGnu is distributed in the hope that it will be useful
, but
12 # WITHOUT
ANY WARRANTY
; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License
for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with DejaGnu
; if not
, write to the Free Software Foundation
,
18 # Inc.
, 59 Temple Place
- Suite
330, Boston
, MA
02111-1307, USA.
20 # This is a list of toolchains that are supported
on this board.
21 set_board_info target_install
{d10v
-elf
}
23 #
Load the generic configuration
for this board. This will
define a base
set
24 # of routines needed by the tool to communicate with the board.
25 load_generic_config
"d10v"
27 # No multilib options are needed by default
for this board.
28 process_multilib_options
""
30 # We only support newlib
on this target. We assume that all multilib
31 # options have been specified before we
get here.
32 set_board_info compiler
"[find_gcc]"
33 set_board_info cflags
"[newlib_include_flags]"
34 set_board_info ldflags
"[libgloss_link_flags] [newlib_link_flags]"
35 # No linker script needed.
36 set_board_info ldscript
""
38 # The board can
't really return exit statuses and we need to indicate this;
39 # however, the standard GCC wrapper won't work with this target because
41 #set_board_info needs_status_wrapper 1
43 # It uses the remote stub protocol to talk to the board.
44 set_board_info gdb_protocol "remote"
45 set_board_info use_gdb_stub 1
47 # Both the EVA and TS3 boards currently deal badly with X packets.
48 set_board_info disable_x_packet 1
50 # Both the EVA and TS3 boards currently deal badly with Z packets.
51 set_board_info disable_z_packet 1
54 set_board_info gdb_run_command "jump *_start"
55 set_board_info gdb,start_symbol "_start"
57 # Can't pass arguments to programs
on this target.
58 set_board_info noargs
1
59 # And there
's no support for signals.
60 set_board_info gdb,nosignals 1
61 # And it can't
do I
/O.
62 set_board_info gdb
,noinferiorio
1
64 # Used by a few gcc.c
-torture testcases to delimit how large the stack can
66 set_board_info gcc
,stack_size
5000
68 # Used by a few gcc.c
-torture testcases when trampolines are used.
69 set_board_info gcc
,no_trampolines
1
71 # Used by a few gcc.c
-torture testcases when labels as
values are used.
72 set_board_info gcc
,no_label_values
1
74 # sizeof
int != sizeof long.
75 set_board_info gdb
,short_int
1
77 # Some d10v
:ts3 boards are in ts2
-board compatibility
mode after a reset.
78 # Force it into d10v
:ts3 internal
mode
79 set_board_info gdb_init_command
"set \$dmap2 = 0x2000"