From 427bfacb760d1774eeabf8bc5aa0cf88a3c2170f Mon Sep 17 00:00:00 2001 From: nickc Date: Thu, 13 May 2004 14:13:31 +0000 Subject: [PATCH] Add basebpard file for testing m32r-linux port against the simulator --- dejagnu/ChangeLog | 4 ++++ dejagnu/baseboards/m32r-linux-sim.exp | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dejagnu/baseboards/m32r-linux-sim.exp diff --git a/dejagnu/ChangeLog b/dejagnu/ChangeLog index 8f301b4acd..24c6fd3d30 100644 --- a/dejagnu/ChangeLog +++ b/dejagnu/ChangeLog @@ -1,3 +1,7 @@ +2004-05-13 Kazuhiro Inaoka + + * baseboards/m32r-linux-sim.exp: Add New file. + 2004-02-19 Andrew Cagney * config.guess: Update from version 2003-06-12 to 2004-02-16. diff --git a/dejagnu/baseboards/m32r-linux-sim.exp b/dejagnu/baseboards/m32r-linux-sim.exp new file mode 100644 index 0000000000..75f26d6864 --- /dev/null +++ b/dejagnu/baseboards/m32r-linux-sim.exp @@ -0,0 +1,34 @@ +# This is a list of toolchains that are supported on this board. +set_board_info target_install {m32r-linux} + +# 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" + +# "m32r" is the name of the sim subdir. +setup_sim m32r + +# 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 "" +set_board_info ldflags "-static" +# No linker script needed. +set_board_info ldscript ""; + +# 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 -- 2.11.0