diff options
author | Tim Abbott <tabbott@ksplice.com> | 2009-10-18 13:23:55 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@goober.(none)> | 2009-12-03 20:45:32 -0500 |
commit | 53749f735a5b79156b56e75ee379be9e299b5e4b (patch) | |
tree | a78bd02662d8ad1f6547d360c056604fcc5d167a /arch/m68knommu | |
parent | 995bcd3dc1924095ddda45d0f8ece6bf6124d74e (diff) |
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>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/kernel/vmlinux.lds.S | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S index 884924982dd..9f1784f586b 100644 --- a/arch/m68knommu/kernel/vmlinux.lds.S +++ b/arch/m68knommu/kernel/vmlinux.lds.S | |||
@@ -154,22 +154,13 @@ SECTIONS { | |||
154 | _edata = . ; | 154 | _edata = . ; |
155 | } > DATA | 155 | } > DATA |
156 | 156 | ||
157 | .init : { | 157 | .init.text : { |
158 | . = ALIGN(PAGE_SIZE); | 158 | . = ALIGN(PAGE_SIZE); |
159 | __init_begin = .; | 159 | __init_begin = .; |
160 | } > INIT | 160 | } > INIT |
161 | .init : { | 161 | INIT_TEXT_SECTION(PAGE_SIZE) > INIT |
162 | _sinittext = .; | 162 | INIT_DATA_SECTION(16) > INIT |
163 | INIT_TEXT | 163 | .init.data : { |
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 : { | ||
173 | . = ALIGN(PAGE_SIZE); | 164 | . = ALIGN(PAGE_SIZE); |
174 | __init_end = .; | 165 | __init_end = .; |
175 | } > INIT | 166 | } > INIT |