xref: /aosp_15_r20/external/libffi/.travis/m32r-sim.exp (revision 1fd5a2e1d639cd1ddf29dd0c484c123bbd850c21)
1*1fd5a2e1SPrashanth Swaminathan# Copyright (C) 2010, 2019  Free Software Foundation, Inc.
2*1fd5a2e1SPrashanth Swaminathan#
3*1fd5a2e1SPrashanth Swaminathan# This file is part of DejaGnu.
4*1fd5a2e1SPrashanth Swaminathan#
5*1fd5a2e1SPrashanth Swaminathan# DejaGnu is free software; you can redistribute it and/or modify it
6*1fd5a2e1SPrashanth Swaminathan# under the terms of the GNU General Public License as published by
7*1fd5a2e1SPrashanth Swaminathan# the Free Software Foundation; either version 2 of the License, or
8*1fd5a2e1SPrashanth Swaminathan# (at your option) any later version.
9*1fd5a2e1SPrashanth Swaminathan#
10*1fd5a2e1SPrashanth Swaminathan# DejaGnu is distributed in the hope that it will be useful, but
11*1fd5a2e1SPrashanth Swaminathan# WITHOUT ANY WARRANTY; without even the implied warranty of
12*1fd5a2e1SPrashanth Swaminathan# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13*1fd5a2e1SPrashanth Swaminathan# General Public License for more details.
14*1fd5a2e1SPrashanth Swaminathan#
15*1fd5a2e1SPrashanth Swaminathan# You should have received a copy of the GNU General Public License
16*1fd5a2e1SPrashanth Swaminathan# along with DejaGnu; if not, write to the Free Software Foundation,
17*1fd5a2e1SPrashanth Swaminathan# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18*1fd5a2e1SPrashanth Swaminathan
19*1fd5a2e1SPrashanth Swaminathan# This is a list of toolchains that are supported on this board.
20*1fd5a2e1SPrashanth Swaminathanset_board_info target_install {m32r-elf}
21*1fd5a2e1SPrashanth Swaminathan
22*1fd5a2e1SPrashanth Swaminathan# Load the generic configuration for this board. This will define a basic set
23*1fd5a2e1SPrashanth Swaminathan# of routines needed by the tool to communicate with the board.
24*1fd5a2e1SPrashanth Swaminathanload_generic_config "sim"
25*1fd5a2e1SPrashanth Swaminathan
26*1fd5a2e1SPrashanth Swaminathan# basic-sim.exp is a basic description for the standard Cygnus simulator.
27*1fd5a2e1SPrashanth Swaminathanload_base_board_description "basic-sim"
28*1fd5a2e1SPrashanth Swaminathan
29*1fd5a2e1SPrashanth Swaminathan# "m32r" is the name of the sim subdir in devo/sim.
30*1fd5a2e1SPrashanth Swaminathansetup_sim m32r
31*1fd5a2e1SPrashanth Swaminathan
32*1fd5a2e1SPrashanth Swaminathan# No multilib options needed by default.
33*1fd5a2e1SPrashanth Swaminathanprocess_multilib_options ""
34*1fd5a2e1SPrashanth Swaminathan
35*1fd5a2e1SPrashanth Swaminathan# We only support newlib on this target. We assume that all multilib
36*1fd5a2e1SPrashanth Swaminathan# options have been specified before we get here.
37*1fd5a2e1SPrashanth Swaminathan
38*1fd5a2e1SPrashanth Swaminathanset_board_info compiler  "[find_gcc]"
39*1fd5a2e1SPrashanth Swaminathanset_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
40*1fd5a2e1SPrashanth Swaminathanset_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
41*1fd5a2e1SPrashanth Swaminathan
42*1fd5a2e1SPrashanth Swaminathan# Configuration settings for testsuites
43*1fd5a2e1SPrashanth Swaminathanset_board_info noargs 1
44*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,nosignals 1
45*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,noresults 1
46*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,cannot_call_functions 1
47*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,skip_float_tests 1
48*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,can_reverse 1
49*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,use_precord 1
50*1fd5a2e1SPrashanth Swaminathan
51*1fd5a2e1SPrashanth Swaminathan# More time is needed
52*1fd5a2e1SPrashanth Swaminathanset_board_info gcc,timeout 800
53*1fd5a2e1SPrashanth Swaminathanset_board_info gdb,timeout 60
54*1fd5a2e1SPrashanth Swaminathan
55*1fd5a2e1SPrashanth Swaminathan# Used by a few gcc.c-torture testcases to delimit how large the stack can
56*1fd5a2e1SPrashanth Swaminathan# be.
57*1fd5a2e1SPrashanth Swaminathanset_board_info gcc,stack_size  5000
58*1fd5a2e1SPrashanth Swaminathan
59