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

Subversion Repositories uart_plb

[/] [uart_plb/] [trunk/] [firmware/] [uart_plb_test/] [src/] [lscript.ld] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 gavinux
/*******************************************************************/
2
/*                                                                 */
3
/* This file is automatically generated by linker script generator.*/
4
/*                                                                 */
5
/* Version: Xilinx EDK 13.1 EDK_O.40d                                */
6
/*                                                                 */
7
/* Copyright (c) 2010 Xilinx, Inc.  All rights reserved.           */
8
/*                                                                 */
9
/* Description : MicroBlaze Linker Script                          */
10
/*                                                                 */
11
/*******************************************************************/
12
 
13
_STACK_SIZE = DEFINED(_STACK_SIZE) ? _STACK_SIZE : 0x400;
14
_HEAP_SIZE = DEFINED(_HEAP_SIZE) ? _HEAP_SIZE : 0x400;
15
 
16
/* Define Memories in the system */
17
 
18
MEMORY
19
{
20
   ilmb_cntlr_dlmb_cntlr : ORIGIN = 0x00000050, LENGTH = 0x00001FB0
21
}
22
 
23
/* Specify the default entry point to the program */
24
 
25
ENTRY(_start)
26
 
27
/* Define the sections, and where they are mapped in memory */
28
 
29
SECTIONS
30
{
31
.vectors.reset 0x00000000 : {
32
   *(.vectors.reset)
33
}
34
 
35
.vectors.sw_exception 0x00000008 : {
36
   *(.vectors.sw_exception)
37
}
38
 
39
.vectors.interrupt 0x00000010 : {
40
   *(.vectors.interrupt)
41
}
42
 
43
.vectors.hw_exception 0x00000020 : {
44
   *(.vectors.hw_exception)
45
}
46
 
47
.text : {
48
   *(.text)
49
   *(.text.*)
50
   *(.gnu.linkonce.t.*)
51
} > ilmb_cntlr_dlmb_cntlr
52
 
53
.init : {
54
   KEEP (*(.init))
55
} > ilmb_cntlr_dlmb_cntlr
56
 
57
.fini : {
58
   KEEP (*(.fini))
59
} > ilmb_cntlr_dlmb_cntlr
60
 
61
.rodata : {
62
   __rodata_start = .;
63
   *(.rodata)
64
   *(.rodata.*)
65
   *(.gnu.linkonce.r.*)
66
   __rodata_end = .;
67
} > ilmb_cntlr_dlmb_cntlr
68
 
69
.sdata2 : {
70
   . = ALIGN(8);
71
   __sdata2_start = .;
72
   *(.sdata2)
73
   *(.sdata2.*)
74
   *(.gnu.linkonce.s2.*)
75
   . = ALIGN(8);
76
   __sdata2_end = .;
77
} > ilmb_cntlr_dlmb_cntlr
78
 
79
.sbss2 : {
80
   __sbss2_start = .;
81
   *(.sbss2)
82
   *(.sbss2.*)
83
   *(.gnu.linkonce.sb2.*)
84
   __sbss2_end = .;
85
} > ilmb_cntlr_dlmb_cntlr
86
 
87
.data : {
88
   . = ALIGN(4);
89
   __data_start = .;
90
   *(.data)
91
   *(.data.*)
92
   *(.gnu.linkonce.d.*)
93
   __data_end = .;
94
} > ilmb_cntlr_dlmb_cntlr
95
 
96
.got : {
97
   *(.got)
98
} > ilmb_cntlr_dlmb_cntlr
99
 
100
.got1 : {
101
   *(.got1)
102
} > ilmb_cntlr_dlmb_cntlr
103
 
104
.got2 : {
105
   *(.got2)
106
} > ilmb_cntlr_dlmb_cntlr
107
 
108
.ctors : {
109
   __CTOR_LIST__ = .;
110
   ___CTORS_LIST___ = .;
111
   KEEP (*crtbegin.o(.ctors))
112
   KEEP (*(EXCLUDE_FILE(*crtend.o) .ctors))
113
   KEEP (*(SORT(.ctors.*)))
114
   KEEP (*(.ctors))
115
   __CTOR_END__ = .;
116
   ___CTORS_END___ = .;
117
} > ilmb_cntlr_dlmb_cntlr
118
 
119
.dtors : {
120
   __DTOR_LIST__ = .;
121
   ___DTORS_LIST___ = .;
122
   KEEP (*crtbegin.o(.dtors))
123
   KEEP (*(EXCLUDE_FILE(*crtend.o) .dtors))
124
   KEEP (*(SORT(.dtors.*)))
125
   KEEP (*(.dtors))
126
   __DTOR_END__ = .;
127
   ___DTORS_END___ = .;
128
} > ilmb_cntlr_dlmb_cntlr
129
 
130
.eh_frame : {
131
   *(.eh_frame)
132
} > ilmb_cntlr_dlmb_cntlr
133
 
134
.jcr : {
135
   *(.jcr)
136
} > ilmb_cntlr_dlmb_cntlr
137
 
138
.gcc_except_table : {
139
   *(.gcc_except_table)
140
} > ilmb_cntlr_dlmb_cntlr
141
 
142
.sdata : {
143
   . = ALIGN(8);
144
   __sdata_start = .;
145
   *(.sdata)
146
   *(.sdata.*)
147
   *(.gnu.linkonce.s.*)
148
   __sdata_end = .;
149
} > ilmb_cntlr_dlmb_cntlr
150
 
151
.sbss : {
152
   . = ALIGN(4);
153
   __sbss_start = .;
154
   *(.sbss)
155
   *(.sbss.*)
156
   *(.gnu.linkonce.sb.*)
157
   . = ALIGN(8);
158
   __sbss_end = .;
159
} > ilmb_cntlr_dlmb_cntlr
160
 
161
.tdata : {
162
   __tdata_start = .;
163
   *(.tdata)
164
   *(.tdata.*)
165
   *(.gnu.linkonce.td.*)
166
   __tdata_end = .;
167
} > ilmb_cntlr_dlmb_cntlr
168
 
169
.tbss : {
170
   __tbss_start = .;
171
   *(.tbss)
172
   *(.tbss.*)
173
   *(.gnu.linkonce.tb.*)
174
   __tbss_end = .;
175
} > ilmb_cntlr_dlmb_cntlr
176
 
177
.bss : {
178
   . = ALIGN(4);
179
   __bss_start = .;
180
   *(.bss)
181
   *(.bss.*)
182
   *(.gnu.linkonce.b.*)
183
   *(COMMON)
184
   . = ALIGN(4);
185
   __bss_end = .;
186
} > ilmb_cntlr_dlmb_cntlr
187
 
188
_SDA_BASE_ = __sdata_start + ((__sbss_end - __sdata_start) / 2 );
189
 
190
_SDA2_BASE_ = __sdata2_start + ((__sbss2_end - __sdata2_start) / 2 );
191
 
192
/* Generate Stack and Heap definitions */
193
 
194
.heap : {
195
   . = ALIGN(8);
196
   _heap = .;
197
   _heap_start = .;
198
   . += _HEAP_SIZE;
199
   _heap_end = .;
200
} > ilmb_cntlr_dlmb_cntlr
201
 
202
.stack : {
203
   _stack_end = .;
204
   . += _STACK_SIZE;
205
   . = ALIGN(8);
206
   _stack = .;
207
   __stack = _stack;
208
} > ilmb_cntlr_dlmb_cntlr
209
 
210
_end = .;
211
}
212
 

powered by: WebSVN 2.1.0

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