1
1
/* warning : AUTOGENERATED from eagle.app.v6.common.ld*.h */
2
-
3
-
2
+ /* This linker script generated from xt-genldscripts.tpp for LSP . */
3
+ /* Linker Script for ld -N */
4
4
5
5
PHDRS
6
6
{
12
12
}
13
13
14
14
15
-
15
+ /* Default entry point : */
16
16
ENTRY (call_user_start )
17
17
EXTERN (_DebugExceptionVector )
18
18
EXTERN (_DoubleExceptionVector )
@@ -21,7 +21,7 @@ EXTERN(_NMIExceptionVector)
21
21
EXTERN (_UserExceptionVector )
22
22
EXTERN (core_version )
23
23
PROVIDE (_memmap_vecbase_reset = 0x40000000 );
24
-
24
+ /* Various memory-map dependent cache attribute settings : */
25
25
_memmap_cacheattr_wb_base = 0x00000110;
26
26
_memmap_cacheattr_wt_base = 0x00000110;
27
27
_memmap_cacheattr_bp_base = 0x00000220;
@@ -159,7 +159,7 @@ SECTIONS
159
159
*.cpp.o (.iram.text)
160
160
*.c.o (.iram.text)
161
161
162
- *(.rodata._ZTV*)
162
+ *(.rodata._ZTV*) /* C++ vtables */
163
163
164
164
*(.fini.literal)
165
165
*(.fini)
@@ -184,7 +184,7 @@ SECTIONS
184
184
*(.gnu.version_r)
185
185
*(.eh_frame)
186
186
. = (. + 3) & ~ 3;
187
-
187
+ /* C++ constructor and destructor tables, properly ordered : */
188
188
__init_array_start = ABSOLUTE (.);
189
189
KEEP (*crtbegin.o (.ctors))
190
190
KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors))
@@ -195,15 +195,15 @@ SECTIONS
195
195
KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors))
196
196
KEEP (*(SORT(.dtors.*)))
197
197
KEEP (*(.dtors))
198
-
198
+ /* C++ exception handlers table : */
199
199
__XT_EXCEPTION_DESCS__ = ABSOLUTE (.);
200
200
*(.xt_except_desc)
201
201
*(.gnu.linkonce.h.*)
202
202
__XT_EXCEPTION_DESCS_END__ = ABSOLUTE (.);
203
203
*(.xt_except_desc_end)
204
204
*(.dynamic)
205
205
*(.gnu.version_d)
206
- . = ALIGN (4);
206
+ . = ALIGN (4); /* this table MUST be 4-byte aligned */
207
207
_bss_table_start = ABSOLUTE (.);
208
208
LONG (_bss_start )
209
209
LONG (_bss_end )
@@ -231,8 +231,9 @@ SECTIONS
231
231
. = ALIGN (8);
232
232
_bss_end = ABSOLUTE (.);
233
233
_heap_start = ABSOLUTE (.);
234
-
234
+ /* _stack_sentry = ALIGN (0x8); */
235
235
} >dram0_0_seg :dram0_0_bss_phdr
236
+ /* __stack = 0x3ffc8000; */
236
237
237
238
238
239
.lit4 : ALIGN (4)
@@ -247,5 +248,5 @@ SECTIONS
247
248
248
249
}
249
250
250
-
251
+ /* get ROM code address */
251
252
INCLUDE "../ld/eagle.rom.addr.v6.ld"
0 commit comments