3 |
|
|
4 |
# Load the generic configuration for this board. This will define any |
# Load the generic configuration for this board. This will define any |
5 |
# routines needed to communicate with the board. |
# routines needed to communicate with the board. |
6 |
load_generic_config "sim"; |
load_generic_config "sim" |
7 |
|
|
8 |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
# basic-sim.exp is a basic description for the standard Cygnus simulator. |
9 |
load_base_board_description "basic-sim" |
load_base_board_description "basic-sim" |
17 |
|
|
18 |
# We only support newlib on this target. We assume that all multilib |
# We only support newlib on this target. We assume that all multilib |
19 |
# options have been specified before we get here. |
# options have been specified before we get here. |
20 |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"; |
set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]" |
21 |
|
|
22 |
# The GCC testsuite programs create quite large executables for the 68HC11. |
# The GCC testsuite programs create quite large executables for the 68HC11. |
23 |
# We have to give enough room for the text section and we must make sure |
# We have to give enough room for the text section and we must make sure |
24 |
# that the data section does not overlay the 68HC11 IO registers. We could |
# that the data section does not overlay the 68HC11 IO registers. We could |
25 |
# relocate the IO registers but this would add some complexity to the crt0. |
# relocate the IO registers but this would add some complexity to the crt0. |
26 |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x2000 -Wl,-Tdata,0x1100"; |
set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x2000 -Wl,-Tdata,0x1100" |
27 |
# No linker script needed. |
# No linker script needed. |
28 |
set_board_info ldscript "-Wl,--script,sim-valid.x"; |
set_board_info ldscript "-Wl,--script,sim-valid.x" |
29 |
|
|
30 |
# Can't pass arguments to programs on this target.. |
# Can't pass arguments to programs on this target.. |
31 |
set_board_info noargs 1 |
set_board_info noargs 1 |