1 |
# Load the generic configuration for this board. This will define a basic |
# 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. |
# set of routines needed by the tool to communicate with the board. |
3 |
load_generic_config "sim"; |
load_generic_config "sim" |
4 |
|
|
5 |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
6 |
load_base_board_description "basic-sim"; |
load_base_board_description "basic-sim" |
7 |
|
|
8 |
# This tells it which directory to look in for the simulator. |
# This tells it which directory to look in for the simulator. |
9 |
setup_sim i960; |
setup_sim i960 |
10 |
|
|
11 |
# No multilib flags are set by default. |
# No multilib flags are set by default. |
12 |
# Set -msoft-float, because the simulator doesn't have FP support yet. |
# Set -msoft-float, because the simulator doesn't have FP support yet. |
13 |
process_multilib_options "-msoft-float"; |
process_multilib_options "-msoft-float" |
14 |
|
|
15 |
# The compiler used to build for this board. This has *nothing* to do |
# The compiler used to build for this board. This has *nothing* to do |
16 |
# with what compiler is tested if we're testing gcc. |
# with what compiler is tested if we're testing gcc. |
17 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
18 |
|
|
19 |
set_board_info cflags "-mka [libgloss_include_flags] [newlib_include_flags]"; |
set_board_info cflags "-mka [libgloss_include_flags] [newlib_include_flags]" |
20 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]" |
21 |
|
|
22 |
# Use mon960. |
# Use mon960. |
23 |
set_board_info ldscript "-Wl,-Tmon960.ld"; |
set_board_info ldscript "-Wl,-Tmon960.ld" |
24 |
|
|
25 |
# And, it can't do arguments, and doesn't have real signals. |
# And, it can't do arguments, and doesn't have real signals. |
26 |
# ??? Unknown if this is right. |
# ??? Unknown if this is right. |
27 |
set_board_info noargs 1; |
set_board_info noargs 1 |
28 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |