1 # This is a list of toolchains that are supported on this board.
2 set_board_info target_install {mmix-knuth-mmixware}
4 # Load the generic configuration for this board. This will define any
5 # routines needed to communicate with the board.
6 load_generic_config "sim"
8 # Unset the slow_simulator flag; this simulator isn't slow. (I haven't
9 # found documentation as to what constitutes a "slow" simulator and
10 # there's no reference to that variable in the GCC test-suite, but all
11 # tests I've found work.)
12 unset_board_info slow_simulator
14 # We don't use basic-sim.exp and setup_sim because the simulator, called
15 # "mmix", is external to the build tree. If nobody set the simulator
16 # name, we set it to "mmix", so the rest of the framework works. Let $SIM
18 if ![board_info $board exists sim] {
19 if [info exists SIM] {
20 set_board_info sim $SIM
22 # Has to exist in the users path.
23 set_board_info sim mmix
27 # No default multilib options are needed for this board.
28 process_multilib_options ""
30 set_board_info is_simulator 1
32 # It isn't visible in the target triple, so we set it explicitly. The
33 # *linked* format is currently mmo, but those cases where this matters we
34 # can deal with separately.
35 set_board_info obj_format "elf"
37 # The compiler used to build for this board. This has *nothing* to do
38 # with what compiler is tested if we're testing gcc.
39 set_board_info compiler "[find_gcc]"
41 # We only support newlib on this target. We assume that all multilib
42 # options have been specified before we get here.
43 set_board_info cflags "[newlib_include_flags]"
45 # We put the stack in the code segment, so trampolines work; the mmix
46 # simulator does not allow code to be executed in the "normal" documented
47 # data and stack segments. Use a somewhat magic number, so stack addresses
48 # are easily recognized when debugging.
49 set_board_info ldflags "[newlib_link_flags] -Wl,--defsym,__Stack_start=0x1680a00000000000"
51 # No linker script needed - the simulator is the main environment for this
53 set_board_info ldscript ""
55 # Return codes aren't supported by the simulator.
56 set_board_info needs_status_wrapper 1
58 # FIXME: Some gdb board variables are usually here. I currently have
59 # no clue what to set them to, so I won't.