OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [dejagnu/] [baseboards/] [arm-sim.exp] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Load the generic configuration for this board. This will define a basic
2
# set of routines used to communicate with the board.
3
load_generic_config "sim"
4
 
5
# No multilib flags needed by default.
6
process_multilib_options ""
7
 
8
if { [board_info $board obj_format] == "pe" } {
9
    set additional_options "-Wl,-oformat,pe-arm-little,--image-base,0"
10
#    set_board_info uses_underscores 1
11
} else {
12
 
13
#    if [istarget "*-*-coff"] {
14
#        set_board_info uses_underscores 1
15
#    }
16
 
17
    set additional_options ""
18
}
19
 
20
# basic-sim.exp is a basic description for the standard Cygnus simulator.
21
load_base_board_description "basic-sim"
22
 
23
# The name of the directory in the build tree where the simulator lives.
24
setup_sim arm;
25
 
26
# The compiler used to build for this board. This has *nothing* to do
27
# with what compiler is tested if we're testing gcc.
28
set_board_info compiler         "[find_gcc]"
29
 
30
# The basic set of flags needed to build "hello world" for this
31
# board. This board uses libgloss and newlib.
32
set_board_info cflags   "[libgloss_include_flags] [newlib_include_flags]"
33
set_board_info ldflags  "[libgloss_link_flags] [newlib_link_flags] $additional_options"
34
 
35
# This board doesn't use a linker script.
36
set_board_info ldscript "";
37
 
38
# The simulator doesn't return exit statuses and we need to indicate this.
39
set_board_info needs_status_wrapper  1
40
 
41
# Used by a few gcc.c-torture testcases to delimit how large the stack can
42
# be.
43
set_board_info gcc,stack_size  16384
44
 
45
# No support for signals.
46
set_board_info gdb,nosignals 1
47
 
48
# More time is needed to compile PlumHall tests
49
set_board_info gcc,timeout 800
50
 
51
# Make this variable go away, we don't need it.
52
unset additional_options;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.