aboutsummaryrefslogtreecommitdiff
path: root/baseboards
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2005-07-05 23:32:41 +0000
committerBen Elliston <bje@gnu.org>2005-07-05 23:32:41 +0000
commit1160f5f294add1604d4f9a9f4e00e24f9eab4ccc (patch)
tree92c72c58b02f4794b9952147449ce02a32cfa6ea /baseboards
parent9da6f27d0c81f4cc8cdd805f3836293cf0ad22b6 (diff)
2005-07-06 Aldy Hernandez <aldyh@redhat.com>
* baseboards/ms1-sid.exp: New.
Diffstat (limited to 'baseboards')
-rw-r--r--baseboards/ms1-sid.exp38
1 files changed, 38 insertions, 0 deletions
diff --git a/baseboards/ms1-sid.exp b/baseboards/ms1-sid.exp
new file mode 100644
index 0000000..79d9368
--- /dev/null
+++ b/baseboards/ms1-sid.exp
@@ -0,0 +1,38 @@
+# This is a list of toolchains that are supported on this board.
+set_board_info target_install {ms1-elf}
+
+# Load a baseboard description for SID simulators.
+load_base_board_description "basic-sid"
+
+set_board_info ldflags "-msim [libgloss_link_flags] [newlib_link_flags]"
+
+verbose "Using simulator [board_info $board sim]\n"
+set_board_info sim [find_rawsid]
+if { ${tool} == "gdb" } {
+ set_board_info sim,options "-f [find_sid_conf ms1-gdb]"
+} else {
+ set_board_info sim,options "-f [find_sid_conf ms1-gloss]"
+}
+
+# Used by a few gcc.c-torture testcases when trampolines are used.
+set_board_info gcc,no_trampolines 1
+
+# Used by a few gcc.c-torture testcases when labels as values are used.
+set_board_info gcc,no_label_values 1
+
+# Not needed by SID anymore, but needed to suppress warning in
+# gdb/testsuite/config/sid.exp.
+set_board_info sim,defaultendian "-EB"
+
+#verbose "Using simulator [board_info $board sim]\n"
+#set_board_info sim [find_sid "ms1-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 "sid"
+
+# Tells the test harness to use pre-generated sid configurations.
+set_board_info sim,protocol "sid";
+
+# This is the name of our entry point symbol.
+set_board_info gdb,start_symbol _start