From 76cd0d97ff9c211e8c49403b7f7fe338d991abf8 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 23 Feb 2002 17:45:24 +0000 Subject: [PATCH] New Xtensa support from Bob Wilson. --- ChangeLog | 24 ++++++++++++++++++++++++ baseboards/xtensa-sim.exp | 22 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 baseboards/xtensa-sim.exp diff --git a/ChangeLog b/ChangeLog index 9412231..aefbb34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2002-02-22 Bob Wilson + + * baseboards/xtensa-sim.exp: New file. + +2001-11-02 Alexandre Oliva + + * lib/libgloss.exp [get_multilibs]: Compute multitop earlier, and + use --print-multi-directory if available. + +2002-02-05 Nick Clifton + + * lib/libgloss.exp (g++_include_flags): Add top level + libstdc++-v3 build include path, remove duplicate src path. + (libstdc++_include_flags): Add top level libstdc++-v3 build + include path. + +2001-11-10 Hans-Peter Nilsson + + * baseboards/mmixware-sim.exp: New file. + * lib/remote.exp (check_for_board_status): Return 2 if the board + uses a status wrapper and there was no match for the expected + pattern. + + 2001-11-02 Philip A. Wilsey * lib/utils.exp: Need to pass -all to getdirs, so it descends through all the subdirectories. diff --git a/baseboards/xtensa-sim.exp b/baseboards/xtensa-sim.exp new file mode 100644 index 0000000..8764c67 --- /dev/null +++ b/baseboards/xtensa-sim.exp @@ -0,0 +1,22 @@ +# Load the generic configuration for this board. This will define a basic +# set of routines used 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" +# Command to invoke the simulator +set_board_info sim xt-run +setup_sim xtensa; +# No multilib flags needed by default. +process_multilib_options "" +# The compiler used to build for this board. This has *nothing* to do +# with what compiler is tested if we're testing gcc. +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]" +# This board doesn't use a linker script. +set_board_info ldscript ""; +# The simulator doesn't return exit statuses and we need to indicate this. +set_board_info needs_status_wrapper 1 +# No support for signals on this target. +set_board_info gdb,nosignals 1 \ No newline at end of file -- 2.7.4