patch-2.4.8 linux/arch/cris/cris.ld
Next file: linux/arch/cris/drivers/eeprom.c
Previous file: linux/arch/cris/config.in
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Jul 26 15:10:06 2001
- Orig file:
v2.4.7/linux/arch/cris/cris.ld
- Orig date:
Tue Jul 3 17:08:18 2001
diff -u --recursive --new-file v2.4.7/linux/arch/cris/cris.ld linux/arch/cris/cris.ld
@@ -24,7 +24,7 @@
*(.fixup)
*(.text.__*)
*(.rodata)
- *(.rodata.*)
+ *(.rodata.__*)
}
. = ALIGN(4); /* Exception table */
@@ -56,11 +56,18 @@
___setup_start = .;
.setup.init : { *(.setup.init) }
___setup_end = .;
- ___initcall_start = .;
- .initcall.init : { *(.initcall.init) }
- ___initcall_end = .;
+ .initcall.init : {
+ ___initcall_start = .;
+ *(.initcall.init);
+ ___initcall_end = .;
+
+ /* We fill to the next page, so we can discard all init
+ pages without needing to consider what payload might be
+ appended to the kernel image. */
+ FILL (0);
+ . = ALIGN (8192);
+ }
__vmlinux_end = .; /* last address of the physical file */
- . = ALIGN(8192);
___init_end = .;
__data_end = . ; /* Move to _edata ? */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)