1 # Load the generic configuration for this board. This will define a basic
2 # set of routines needed by the tool to communicate with the board.
3 load_generic_config "sim";
5 # basic-sim.exp is a basic description for the standard Cygnus simulator.
6 load_base_board_description "basic-sim";
8 # This tells it which directory to look in for the simulator.
11 # No multilib flags are set by default.
12 process_multilib_options "";
14 # The compiler used to build for this board. This has *nothing* to do
15 # with what compiler is tested if we're testing gcc.
16 set_board_info compiler "[find_gcc]";
17 #set_board_info needs_status_wrapper 1
19 set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]";
20 set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]";
23 if { [board_info $board obj_format] == "ecoff" } {
24 set_board_info ldscript "-Wl,-Tidtecoff.ld";
26 set_board_info ldscript "-Wl,-Tidt32.ld";
29 # And, it can't do arguments, and doesn't have real signals.
30 set_board_info noargs 1;
31 set_board_info gdb,nosignals 1;
33 # Tell gdb to assume no fpu for -msoft-float compilation
34 if {[string match "*soft-float*" $current_target_name]} {
35 set_board_info gdb_init_command "set mipsfpu none"