]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/kernel/vmlinux.lds.S
Merge branches 'armv7', 'at91', 'misc' and 'omap' into devel
[linux-2.6-omap-h63xx.git] / arch / mips / kernel / vmlinux.lds.S
index 79f0317d84ac6fa2fa99fcc02a916acac335f396..043f637e3d106c02c8e38396eba3ea8da7e33723 100644 (file)
@@ -112,11 +112,14 @@ SECTIONS
     /* .exit.text is discarded at runtime, not link time, to deal with
      references from .rodata */
   .exit.text : { *(.exit.text) }
+  .exit.data : { *(.exit.data) }
+#if defined(CONFIG_BLK_DEV_INITRD)
   . = ALIGN(_PAGE_SIZE);
   __initramfs_start = .;
   .init.ramfs : { *(.init.ramfs) }
   __initramfs_end = .;
-  . = ALIGN(32);
+#endif
+  . = ALIGN(_PAGE_SIZE);
   __per_cpu_start = .;
   .data.percpu  : { *(.data.percpu) }
   __per_cpu_end = .;
@@ -139,7 +142,6 @@ SECTIONS
 
   /* Sections to be discarded */
   /DISCARD/ : {
-        *(.exit.data)
         *(.exitcall.exit)
 
        /* ABI crap starts here */