Project

General

Profile

Download (2.38 KB) Statistics
| Branch: | Tag: | Revision:
1 1c2b1d22 laforge
/* Memory Definitions */
2
3
MEMORY
4
{
5 157b3795 meri
  /* reserve 1K config area on top  of flash */
6
  FLASH  (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000 - 0x400)
7
  DATA   (rw) : ORIGIN = 0x00200028, LENGTH = (0x00008000 - 0x28)
8
  STACK  (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000
9 1c2b1d22 laforge
}
10
11
12
/* Section Definitions */
13
14
SECTIONS
15
{
16
	. = 0x00000000;
17
	/* first section is .text which is used for code */
18
	.text 0x00104000: AT ( 0x00000000 ) { 
19 dda0896d Harald Welte
  		src/start/Cstartup_app.o (.text*)
20
		* (.text*)
21 1c2b1d22 laforge
		* (.rodata*)
22
  		. = ALIGN(4);
23
  	} >FLASH
24
25
  	_etext = . ;
26
	PROVIDE (etext = .);
27
28
	/* 0x00200000 ... */
29
	.data 0x00200028: AT ( ADDR(.text) + SIZEOF(.text) - ADDR(.text) ) {
30
  		_data = . ;
31 dda0896d Harald Welte
		* (.fastrun*)
32
  		* (.data*)
33 1c2b1d22 laforge
  		. = ALIGN(4);
34
  	} >DATA
35
36
  	_edata = . ;
37
	PROVIDE (edata = .);
38
	
39
	/* .bss section which is used for uninitialized data */
40
	.bss : {
41
		__bss_start = . ;
42
		__bss_start__ = . ;
43 dda0896d Harald Welte
		*(.bss*)
44 1c2b1d22 laforge
		*(COMMON)
45
	} >DATA
46
47
	. = ALIGN(4);
48
	__bss_end__ = . ;
49
	__bss_end__ = . ;
50
51
	PROVIDE (main = .);
52
53
	_end = . ;
54
55
	. = ALIGN(4);
56
	.int_data : { 
57
		*(.internal_ram_top) 
58
   	} >STACK 
59
60
	PROVIDE (end = .);
61
62
  /* Stabs debugging sections.  */
63
  .stab          0 : { *(.stab) }
64
  .stabstr       0 : { *(.stabstr) }
65
  .stab.excl     0 : { *(.stab.excl) }
66
  .stab.exclstr  0 : { *(.stab.exclstr) }
67
  .stab.index    0 : { *(.stab.index) }
68
  .stab.indexstr 0 : { *(.stab.indexstr) }
69
  .comment       0 : { *(.comment) }
70
  /* DWARF debug sections.
71
     Symbols in the DWARF debugging sections are relative to the beginning
72
     of the section so we begin them at 0.  */
73
  /* DWARF 1 */
74
  .debug          0 : { *(.debug) }
75
  .line           0 : { *(.line) }
76
  /* GNU DWARF 1 extensions */
77
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
78
  .debug_sfnames  0 : { *(.debug_sfnames) }
79
  /* DWARF 1.1 and DWARF 2 */
80
  .debug_aranges  0 : { *(.debug_aranges) }
81
  .debug_pubnames 0 : { *(.debug_pubnames) }
82
  /* DWARF 2 */
83
  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }
84
  .debug_abbrev   0 : { *(.debug_abbrev) }
85
  .debug_line     0 : { *(.debug_line) }
86
  .debug_frame    0 : { *(.debug_frame) }
87
  .debug_str      0 : { *(.debug_str) }
88
  .debug_loc      0 : { *(.debug_loc) }
89
  .debug_macinfo  0 : { *(.debug_macinfo) }
90
  /* SGI/MIPS DWARF 2 extensions */
91
  .debug_weaknames 0 : { *(.debug_weaknames) }
92
  .debug_funcnames 0 : { *(.debug_funcnames) }
93
  .debug_typenames 0 : { *(.debug_typenames) }
94
  .debug_varnames  0 : { *(.debug_varnames) }
95
96
}
Add picture from clipboard (Maximum size: 48.8 MB)