diff options
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/blackfin/kernel/vmlinux.lds.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index 7d12c6692a65..4b4341da0585 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
@@ -68,6 +68,8 @@ SECTIONS | |||
68 | __etext = .; | 68 | __etext = .; |
69 | } | 69 | } |
70 | 70 | ||
71 | NOTES | ||
72 | |||
71 | /* Just in case the first read only is a 32-bit access */ | 73 | /* Just in case the first read only is a 32-bit access */ |
72 | RO_DATA(4) | 74 | RO_DATA(4) |
73 | 75 | ||
@@ -109,7 +111,6 @@ SECTIONS | |||
109 | #endif | 111 | #endif |
110 | 112 | ||
111 | DATA_DATA | 113 | DATA_DATA |
112 | *(.data.*) | ||
113 | CONSTRUCTORS | 114 | CONSTRUCTORS |
114 | 115 | ||
115 | /* make sure the init_task is aligned to the | 116 | /* make sure the init_task is aligned to the |
@@ -161,12 +162,14 @@ SECTIONS | |||
161 | *(.con_initcall.init) | 162 | *(.con_initcall.init) |
162 | ___con_initcall_end = .; | 163 | ___con_initcall_end = .; |
163 | } | 164 | } |
165 | PERCPU(4) | ||
164 | SECURITY_INIT | 166 | SECURITY_INIT |
165 | .init.ramfs : | 167 | .init.ramfs : |
166 | { | 168 | { |
167 | . = ALIGN(4); | 169 | . = ALIGN(4); |
168 | ___initramfs_start = .; | 170 | ___initramfs_start = .; |
169 | *(.init.ramfs) | 171 | *(.init.ramfs) |
172 | . = ALIGN(4); | ||
170 | ___initramfs_end = .; | 173 | ___initramfs_end = .; |
171 | } | 174 | } |
172 | 175 | ||
@@ -212,7 +215,7 @@ SECTIONS | |||
212 | __ebss_b_l1 = .; | 215 | __ebss_b_l1 = .; |
213 | } | 216 | } |
214 | 217 | ||
215 | __l2_lma_start = .; | 218 | __l2_lma_start = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1); |
216 | 219 | ||
217 | .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1)) | 220 | .text_data_l2 L2_START : AT(LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1)) |
218 | { | 221 | { |
@@ -240,7 +243,7 @@ SECTIONS | |||
240 | /* Force trailing alignment of our init section so that when we | 243 | /* Force trailing alignment of our init section so that when we |
241 | * free our init memory, we don't leave behind a partial page. | 244 | * free our init memory, we don't leave behind a partial page. |
242 | */ | 245 | */ |
243 | . = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1); | 246 | . = LOADADDR(.text_data_l2) + SIZEOF(.text_data_l2); |
244 | . = ALIGN(PAGE_SIZE); | 247 | . = ALIGN(PAGE_SIZE); |
245 | ___init_end = .; | 248 | ___init_end = .; |
246 | 249 | ||