Commit 53749f735a5b79156b56e75ee379be9e299b5e4b
Committed by
Greg Ungerer
1 parent
995bcd3dc1
Exists in
master
and in
4 other branches
m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.
Signed-off-by: Tim Abbott <tabbott@ksplice.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Showing 1 changed file with 4 additions and 13 deletions Side-by-side Diff
arch/m68knommu/kernel/vmlinux.lds.S
... | ... | @@ -154,22 +154,13 @@ |
154 | 154 | _edata = . ; |
155 | 155 | } > DATA |
156 | 156 | |
157 | - .init : { | |
157 | + .init.text : { | |
158 | 158 | . = ALIGN(PAGE_SIZE); |
159 | 159 | __init_begin = .; |
160 | 160 | } > INIT |
161 | - .init : { | |
162 | - _sinittext = .; | |
163 | - INIT_TEXT | |
164 | - _einittext = .; | |
165 | - INIT_DATA | |
166 | - INIT_SETUP(16) | |
167 | - INIT_CALLS | |
168 | - CON_INITCALL | |
169 | - SECURITY_INITCALL | |
170 | - INIT_RAM_FS | |
171 | - } > INIT | |
172 | - .init : { | |
161 | + INIT_TEXT_SECTION(PAGE_SIZE) > INIT | |
162 | + INIT_DATA_SECTION(16) > INIT | |
163 | + .init.data : { | |
173 | 164 | . = ALIGN(PAGE_SIZE); |
174 | 165 | __init_end = .; |
175 | 166 | } > INIT |