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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# This is a list of toolchains that are supported on this board.
2
set_board_info target_install {sparclet-aout}
3
 
4
# Load the generic configuration for this board. This will define any
5
# routines needed by the tool to communicate with the board,.
6
load_generic_config "sparclet";
7
 
8
# It needs broken-saverestore by default.
9
process_multilib_options "-mbroken-saverestore"
10
 
11
# We only support newlib on this target. We assume that all multilib
12
# options have been specified before we get here.
13
set_board_info compiler "[find_gcc]"
14
set_board_info cflags "[newlib_include_flags] [libgloss_include_flags]"
15
set_board_info ldflags "-nostdlib [libgloss_link_flags] [newlib_link_flags] -Wl,-Ttext,0x12020000 -N"
16
 
17
# tsc701 linker script.
18
set_board_info ldscript "-Ttsc701.ld"
19
 
20
# The board doesn't return exit statuses and we need to indicate this.
21
# However, the standard GCC wrapper won't work with this target because
22
# it doesn't return stuff from printf ().
23
#set_board_info needs_status_wrapper 1
24
 
25
# The monitor uses a GDB stub.
26
set_board_info use_gdb_stub 1
27
# The GDB protocol used to communicate with this board.
28
set_board_info gdb_protocol "sparclet"
29
# The offset in memory that we load programs.
30
set_board_info gdb_load_offset "0x12020000"
31
# And the place in memory where we load the stub.
32
set_board_info gdb_stub_offset "0x12010000"
33
# No mathlib.
34
set_board_info mathlib "";
35
# We can't do I/O in GDB.
36
set_board_info gdb,noinferiorio 1;
37
# Or pass arguments.
38
set_board_info noargs 1;
39
 
40
set_board_info gcc,no_varargs 1
41
set_board_info gcc,no_label_values 1
42
 
43
# This is the old GDB prompt for the toolchain.
44
# Uncomment for old tests
45
set_board_info gdb_prompt "\\(gdb\\)";
46
 
47
# We always have to set a breakpoint at exit(), instead of just _exit().
48
set_board_info always_break_exit 1;

powered by: WebSVN 2.1.0

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