1 # Copyright (C) 1997-2016 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 {mt-elf}
21 # Load a baseboard description for SID simulators.
22 load_base_board_description "basic-sid"
24 set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]"
26 verbose "Using simulator [board_info $board sim]\n"
27 set_board_info sim [find_rawsid]
28 if { $tool eq "gdb" } {
29 set_board_info sim,options "-f [find_sid_conf mt-gdb]"
31 set_board_info sim,options "-f [find_sid_conf mt-gloss]"
34 # Used by a few gcc.c-torture testcases when trampolines are used.
35 set_board_info gcc,no_trampolines 1
37 # Used by a few gcc.c-torture testcases when labels as values are used.
38 set_board_info gcc,no_label_values 1
40 # Not needed by SID anymore, but needed to suppress warning in
41 # gdb/testsuite/config/sid.exp.
42 set_board_info sim,defaultendian "-EB"
44 # Load the generic configuration for this board. This will define a basic set
45 # of routines needed by the tool to communicate with the board.
46 load_generic_config "sid"
48 # Tells the test harness to use pre-generated sid configurations.
49 set_board_info sim,protocol "sid"
51 # This is the name of our entry point symbol.
52 set_board_info gdb,start_symbol _start