summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds19
1 files changed, 10 insertions, 9 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index dcc92deb8e..a8404134ae 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -104,7 +104,7 @@ SECTIONS
104 *(.text*) 104 *(.text*)
105 } 105 }
106 106
107 .data : { 107 .data : {
108 *(.icode) 108 *(.icode)
109 *(.irodata) 109 *(.irodata)
110 *(.idata) 110 *(.idata)
@@ -173,6 +173,8 @@ SECTIONS
173 . = DRAMORIG + 0x1000000; 173 . = DRAMORIG + 0x1000000;
174 174
175 .text : { 175 .text : {
176 loadaddress = .;
177 _loadaddress = .;
176 *(.init.text) 178 *(.init.text)
177 *(.text*) 179 *(.text*)
178 *(.glue_7) 180 *(.glue_7)
@@ -199,7 +201,7 @@ SECTIONS
199 *(.data*) 201 *(.data*)
200 . = ALIGN(0x4); 202 . = ALIGN(0x4);
201 _dataend = . ; 203 _dataend = . ;
202 } >DRAM 204 } > DRAM
203 205
204 .stack : 206 .stack :
205 { 207 {
@@ -209,27 +211,26 @@ SECTIONS
209 . += 0x2000; 211 . += 0x2000;
210 _stackend = .; 212 _stackend = .;
211 stackend = .; 213 stackend = .;
212 } >DRAM 214 } > DRAM
213 215
214 .bss : { 216 .bss :
217 {
215 _edata = .; 218 _edata = .;
216 *(.bss*); 219 *(.bss*);
217 *(.ibss); 220 *(.ibss);
218 *(COMMON) 221 *(COMMON)
219 _end = .; 222 _end = .;
220 }>DRAM 223 } > DRAM
221 224
222 .vectors 0x0 : 225 .vectors IRAMORIG :
223 { 226 {
224 loadaddress = .;
225 _loadaddress = .;
226 _vectorsstart = .; 227 _vectorsstart = .;
227 KEEP(*(.resetvectors)); 228 KEEP(*(.resetvectors));
228 *(.resetvectors); 229 *(.resetvectors);
229 KEEP(*(.vectors)); 230 KEEP(*(.vectors));
230 *(.vectors); 231 *(.vectors);
231 _vectorsend = .; 232 _vectorsend = .;
232 } AT> DRAM 233 } AT > DRAM
233 _vectorscopy = LOADADDR(.vectors); 234 _vectorscopy = LOADADDR(.vectors);
234} 235}
235#elif (CONFIG_CPU==IMX31L) 236#elif (CONFIG_CPU==IMX31L)