1# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
2# Foundation, Inc.
3#
4# This file is part of DejaGnu.
5#
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.
10#
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.
15#
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.
19
20# This is a list of toolchains that are supported on this board.
21set_board_info target_install  {h8300-hms}
22
23# Load the tool-specific configuration for this board, as well as the
24# generic configuration. This will define any routines needed by the
25# tool to communicate with the board.
26load_generic_config "sim"
27
28# basic-sim.exp is a basic description for the standard Cygnus simulator.
29load_base_board_description "basic-sim"
30
31# The name of the simulator is "h8300" (as in h8300-hms-run).
32setup_sim h8300
33
34# No multilib options are used by default.
35process_multilib_options ""
36
37# The compiler used to build for this board. This has *nothing* to do
38# with what compiler is tested if we're testing gcc.
39set_board_info compiler  "[find_gcc]"
40
41# We only support newlib on this target.
42set_board_info cflags  "[newlib_include_flags]"
43set_board_info ldflags  "[newlib_link_flags]"
44set_board_info uses_underscores 1
45
46# There's no support for argument-passing.
47set_board_info noargs 1
48# Nor does it have real signals.
49set_board_info gdb,nosignals 1
50# And it can't do I/O.
51set_board_info gdb,noinferiorio 1
52# Nor can it return results.
53set_board_info gdb,noresults 1
54
55# Limit the stack size to something real tiny.
56set_board_info gcc,stack_size 4096
57set_board_info gcc,text_size 60000
58
59# There's no long long support on this target
60set_board_info no_long_long  1
61
62# sizeof int != sizeof long.
63set_board_info gdb,short_int 1
64