m68knommu: Split the .init section into INIT_TEXT_SECTION and INIT_DATA_SECTION.
authorTim Abbott <tabbott@ksplice.com>
Sun, 18 Oct 2009 17:23:55 +0000 (13:23 -0400)
committerGreg Ungerer <gerg@goober.(none)>
Fri, 4 Dec 2009 01:45:32 +0000 (11:45 +1000)
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/kernel/vmlinux.lds.S

index 884924982dd92f4f077f8b02f938ec1d56333178..9f1784f586b95db2d35227189762f8ed22a63517 100644 (file)
@@ -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