aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-01-22 06:41:32 +1100
committerBen Elliston <bje@gnu.org>2015-01-22 06:41:32 +1100
commit4c1f808ce8de021296af68786e2397947e50b0bd (patch)
tree480e14d0014cc8482fbd97e358049012fdcaf92d
parent3344ec53cc6d06a7436a9760ee6d595565f253c2 (diff)
downloaddejagnu-4c1f808ce8de021296af68786e2397947e50b0bd.zip
dejagnu-4c1f808ce8de021296af68786e2397947e50b0bd.tar.gz
dejagnu-4c1f808ce8de021296af68786e2397947e50b0bd.tar.bz2
* Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
* Makefile.in: Regenerate. * baseboards/visium-sim.exp: New file. Signed-off-by: Ben Elliston <bje@gnu.org>
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am4
-rw-r--r--Makefile.in4
-rw-r--r--baseboards/visium-sim.exp43
4 files changed, 53 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 11b7a9f..8227989 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
+
+ * Makefile.am (baseboard_DATA): Add baseboards/visium-sim.exp.
+ * Makefile.in: Regenerate.
+ * baseboards/visium-sim.exp: New file.
+
2014-11-25 Ben Elliston <bje@gnu.org>
* lib/dejagnu.exp (host_execute): Remove stray leading hyphen.
diff --git a/Makefile.am b/Makefile.am
index 79e90a3..98b71ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,4 @@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# Copyright (C) 1992-2015 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -195,6 +194,7 @@ baseboard_DATA = \
baseboards/unix.exp \
baseboards/usparc-cygmon.exp \
baseboards/v850-sim.exp \
+ baseboards/visium-sim.exp \
baseboards/vr4100-ddb.exp \
baseboards/vr4100-sim.exp \
baseboards/vr4111-sim.exp \
diff --git a/Makefile.in b/Makefile.in
index 07128d7..52994a7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -14,8 +14,7 @@
@SET_MAKE@
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-# 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+# Copyright (C) 1992-2015 Free Software Foundation, Inc.
#
# This file is part of DejaGnu.
#
@@ -540,6 +539,7 @@ baseboard_DATA = \
baseboards/unix.exp \
baseboards/usparc-cygmon.exp \
baseboards/v850-sim.exp \
+ baseboards/visium-sim.exp \
baseboards/vr4100-ddb.exp \
baseboards/vr4100-sim.exp \
baseboards/vr4111-sim.exp \
diff --git a/baseboards/visium-sim.exp b/baseboards/visium-sim.exp
new file mode 100644
index 0000000..759f5a7
--- /dev/null
+++ b/baseboards/visium-sim.exp
@@ -0,0 +1,43 @@
+# Copyright (C) 2013-2015 Free Software Foundation, Inc.
+#
+# This file is part of DejaGnu.
+#
+# DejaGnu is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# DejaGnu is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with DejaGnu; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+
+# This is a list of toolchains that are supported on this board.
+set_board_info target_install {visium-elf}
+
+# Load the generic configuration for this board, This will define a basic
+# set of routines needed by the tool to communicate with the board.
+load_generic_config "sim"
+
+# basic-sim.exp is a basic description for the simulator.
+load_base_board_description "basic-sim"
+
+# The name of the simulator is "visium".
+setup_sim visium
+
+# No multilib flags needed by default.
+process_multilib_options ""
+
+set_board_info compiler "[find_gcc]"
+set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
+set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]"
+
+# No support for signals on this target.
+set_board_info gdb,nosignals 1
+
+# Used by a few gcc.c-torture testcases to delimit how large the stack can be.
+set_board_info gcc,stack_size 65536