summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/app.lds')
-rw-r--r--firmware/target/arm/imx31/app.lds24
1 files changed, 4 insertions, 20 deletions
diff --git a/firmware/target/arm/imx31/app.lds b/firmware/target/arm/imx31/app.lds
index 9b35e8dd53..80123fee9d 100644
--- a/firmware/target/arm/imx31/app.lds
+++ b/firmware/target/arm/imx31/app.lds
@@ -46,6 +46,7 @@ SECTIONS
46 . = ALIGN(0x200); 46 . = ALIGN(0x200);
47 *(.init.text) 47 *(.init.text)
48 *(.text*) 48 *(.text*)
49 *(.icode)
49 *(.glue_7) 50 *(.glue_7)
50 *(.glue_7t) 51 *(.glue_7t)
51 . = ALIGN(0x4); 52 . = ALIGN(0x4);
@@ -57,6 +58,7 @@ SECTIONS
57 *(.rodata*) 58 *(.rodata*)
58 *(.rodata.str1.1) 59 *(.rodata.str1.1)
59 *(.rodata.str1.4) 60 *(.rodata.str1.4)
61 *(.irodata)
60 . = ALIGN(0x4); 62 . = ALIGN(0x4);
61 63
62 /* Pseudo-allocate the copies of the data sections */ 64 /* Pseudo-allocate the copies of the data sections */
@@ -70,6 +72,7 @@ SECTIONS
70 { 72 {
71 _datastart = .; 73 _datastart = .;
72 *(.data*) 74 *(.data*)
75 *(.idata)
73 . = ALIGN(0x4); 76 . = ALIGN(0x4);
74 _dataend = .; 77 _dataend = .;
75 } > DRAM 78 } > DRAM
@@ -88,26 +91,6 @@ SECTIONS
88 91
89 _vectorscopy = LOADADDR(.vectors); 92 _vectorscopy = LOADADDR(.vectors);
90 93
91 .iram :
92 {
93 _iramstart = .;
94 *(.icode)
95 *(.irodata)
96 *(.idata)
97 . = ALIGN(0x4);
98 _iramend = .;
99 } > DRAM
100
101 _iramcopy = LOADADDR(.iram);
102
103 .ibss (NOLOAD) :
104 {
105 _iedata = .;
106 *(.ibss)
107 . = ALIGN(0x4);
108 _iend = .;
109 } > DRAM
110
111 .stack : 94 .stack :
112 { 95 {
113 *(.stack) 96 *(.stack)
@@ -120,6 +103,7 @@ SECTIONS
120 { 103 {
121 _edata = .; 104 _edata = .;
122 *(.bss*) 105 *(.bss*)
106 *(.ibss)
123 *(COMMON) 107 *(COMMON)
124 . = ALIGN(0x4); 108 . = ALIGN(0x4);
125 _end = .; 109 _end = .;