projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: Write configuration tables in last_stage_init()
[oweals/u-boot.git]
/
arch
/
openrisc
/
cpu
/
u-boot.lds
1
#include <config.h>
2
OUTPUT_ARCH(or32)
3
__DYNAMIC = 0;
4
5
MEMORY
6
{
7
vectors : ORIGIN = 0, LENGTH = 0x2000
8
ram : ORIGIN = CONFIG_SYS_MONITOR_BASE,
9
LENGTH = CONFIG_SYS_MONITOR_LEN
10
}
11
12
SECTIONS
13
{
14
.vectors :
15
{
16
*(.vectors)
17
} > vectors
18
19
__start = .;
20
.text : AT (__start) {
21
_stext = .;
22
*(.text)
23
_etext = .;
24
*(.lit)
25
*(.shdata)
26
_endtext = .;
27
} > ram
28
29
30
. = ALIGN(4);
31
.u_boot_list : {
32
KEEP(*(SORT(.u_boot_list*)));
33
} > ram
34
35
.rodata : {
36
*(.rodata);
37
*(.rodata.*)
38
} > ram
39
40
.shbss :
41
{
42
*(.shbss)
43
} > ram
44
45
.talias :
46
{
47
} > ram
48
49
.data : {
50
sdata = .;
51
_sdata = .;
52
*(.data)
53
edata = .;
54
_edata = .;
55
} > ram
56
57
.bss :
58
{
59
_bss_start = .;
60
*(.bss)
61
*(COMMON)
62
_bss_end = .;
63
} > ram
64
__end = .;
65
66
/* No stack specification - done manually */
67
68
.stab 0 (NOLOAD) :
69
{
70
[ .stab ]
71
}
72
73
.stabstr 0 (NOLOAD) :
74
{
75
[ .stabstr ]
76
}
77
}