Regenerated html docs. Tweaked how Makefile.am builds tarballs.
[dejagnu.git] / baseboards / h8300.exp
blobf42dbb04ba030888ddb2c1a13b63d77055c64502
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 "h8300"
6 # Don't use anything by default.
7 process_multilib_options ""
9 # The default compiler for this target.
10 set_board_info compiler "[find_gcc]"
12 # We only support newlib on this target. We assume that all multilib
13 # options have been specified before we get here.
14 set_board_info cflags "[newlib_include_flags]"
15 set_board_info ldflags "[newlib_link_flags]"
17 # The GDB protocol used with this board.
18 set_board_info gdb_protocol "remote"
19 # It's running a GDB stub in ROM.
20 set_board_info use_gdb_stub 1;
22 # There's no support for argument-passing.
23 set_board_info noargs 1
24 # Nor does it have real signals.
25 set_board_info gdb,nosignals 1
26 # And it can't do I/O.
27 set_board_info gdb,noinferiorio 1
28 # Nor can it return results.
29 set_board_info gdb,noresults 1
31 # Limit the stack size to something real tiny.
32 set_board_info gcc,stack_size 4096
34 # The board can get wedged in amusing and interesting ways.
35 set_board_info unreliable 1
37 # There's no long long support on this target
38 set_board_info no_long_long  1
40 # sizeof int != sizeof long.
41 set_board_info gdb,short_int 1
43 # Pick the right linker script if -mh/-ms is specified.
45 set linker_script "h8300.ld"
47 foreach x $board_variant_list {
48     regsub -all "^\[ \t\]*" "$x" "" x;
49     regsub -all "\[ \t\]*$" "$x" "" x;
51     case $x in {
52         { h -mh } {
53             set linker_script "h8300h.ld"
54         }
55         { s -ms } {
56             set linker_script "h8300s.ld"
57         }
58     }
61 # Whee, magic linker scripts hidden away.
63 # This one's dependent on the multilib options in use, sadly. And we
64 # *need* a linker script. Really. Otherwise the code gets linked at
65 # the wrong address and it won't run on the board.
66 set_board_info ldscript "-Wl,-T${prefix_dir}/h8300-hms/${linker_script}"
68 unset linker_script