aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index d062597e6217..7d12c6692a65 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -102,7 +102,7 @@ SECTIONS
102#if !L1_DATA_B_LENGTH 102#if !L1_DATA_B_LENGTH
103 *(.l1.data.B) 103 *(.l1.data.B)
104#endif 104#endif
105#ifndef L2_LENGTH 105#if !L2_LENGTH
106 . = ALIGN(32); 106 . = ALIGN(32);
107 *(.data_l2.cacheline_aligned) 107 *(.data_l2.cacheline_aligned)
108 *(.l2.data) 108 *(.l2.data)
@@ -212,20 +212,19 @@ SECTIONS
212 __ebss_b_l1 = .; 212 __ebss_b_l1 = .;
213 } 213 }
214 214
215#ifdef L2_LENGTH
216 __l2_lma_start = .; 215 __l2_lma_start = .;
217 216
218 .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1)) 217 .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1))
219 { 218 {
220 . = ALIGN(4); 219 . = ALIGN(4);
221 __stext_l2 = .; 220 __stext_l2 = .;
222 *(.l1.text) 221 *(.l2.text)
223 . = ALIGN(4); 222 . = ALIGN(4);
224 __etext_l2 = .; 223 __etext_l2 = .;
225 224
226 . = ALIGN(4); 225 . = ALIGN(4);
227 __sdata_l2 = .; 226 __sdata_l2 = .;
228 *(.l1.data) 227 *(.l2.data)
229 __edata_l2 = .; 228 __edata_l2 = .;
230 229
231 . = ALIGN(32); 230 . = ALIGN(32);
@@ -233,11 +232,10 @@ SECTIONS
233 232
234 . = ALIGN(4); 233 . = ALIGN(4);
235 __sbss_l2 = .; 234 __sbss_l2 = .;
236 *(.l1.bss) 235 *(.l2.bss)
237 . = ALIGN(4); 236 . = ALIGN(4);
238 __ebss_l2 = .; 237 __ebss_l2 = .;
239 } 238 }
240#endif
241 239
242 /* Force trailing alignment of our init section so that when we 240 /* Force trailing alignment of our init section so that when we
243 * free our init memory, we don't leave behind a partial page. 241 * free our init memory, we don't leave behind a partial page.