source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/armv4/_common_lpc2388/lpc2388_sram.ld@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 9.3 KB
Line 
1/*
2 */
3
4OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm","elf32-littlearm")
5OUTPUT_ARCH(arm)
6
7PROVIDE(hardware_init_hook = 0);
8PROVIDE(software_init_hook = 0);
9PROVIDE(software_term_hook = 0);
10PROVIDE(__data_start = 0); /* この値はchip_config.cの init_vector中で使う */
11PROVIDE(__data_end = 0);
12
13MEMORY
14 {
15 MEM_VECTOR (XW) : ORIGIN = 0x00000000, LENGTH = 64
16 MEM_FIO (RW) : ORIGIN = 0x3FFF8000, LENGTH = 32K
17 MEM_SRAM (XW) : ORIGIN = 0x40000040, LENGTH = 0xFFC0
18 MEM_USBSRAM (XW) : ORIGIN = 0x7FD00000, LENGTH = 16K
19 MEM_ETHERSRAM (XW): ORIGIN = 0x7FE00000, LENGTH = 16K
20 MEM_EXTSRAM_0 (XW): ORIGIN = 0x80000000, LENGTH = 64K
21 MEM_EXTSRAM_1 (XW): ORIGIN = 0x81000000, LENGTH = 64K
22 MEM_MMR (RW) : ORIGIN = 0xE0000000, LENGTH = 1024M
23 }
24
25
26SECTIONS
27{
28 /* SRAMで動作する場合、ベクトルの初期値はリマップ領域にデバッガがé…
29ç½®ã™ã‚‹ã€‚ */
30 .vector : AT(0x40000000)
31 {
32 KEEP(start.o(.vector))
33 } > MEM_VECTOR
34
35
36
37 .bss.firmmr (NOLOAD) : { chip_mmr.o(.MMR0)} > MEM_FIO
38 .bss.firmmr (NOLOAD) : { . = 0x4000; chip_mmr.o(.MMR1)} > MEM_FIO
39 .bss.firmmr (NOLOAD) : { . = 0x4010; chip_mmr.o(.MMR2)} > MEM_FIO
40 .bss.firmmr (NOLOAD) : { . = 0x4030; chip_mmr.o(.MMR3)} > MEM_FIO
41 .bss.firmmr (NOLOAD) : { . = 0x4050; chip_mmr.o(.MMR4)} > MEM_FIO
42 .bss.firmmr (NOLOAD) : { . = 0x4070; chip_mmr.o(.MMR5)} > MEM_FIO
43 .bss.firmmr (NOLOAD) : { . = 0x4090; chip_mmr.o(.MMR6)} > MEM_FIO
44
45 .text :
46 {
47 __text = . ;
48 start.o(.text)
49 *(.text)
50 *(.glue_7t)
51 *(.glue_7)
52 } > MEM_SRAM
53
54 _etext = . ;
55 PROVIDE (etext = .) ;
56 .rodata : {
57 *(.rodata)
58 *(.rodata.str1.4)
59 } > MEM_SRAM
60
61 __exidx_start = .;
62 .ARM.exidx : {
63 *(.ARM.exidx* .gnu.linkonce.armexidx.*)
64 } > MEM_SRAM
65
66 . = ALIGN(4);
67 .data :
68 {
69 __data_start = . ;
70 *(.data)
71 } > MEM_SRAM
72 _edata = . ;
73 PROVIDE (edata = .);
74
75 . = ALIGN(4);
76 __bss_start = . ;
77 .bss :
78 {
79 *(.bss)
80 *(COMMON)
81 . = ALIGN(32 / 8);
82 } > MEM_SRAM
83
84 . = ALIGN(32 / 8);
85 _end = . ;
86 __bss_end = __bss_start + SIZEOF(.bss);
87 PROVIDE (end = .) ;
88
89 .bss.sysmmr (NOLOAD) : { . = 0x00000000; chip_mmr.o(.MMR7)} > MEM_MMR
90 .bss.sysmmr (NOLOAD) : { . = 0x00004000; chip_mmr.o(.MMR8)} > MEM_MMR
91 .bss.sysmmr (NOLOAD) : { . = 0x00004070; chip_mmr.o(.MMR9)} > MEM_MMR
92 .bss.sysmmr (NOLOAD) : { . = 0x00008000; chip_mmr.o(.MMR10)} > MEM_MMR
93 .bss.sysmmr (NOLOAD) : { . = 0x00008070; chip_mmr.o(.MMR11)} > MEM_MMR
94 .bss.sysmmr (NOLOAD) : { . = 0x0000C000; chip_mmr.o(.MMR12)} > MEM_MMR
95 .bss.sysmmr (NOLOAD) : { . = 0x0000C014; chip_mmr.o(.MMR17)} > MEM_MMR
96 .bss.sysmmr (NOLOAD) : { . = 0x0000C01C; chip_mmr.o(.MMR18)} > MEM_MMR
97 .bss.sysmmr (NOLOAD) : { . = 0x0000C030; chip_mmr.o(.MMR19)} > MEM_MMR
98 .bss.sysmmr (NOLOAD) : { . = 0x00010000; chip_mmr.o(.MMR20)} > MEM_MMR
99 .bss.sysmmr (NOLOAD) : { . = 0x00010028; chip_mmr.o(.MMR25)} > MEM_MMR
100 .bss.sysmmr (NOLOAD) : { . = 0x00010030; chip_mmr.o(.MMR26)} > MEM_MMR
101 .bss.sysmmr (NOLOAD) : { . = 0x00014000; chip_mmr.o(.MMR27)} > MEM_MMR
102 .bss.sysmmr (NOLOAD) : { . = 0x00014070; chip_mmr.o(.MMR28)} > MEM_MMR
103 .bss.sysmmr (NOLOAD) : { . = 0x00018000; chip_mmr.o(.MMR29)} > MEM_MMR
104 .bss.sysmmr (NOLOAD) : { . = 0x00018070; chip_mmr.o(.MMR30)} > MEM_MMR
105 .bss.sysmmr (NOLOAD) : { . = 0x0001C000; chip_mmr.o(.MMR31)} > MEM_MMR
106 .bss.sysmmr (NOLOAD) : { . = 0x00020000; chip_mmr.o(.MMR32)} > MEM_MMR
107 .bss.sysmmr (NOLOAD) : { . = 0x0002001C; chip_mmr.o(.MMR33)} > MEM_MMR
108 .bss.sysmmr (NOLOAD) : { . = 0x00024000; chip_mmr.o(.MMR34)} > MEM_MMR
109 .bss.sysmmr (NOLOAD) : { . = 0x00024060; chip_mmr.o(.MMR35)} > MEM_MMR
110 .bss.sysmmr (NOLOAD) : { . = 0x00028000; chip_mmr.o(.MMR36)} > MEM_MMR
111 .bss.sysmmr (NOLOAD) : { . = 0x00028080; chip_mmr.o(.MMR37)} > MEM_MMR
112 .bss.sysmmr (NOLOAD) : { . = 0x000280A4; chip_mmr.o(.MMR38)} > MEM_MMR
113 .bss.sysmmr (NOLOAD) : { . = 0x0002C000; chip_mmr.o(.MMR39)} > MEM_MMR
114 .bss.sysmmr (NOLOAD) : { . = 0x0002C040; chip_mmr.o(.MMR40)} > MEM_MMR
115 .bss.sysmmr (NOLOAD) : { . = 0x00030000; chip_mmr.o(.MMR41)} > MEM_MMR
116 .bss.sysmmr (NOLOAD) : { . = 0x00034000; chip_mmr.o(.MMR42)} > MEM_MMR
117 .bss.sysmmr (NOLOAD) : { . = 0x0003400C; chip_mmr.o(.MMR43)} > MEM_MMR
118 .bss.sysmmr (NOLOAD) : { . = 0x0003C000; chip_mmr.o(.MMR44)} > MEM_MMR
119 .bss.sysmmr (NOLOAD) : { . = 0x00040000; chip_mmr.o(.MMR45)} > MEM_MMR
120 .bss.sysmmr (NOLOAD) : { . = 0x00044000; chip_mmr.o(.MMR46)} > MEM_MMR
121 .bss.sysmmr (NOLOAD) : { . = 0x00048000; chip_mmr.o(.MMR47)} > MEM_MMR
122 .bss.sysmmr (NOLOAD) : { . = 0x0005C000; chip_mmr.o(.MMR48)} > MEM_MMR
123 .bss.sysmmr (NOLOAD) : { . = 0x00068000; chip_mmr.o(.MMR49)} > MEM_MMR
124 .bss.sysmmr (NOLOAD) : { . = 0x0006C000; chip_mmr.o(.MMR50)} > MEM_MMR
125 .bss.sysmmr (NOLOAD) : { . = 0x00070000; chip_mmr.o(.MMR51)} > MEM_MMR
126 .bss.sysmmr (NOLOAD) : { . = 0x00070070; chip_mmr.o(.MMR52)} > MEM_MMR
127 .bss.sysmmr (NOLOAD) : { . = 0x00074000; chip_mmr.o(.MMR53)} > MEM_MMR
128 .bss.sysmmr (NOLOAD) : { . = 0x00074070; chip_mmr.o(.MMR54)} > MEM_MMR
129 .bss.sysmmr (NOLOAD) : { . = 0x00078000; chip_mmr.o(.MMR55)} > MEM_MMR
130 .bss.sysmmr (NOLOAD) : { . = 0x00078014; chip_mmr.o(.MMR60)} > MEM_MMR
131 .bss.sysmmr (NOLOAD) : { . = 0x0007801C; chip_mmr.o(.MMR61)} > MEM_MMR
132 .bss.sysmmr (NOLOAD) : { . = 0x00078030; chip_mmr.o(.MMR62)} > MEM_MMR
133 .bss.sysmmr (NOLOAD) : { . = 0x0007C000; chip_mmr.o(.MMR63)} > MEM_MMR
134 .bss.sysmmr (NOLOAD) : { . = 0x0007C014; chip_mmr.o(.MMR68)} > MEM_MMR
135 .bss.sysmmr (NOLOAD) : { . = 0x0007C01C; chip_mmr.o(.MMR69)} > MEM_MMR
136 .bss.sysmmr (NOLOAD) : { . = 0x0007C030; chip_mmr.o(.MMR70)} > MEM_MMR
137 .bss.sysmmr (NOLOAD) : { . = 0x00080000; chip_mmr.o(.MMR71)} > MEM_MMR
138 .bss.sysmmr (NOLOAD) : { . = 0x00088000; chip_mmr.o(.MMR72)} > MEM_MMR
139 .bss.sysmmr (NOLOAD) : { . = 0x0008C000; chip_mmr.o(.MMR73)} > MEM_MMR
140 .bss.sysmmr (NOLOAD) : { . = 0x0008C048; chip_mmr.o(.MMR74)} > MEM_MMR
141 .bss.sysmmr (NOLOAD) : { . = 0x0008C080; chip_mmr.o(.MMR75)} > MEM_MMR
142 .bss.sysmmr (NOLOAD) : { . = 0x001FC000; chip_mmr.o(.MMR76)} > MEM_MMR
143 .bss.sysmmr (NOLOAD) : { . = 0x001FC040; chip_mmr.o(.MMR77)} > MEM_MMR
144 .bss.sysmmr (NOLOAD) : { . = 0x001FC080; chip_mmr.o(.MMR78)} > MEM_MMR
145 .bss.sysmmr (NOLOAD) : { . = 0x001FC0C0; chip_mmr.o(.MMR79)} > MEM_MMR
146 .bss.sysmmr (NOLOAD) : { . = 0x001FC104; chip_mmr.o(.MMR80)} > MEM_MMR
147 .bss.sysmmr (NOLOAD) : { . = 0x001FC140; chip_mmr.o(.MMR81)} > MEM_MMR
148 .bss.sysmmr (NOLOAD) : { . = 0x001FC180; chip_mmr.o(.MMR82)} > MEM_MMR
149 .bss.sysmmr (NOLOAD) : { . = 0x001FC1A0; chip_mmr.o(.MMR83)} > MEM_MMR
150 .bss.sysmmr (NOLOAD) : { . = 0x001FC1A8; chip_mmr.o(.MMR84)} > MEM_MMR
151 .bss.sysmmr (NOLOAD) : { . = 0x001FC1C0; chip_mmr.o(.MMR85)} > MEM_MMR
152 .bss.sysmmr (NOLOAD) : { . = 0x1FE00000; chip_mmr.o(.MMR86)} > MEM_MMR
153 .bss.sysmmr (NOLOAD) : { . = 0x1FE00040; chip_mmr.o(.MMR87)} > MEM_MMR
154 .bss.sysmmr (NOLOAD) : { . = 0x1FE00100; chip_mmr.o(.MMR88)} > MEM_MMR
155 .bss.sysmmr (NOLOAD) : { . = 0x1FE00158; chip_mmr.o(.MMR89)} > MEM_MMR
156 .bss.sysmmr (NOLOAD) : { . = 0x1FE00170; chip_mmr.o(.MMR90)} > MEM_MMR
157 .bss.sysmmr (NOLOAD) : { . = 0x1FE00200; chip_mmr.o(.MMR91)} > MEM_MMR
158 .bss.sysmmr (NOLOAD) : { . = 0x1FE00210; chip_mmr.o(.MMR92)} > MEM_MMR
159 .bss.sysmmr (NOLOAD) : { . = 0x1FE00FE0; chip_mmr.o(.MMR93)} > MEM_MMR
160 .bss.sysmmr (NOLOAD) : { . = 0x1FE00FF4; chip_mmr.o(.MMR94)} > MEM_MMR
161 .bss.sysmmr (NOLOAD) : { . = 0x1FE00FFC; chip_mmr.o(.MMR95)} > MEM_MMR
162 .bss.sysmmr (NOLOAD) : { . = 0x1FE04000; chip_mmr.o(.MMR96)} > MEM_MMR
163 .bss.sysmmr (NOLOAD) : { . = 0x1FE04100; chip_mmr.o(.MMR97)} > MEM_MMR
164 .bss.sysmmr (NOLOAD) : { . = 0x1FE04120; chip_mmr.o(.MMR98)} > MEM_MMR
165 .bss.sysmmr (NOLOAD) : { . = 0x1FE08000; chip_mmr.o(.MMR99)} > MEM_MMR
166 .bss.sysmmr (NOLOAD) : { . = 0x1FE08020; chip_mmr.o(.MMR100)} > MEM_MMR
167 .bss.sysmmr (NOLOAD) : { . = 0x1FE08030; chip_mmr.o(.MMR101)} > MEM_MMR
168 .bss.sysmmr (NOLOAD) : { . = 0x1FE08080; chip_mmr.o(.MMR102)} > MEM_MMR
169 .bss.sysmmr (NOLOAD) : { . = 0x1FE08100; chip_mmr.o(.MMR103)} > MEM_MMR
170 .bss.sysmmr (NOLOAD) : { . = 0x1FE08120; chip_mmr.o(.MMR104)} > MEM_MMR
171 .bss.sysmmr (NOLOAD) : { . = 0x1FE08140; chip_mmr.o(.MMR105)} > MEM_MMR
172 .bss.sysmmr (NOLOAD) : { . = 0x1FE08160; chip_mmr.o(.MMR106)} > MEM_MMR
173 .bss.sysmmr (NOLOAD) : { . = 0x1FE08200; chip_mmr.o(.MMR107)} > MEM_MMR
174 .bss.sysmmr (NOLOAD) : { . = 0x1FE08220; chip_mmr.o(.MMR108)} > MEM_MMR
175 .bss.sysmmr (NOLOAD) : { . = 0x1FE08240; chip_mmr.o(.MMR109)} > MEM_MMR
176 .bss.sysmmr (NOLOAD) : { . = 0x1FE08260; chip_mmr.o(.MMR110)} > MEM_MMR
177 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C000; chip_mmr.o(.MMR111)} > MEM_MMR
178 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C100; chip_mmr.o(.MMR112)} > MEM_MMR
179 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C110; chip_mmr.o(.MMR113)} > MEM_MMR
180 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C200; chip_mmr.o(.MMR114)} > MEM_MMR
181 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C280; chip_mmr.o(.MMR115)} > MEM_MMR
182 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C2A0; chip_mmr.o(.MMR116)} > MEM_MMR
183 .bss.sysmmr (NOLOAD) : { . = 0x1FE0C300; chip_mmr.o(.MMR117)} > MEM_MMR
184 .bss.sysmmr (NOLOAD) : { . = 0x1FE0CFF4; chip_mmr.o(.MMR119)} > MEM_MMR
185 .bss.sysmmr (NOLOAD) : { . = 0x1FFFF000; chip_mmr.o(.MMR120)} > MEM_MMR
186 .bss.sysmmr (NOLOAD) : { . = 0x1FFFF100; chip_mmr.o(.MMR121)} > MEM_MMR
187 .bss.sysmmr (NOLOAD) : { . = 0x1FFFF200; chip_mmr.o(.MMR122)} > MEM_MMR
188 .bss.sysmmr (NOLOAD) : { . = 0x1FFFFF00; chip_mmr.o(.MMR123)} > MEM_MMR
189}
190
191
192
193
Note: See TracBrowser for help on using the repository browser.