summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/app.lds')
-rw-r--r--firmware/target/arm/tms320dm320/app.lds28
1 files changed, 14 insertions, 14 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds
index ab871bb9c5..1e0d1839c0 100644
--- a/firmware/target/arm/tms320dm320/app.lds
+++ b/firmware/target/arm/tms320dm320/app.lds
@@ -110,15 +110,6 @@ SECTIONS
110 *(.data*) 110 *(.data*)
111 } > DRAM 111 } > DRAM
112 112
113 .bss (NOLOAD) :
114 {
115 . = ALIGN(0x4);
116 _bss_start = .;
117 *(.bss*)
118 *(COMMON)
119 _bss_end = .;
120 } > DRAM
121
122 .iram : 113 .iram :
123 { 114 {
124 . = ALIGN(0x4); 115 . = ALIGN(0x4);
@@ -131,13 +122,22 @@ SECTIONS
131 122
132 _iramcopy = LOADADDR(.iram); 123 _iramcopy = LOADADDR(.iram);
133 124
134 .ibss DTCMORIG + _iramend (NOLOAD) : 125 .bss (NOLOAD) :
126 {
127 . = ALIGN(0x4);
128 _bss_start = .;
129 *(.bss*)
130 *(COMMON)
131 _bss_end = .;
132 } > DRAM
133
134 .ibss (NOLOAD) :
135 { 135 {
136 . = ALIGN(0x4); 136 . = ALIGN(0x4);
137 _ibss_start = .; 137 _ibss_start = .;
138 *(.ibss) 138 *(.ibss)
139 _ibss_end = .; 139 _ibss_end = .;
140 } > DTCM 140 } > ITCM
141 141
142 /* Program stack space */ 142 /* Program stack space */
143 .pro_stack (NOLOAD): 143 .pro_stack (NOLOAD):
@@ -149,7 +149,7 @@ SECTIONS
149 . += PRO_STACK_SIZE; 149 . += PRO_STACK_SIZE;
150 _pro_stack_start = .; 150 _pro_stack_start = .;
151 stackend = .; /* Variable for tread.c */ 151 stackend = .; /* Variable for tread.c */
152 } > DTCM 152 } > ITCM
153 153
154 /* IRQ stack space */ 154 /* IRQ stack space */
155 .irq_stack (NOLOAD): 155 .irq_stack (NOLOAD):
@@ -158,7 +158,7 @@ SECTIONS
158 _irq_stack_end = .; 158 _irq_stack_end = .;
159 . += IRQ_STACK_SIZE; 159 . += IRQ_STACK_SIZE;
160 _irq_stack_start = .; 160 _irq_stack_start = .;
161 } > DTCM 161 } > ITCM
162 162
163 /* FIQ stack space */ 163 /* FIQ stack space */
164 .fiq_stack (NOLOAD): 164 .fiq_stack (NOLOAD):
@@ -167,7 +167,7 @@ SECTIONS
167 _fiq_stack_end = .; 167 _fiq_stack_end = .;
168 . += FIQ_STACK_SIZE; 168 . += FIQ_STACK_SIZE;
169 _fiq_stack_start = .; 169 _fiq_stack_start = .;
170 } > DTCM 170 } > ITCM
171 171
172 .audiobuf (NOLOAD) : 172 .audiobuf (NOLOAD) :
173 { 173 {