patch-2.1.101 linux/arch/mips/ld.script.little

Next file: linux/arch/mips/lib/Makefile
Previous file: linux/arch/mips/ld.script.big
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/mips/ld.script.little linux/arch/mips/ld.script.little
@@ -37,6 +37,15 @@
   } =0
   _etext = .;
   PROVIDE (etext = .);
+
+  /* Startup code */
+  . = ALIGN(4096);
+  __init_begin = .;
+  .text.init : { *(.text.init) }
+  .data.init : { *(.data.init) }
+  . = ALIGN(4096);	/* Align double page for init_task_union */
+  __init_end = .;
+
   .fini      : { *(.fini)    } =0
   .reginfo : { *(.reginfo) }
   /* Adjust the address for the data segment.  We want to adjust up to
@@ -74,6 +83,7 @@
   .sdata     : { *(.sdata) }
   _edata  =  .;
   PROVIDE (edata = .);
+
   __bss_start = .;
   _fbss = .;
   .bss       :

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov