summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds70
1 files changed, 40 insertions, 30 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index 8d7d55a607..c0f19bc430 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -302,37 +302,47 @@ SECTIONS
302} 302}
303#elif (CONFIG_CPU==IMX31L) 303#elif (CONFIG_CPU==IMX31L)
304{ 304{
305 . = 0x8a000000; 305#if 0
306 .vectors : 306 .vectors 0x0 :
307 { 307 {
308 KEEP(*(.vectors*)); 308 _vectorsstart = .;
309 *(.vectors*); 309 *(.vectors);
310 } 310 _vectorsend = .;
311 .text : { 311 } AT> DRAM
312 *(.init.text) 312#endif
313 *(.text*) 313 . = 0x82000000;
314 } 314
315 .data : { 315 .text :
316 *(.icode) 316 {
317 *(.irodata) 317 *(.init.text)
318 *(.idata) 318 *(.text*)
319 *(.data*)
320 _dataend = . ;
321 } 319 }
322 .stack : 320
323 { 321 .data :
324 *(.stack) 322 {
325 _stackbegin = .; 323 *(.icode)
326 stackbegin = .; 324 *(.irodata)
327 . += 0x2000; 325 *(.idata)
328 _stackend = .; 326 *(.data*)
329 stackend = .; 327 _dataend = . ;
330 } 328 }
331 .bss : { 329
332 _edata = .; 330 .stack :
333 *(.bss*); 331 {
334 *(.ibss); 332 *(.stack)
335 _end = .; 333 _stackbegin = .;
334 stackbegin = .;
335 . += 0x2000;
336 _stackend = .;
337 stackend = .;
338 }
339
340 .bss :
341 {
342 _edata = .;
343 *(.bss*);
344 *(.ibss);
345 _end = .;
336 } 346 }
337} 347}
338#else 348#else