1 # Copyright (C) 1997-2019, 2020 Free Software Foundation, Inc.
3 # This file is part of DejaGnu.
5 # DejaGnu is free software: you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # DejaGnu is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with DejaGnu. If not, see <http://www.gnu.org/licenses/>.
18 # This is a list of toolchains that are supported on this board.
19 set_board_info target_install {d30v-elf}
21 # Load the generic configuration for this board. This will define any
22 # routines needed to communicate with the board.
23 load_generic_config "sim"
25 # basic-sim.exp is a basic description for the standard Cygnus simulator.
26 load_base_board_description "basic-sim"
28 # The name of the simulator directory is "d30v".
31 # We only support newlib on this target. We assume that all multilib
32 # options have been specified before we get here.
33 # Pass -C to the assembler to suppress the warning about symbols being the same name as registers
34 set_board_info cflags "[libgloss_include_flags] [newlib_include_flags] -Wa,-C"
35 set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -mextmem -Wl,--defsym,__stack=0x80800000"
36 # No linker script needed.
37 set_board_info ldscript ""
39 # Can't pass arguments to programs on this target..
40 set_board_info noargs 1
41 # And there's no support for signals.
42 set_board_info gdb,nosignals 1
44 # Used by a few gcc.c-torture testcases to delimit how large the stack can
46 set_board_info gcc,stack_size 5000