4 |
# Load the generic configuration for this board. This will define a |
# Load the generic configuration for this board. This will define a |
5 |
# set of generic routines used by the tool to communicate with the |
# set of generic routines used by the tool to communicate with the |
6 |
# board. |
# board. |
7 |
load_generic_config "slite"; |
load_generic_config "slite" |
8 |
|
|
9 |
# It needs no multilib flags by default. |
# It needs no multilib flags by default. |
10 |
process_multilib_options "" |
process_multilib_options "" |
11 |
|
|
12 |
set_board_info compiler "[find_gcc]"; |
set_board_info compiler "[find_gcc]" |
13 |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"; |
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]" |
14 |
|
|
15 |
set_board_info ldflags "-nostartfiles [libgloss_link_flags] [newlib_link_flags]"; |
set_board_info ldflags "-nostartfiles [libgloss_link_flags] [newlib_link_flags]" |
16 |
|
|
17 |
# DANlite (sparc86x) linker script. |
# DANlite (sparc86x) linker script. |
18 |
set_board_info ldscript "-Tsparc86x.ld"; |
set_board_info ldscript "-Tsparc86x.ld" |
19 |
|
|
20 |
# The address at which the stub needs to be linked. |
# The address at which the stub needs to be linked. |
21 |
# set_board_info gdb_stub_offset "0x40000000"; |
# set_board_info gdb_stub_offset "0x40000000" |
22 |
|
|
23 |
# The board doesn't return exit statuses and we need to indicate this. |
# The board doesn't return exit statuses and we need to indicate this. |
24 |
# However, the standard GCC wrapper won't work with this target because |
# However, the standard GCC wrapper won't work with this target because |
25 |
# it doesn't return stuff from printf (). |
# it doesn't return stuff from printf (). |
26 |
set_board_info needs_status_wrapper 1; |
set_board_info needs_status_wrapper 1 |
27 |
|
|
28 |
# We use a GDB stub to talk to the board. |
# We use a GDB stub to talk to the board. |
29 |
set_board_info use_gdb_stub 1; |
set_board_info use_gdb_stub 1 |
30 |
# For GDB, we need to use a real stub (not the separate loader scheme |
# For GDB, we need to use a real stub (not the separate loader scheme |
31 |
# we use for Sparclet). |
# we use for Sparclet). |
32 |
set_board_info gdb_stub ""; |
set_board_info gdb_stub "" |
33 |
# And the protocol is "sparclite". |
# And the protocol is "sparclite". |
34 |
set_board_info gdb_protocol "sparclite"; |
set_board_info gdb_protocol "sparclite" |
35 |
# No mathlib. |
# No mathlib. |
36 |
set_board_info mathlib ""; |
set_board_info mathlib "" |
37 |
# We can't do I/O in GDB. |
# We can't do I/O in GDB. |
38 |
set_board_info gdb,noinferiorio 1; |
set_board_info gdb,noinferiorio 1 |
39 |
# Or pass arguments. |
# Or pass arguments. |
40 |
set_board_info noargs 1; |
set_board_info noargs 1 |
41 |
# Or do signals. |
# Or do signals. |
42 |
set_board_info gdb,nosignals 1; |
set_board_info gdb,nosignals 1 |