1 # This is a list of toolchains that are supported on this board.
2 set_board_info target_install {m32r-elf}
4 # No multilib flags needed by default.
5 process_multilib_options ""
7 # Load the generic configuration for this board. This will define a basic set
8 # of routines needed by the tool to communicate with the board.
9 if { $is_gdb_remote } {
10 load_generic_config "m32r-stub"
12 load_generic_config "m32r"
15 # We only support newlib on this target. We assume that all multilib
16 # options have been specified before we get here.
18 set_board_info compiler "[find_gcc]"
19 set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
20 set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
21 set_board_info ldscript "-Wl,-Teva.ld"
22 set_board_info gdb,start_symbol "_start"
24 set_board_info needs_status_wrapper 1
26 # The GDB protocol used for this target.
27 if { ! $is_gdb_remote } {
28 set_board_info gdb_protocol "m32r"
30 set_board_info gdb_protocol "m32r"
31 set_board_info use_gdb_stub 1
32 set_board_info gdb_stub_ldscript "-Wl,-Teva-stub.ld"
35 # Doesn't pass arguments or signals, can't return results, and doesn't
37 set_board_info noargs 1
38 set_board_info gdb,nosignals 1
39 set_board_info gdb,noresults 1
40 set_board_info gdb,noinferiorio 1