summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorTim Abbott <tabbott@ksplice.com>2009-10-18 19:23:55 +0200
committerGreg Ungerer <gerg@goober.(none)>2009-12-04 02:45:32 +0100
commit53749f735a5b79156b56e75ee379be9e299b5e4b (patch)
treea78bd02662d8ad1f6547d360c056604fcc5d167a /arch/m68knommu
parentm68knommu: Move __init_end out of the .init section. (diff)
downloadlinux-53749f735a5b79156b56e75ee379be9e299b5e4b.tar.xz
linux-53749f735a5b79156b56e75ee379be9e299b5e4b.zip
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.S17
1 files changed, 4 insertions, 13 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S
index 884924982dd9..9f1784f586b9 100644
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -154,22 +154,13 @@ SECTIONS {
_edata = . ;
} > DATA
- .init : {
+ .init.text : {
. = ALIGN(PAGE_SIZE);
__init_begin = .;
} > INIT
- .init : {
- _sinittext = .;
- INIT_TEXT
- _einittext = .;
- INIT_DATA
- INIT_SETUP(16)
- INIT_CALLS
- CON_INITCALL
- SECURITY_INITCALL
- INIT_RAM_FS
- } > INIT
- .init : {
+ INIT_TEXT_SECTION(PAGE_SIZE) > INIT
+ INIT_DATA_SECTION(16) > INIT
+ .init.data : {
. = ALIGN(PAGE_SIZE);
__init_end = .;
} > INIT