diff options
author | Ben Elliston <bje@gnu.org> | 2005-07-05 23:31:54 +0000 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2005-07-05 23:31:54 +0000 |
commit | ee7a94b3ea3c498eba8a6f8fe8a9c0ff7cb55450 (patch) | |
tree | b1a5eaad1c85018bb21519c5bed0358b898c0f04 | |
parent | c5f046fed87558e777110e7ec1471b73f0774e11 (diff) | |
download | dejagnu-ee7a94b3ea3c498eba8a6f8fe8a9c0ff7cb55450.zip dejagnu-ee7a94b3ea3c498eba8a6f8fe8a9c0ff7cb55450.tar.gz dejagnu-ee7a94b3ea3c498eba8a6f8fe8a9c0ff7cb55450.tar.bz2 |
2005-07-06 Aldy Hernandez <aldyh@redhat.com>
* baseboards/ms1-sid.exp: New.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | baseboards/ms1-sid.exp | 38 |
2 files changed, 42 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2005-07-06 Aldy Hernandez <aldyh@redhat.com> + + * baseboards/ms1-sid.exp: New. + 2005-07-01 Ben Elliston <bje@gnu.org> Backport from mainline: 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 |