OSDN Git Service

* Contribute sh5 pieces.
authorbje <bje>
Fri, 1 Feb 2002 12:13:51 +0000 (12:13 +0000)
committerbje <bje>
Fri, 1 Feb 2002 12:13:51 +0000 (12:13 +0000)
dejagnu/ChangeLog
dejagnu/baseboards/sh64-sim.exp [new file with mode: 0644]

index 6cef474..89b9932 100644 (file)
 
        * target.exp (prune_warnings): Prune warnings from NetBSD linker.
 
+2001-01-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * baseboards/sh64-sim.exp (ieee_multilib_flags): Set to -mieee.
+
+2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * baseboards/sh64-sim.exp (gcc,stack_size): Set to a smaller
+       value than the address of the end of the stack.
+
+2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * baseboards/sh64-sim.exp (gcc,stack_size): Set.
+
 2000-11-29  Drew Moseley  <dmoseley@redhat.com>
 
        * baseboards/xscale-cygmon.exp: New file for xscale board testing.
 
+2000-11-22  Ben Elliston  <bje@redhat.com>
+
+       * baseboards/sh64-sim.exp (target_install): Use sh64-elf now.
+
+2000-11-01  Ben Elliston  <bje@redhat.com>
+
+       * baseboards/sh64-sim.exp: New file.
+
 2000-10-19  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
        * baseboards/linux-gdbserver.exp: New file.
diff --git a/dejagnu/baseboards/sh64-sim.exp b/dejagnu/baseboards/sh64-sim.exp
new file mode 100644 (file)
index 0000000..1a151ee
--- /dev/null
@@ -0,0 +1,41 @@
+# This is a list of toolchains that are supported on this board.
+set_board_info target_install {sh64-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 standard Cygnus simulator.
+load_base_board_description "basic-sim"
+
+# "sh64" is the name of the sim subdir in devo/sim.
+setup_sim sh64
+
+# No multilib options needed by default.
+process_multilib_options ""
+
+# We only support newlib on this target. We assume that all multilib
+# options have been specified before we get here.
+
+set_board_info compiler  "[find_gcc]"
+set_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
+set_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
+# No linker script needed.
+set_board_info ldscript "";
+
+# Used by a few gcc.c-torture testcases to delimit how large the stack can
+# be.
+set_board_info gcc,stack_size  0x20000
+
+# Need to pass -mieee in order to for the compiler to be IEEE-fp compliant.
+set_board_info ieee_multilib_flags "-mieee";
+
+# The simulator doesn't return exit statuses and we need to indicate this;
+# the standard GCC wrapper will work with this target.
+set_board_info needs_status_wrapper  1
+# Doesn't pass arguments or signals, can't return results, and doesn't
+# do inferiorio.
+set_board_info noargs 1
+set_board_info gdb,nosignals 1
+set_board_info gdb,noresults 1
+set_board_info gdb,noinferiorio 1