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 {sparclet-aout} 22 23# Load the generic configuration for this board. This will define any 24# routines needed by the tool to communicate with the board,. 25load_generic_config "sparclet" 26 27# It needs broken-saverestore by default. 28process_multilib_options "-mbroken-saverestore" 29 30# We only support newlib on this target. We assume that all multilib 31# options have been specified before we get here. 32set_board_info compiler "[find_gcc]" 33set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" 34set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x12020000 -N" 35 36# tsc701 linker script. 37set_board_info ldscript "-Ttsc701.ld" 38 39# The board doesn't return exit statuses and we need to indicate this. 40# However, the standard GCC wrapper won't work with this target because 41# it doesn't return stuff from printf (). 42#set_board_info needs_status_wrapper 1 43 44# The monitor uses a GDB stub. 45set_board_info use_gdb_stub 1 46# The GDB protocol used to communicate with this board. 47set_board_info gdb_protocol "sparclet" 48# The offset in memory that we load programs. 49set_board_info gdb_load_offset "0x12020000" 50# And the place in memory where we load the stub. 51set_board_info gdb_stub_offset "0x12010000" 52# No mathlib. 53set_board_info mathlib "" 54# We can't do I/O in GDB. 55set_board_info gdb,noinferiorio 1 56# Or pass arguments. 57set_board_info noargs 1 58 59set_board_info gcc,no_varargs 1 60set_board_info gcc,no_label_values 1 61 62# This is the old GDB prompt for the toolchain. 63# Uncomment for old tests 64set_board_info gdb_prompt "\\(gdb\\)" 65 66# We always have to set a breakpoint at exit(), instead of just _exit(). 67set_board_info always_break_exit 1 68