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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [baseboards/] [i386-bozo.exp] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# 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"
5
 
6
# Use no multilib options by default.
7
process_multilib_options ""
8
 
9
# Default to COFF.
10
set add_flags "";
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";
15
    set add_flags "-N ";
16
} elseif { [board_info $board obj_format] == "elf" } {
17
    set_board_info support_libs "${prefix_dir}/i386-elf/"
18
} else {
19
    set_board_info support_libs "${prefix_dir}/i386-coff/"
20
}
21
 
22
# The default compiler for this target.
23
set_board_info compiler "[find_gcc]"
24
 
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"
31
 
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;
36
 
37
# There's no support for argument-passing.
38
set_board_info noargs 1
39
# Can't do input.
40
set_board_info gdb,noinferiorio 1
41
# Nor does it have real signals.
42
set_board_info gdb,nosignals 1
43
 
44
# Limit the stack size.
45
set_board_info gcc,stack_size 16384
46
 
47
# Status wrapper will work, although exit statuses are reliable.
48
set_board_info needs_status_wrapper 1
49
 
50
# This is the start symbol in crt0.o.
51
set_board_info gdb,start_symbol "_start";

powered by: WebSVN 2.1.0

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