1 # This is a list of toolchains that are supported on this board.
2 set_board_info target_install {sh-hms}
4 # Load the generic configuration for this board. This will define a basic
5 # set of routines needed by the tool to communicate with the board.
6 load_generic_config "sh"
9 process_multilib_options "-m2"
11 # The compiler used to build for this board. This has *nothing* to do
12 # with what compiler is tested if we're testing gcc.
13 set_board_info compiler "[find_gcc]"
15 # We only support newlib on this target.
16 # However, we include libgloss so we can find the linker scripts.
17 set_board_info cflags "[newlib_include_flags]"
18 set_board_info ldflags "[newlib_link_flags] [libgloss_link_flags]"
20 # Linker script for the SH2 board.
21 set_board_info ldscript "-Wl,-Tsh2lcevb.ld"
23 # Can't pass arguments to this target.
24 set_board_info noargs 1
25 # And it can't call functions.
26 set_board_info gdb,cannot_call_functions 1
28 # We use the remote GDB protocol.
29 set_board_info gdb_protocol "remote"
30 # Jumping to start is how we get the program started in GDB.
31 set_board_info gdb_run_command "jump start"
32 # The remote target uses a GDB stub.
33 set_board_info use_gdb_stub 1
35 set_board_info gdb,noinferiorio 1
37 set_board_info gdb,nosignals 1
39 # Used by a few gcc.c-torture testcases to delimit how large the stack can
41 set_board_info gcc,stack_size 16384
43 # Exit statuses returned from GDB are sometimes faulty.
44 set_board_info exit_statuses_bad 1
46 # Need to pass -mieee in order to for the compiler to be IEEE-fp compliant.
47 set_board_info ieee_multilib_flags "-mieee";