1 # Load the tool-specific configuration for this board, as well as the
2 # generic configuration. This will define any routines needed by the
3 # tool to communicate with the board.
4 load_generic_config "i386-bozo"
6 # Use no multilib options by default.
7 process_multilib_options ""
11 if { [board_info $board obj_format] == "a.out" } {
12 set_board_info support_libs "${prefix_dir}/i386-aout/"
13 set_board_info gdb_load_offset "0x41000000";
14 set_board_info gdb_sect_offset "0x41000000";
16 } elseif { [board_info $board obj_format] == "elf" } {
17 set_board_info support_libs "${prefix_dir}/i386-elf/"
19 set_board_info support_libs "${prefix_dir}/i386-coff/"
22 # The default compiler for this target.
23 set_board_info compiler "[find_gcc]"
25 # We only support newlib on this target. We assume that all multilib
26 # options have been specified before we get here.
27 set_board_info cflags "[newlib_include_flags]"
28 set_board_info ldflags "${add_flags}[newlib_link_flags] -B[board_info $board support_libs]"
29 # Whee, magic linker scripts hidden away.
30 set_board_info ldscript "-Tbozo.ld"
32 # The GDB protocol used with this board.
33 set_board_info gdb_protocol "remote"
34 # It's running a GDB stub in ROM.
35 set_board_info use_gdb_stub 1;
37 # There's no support for argument-passing.
38 set_board_info noargs 1
40 set_board_info gdb,noinferiorio 1
41 # Nor does it have real signals.
42 set_board_info gdb,nosignals 1
44 # Limit the stack size.
45 set_board_info gcc,stack_size 16384
47 # Status wrapper will work, although exit statuses are reliable.
48 set_board_info needs_status_wrapper 1
50 # This is the start symbol in crt0.o.
51 set_board_info gdb,start_symbol "_start";