patch-2.4.22 linux-2.4.22/arch/mips64/ld.script.elf32.S

Next file: linux-2.4.22/arch/mips64/ld.script.elf64
Previous file: linux-2.4.22/arch/mips64/kernel/unaligned.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips64/ld.script.elf32.S linux-2.4.22/arch/mips64/ld.script.elf32.S
@@ -77,6 +77,14 @@
   {
     _fdata = . ;
     *(.data)
+
+    /* Align the initial ramdisk image (INITRD) on page boundaries. */
+    . = ALIGN(4096);
+    __rd_start = .;
+    *(.initrd)
+    . = ALIGN(4096);
+    __rd_end = .;
+
     CONSTRUCTORS
   }
   .data1   : { *(.data1) }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)