|
Packit |
62fe53 |
# Copyright (C) 2009-2016 Free Software Foundation, Inc.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# This file is part of DejaGnu.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# DejaGnu is free software; you can redistribute it and/or modify it
|
|
Packit |
62fe53 |
# under the terms of the GNU General Public License as published by
|
|
Packit |
62fe53 |
# the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
62fe53 |
# (at your option) any later version.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# DejaGnu is distributed in the hope that it will be useful, but
|
|
Packit |
62fe53 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
62fe53 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
62fe53 |
# General Public License for more details.
|
|
Packit |
62fe53 |
#
|
|
Packit |
62fe53 |
# You should have received a copy of the GNU General Public License
|
|
Packit |
62fe53 |
# along with DejaGnu; if not, write to the Free Software Foundation,
|
|
Packit |
62fe53 |
# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Contributed by DJ Delorie <dj@redhat.com>.
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
set_board_info target_install {rx-elf}
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# No support for argument passing
|
|
Packit |
62fe53 |
set_board_info noargs 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# No support for signals either.
|
|
Packit |
62fe53 |
set_board_info gdb,nosignals 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# The simulator does not use the remote protocol, so it can't support the
|
|
Packit |
62fe53 |
# remote protocol packets used by GDB's fileio.exp test.
|
|
Packit |
62fe53 |
set_board_info gdb,nofileio 1
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
load_generic_config "sim"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
load_base_board_description "basic-sim"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
setup_sim rx
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
process_multilib_options ""
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
set_board_info compiler "[find_gcc]"
|
|
Packit |
62fe53 |
set_board_info cflags "[newlib_include_flags] -msim"
|
|
Packit |
62fe53 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
|
|
Packit |
62fe53 |
|
|
Packit |
62fe53 |
# Used by a few gcc.c-torture testcases to delimit how large the stack can
|
|
Packit |
62fe53 |
# be. Needed for the small integer multilibs.
|
|
Packit |
62fe53 |
set_board_info gcc,stack_size 4096
|