patch-2.4.5 linux/arch/cris/cris.ld
Next file: linux/arch/cris/defconfig
Previous file: linux/arch/cris/config.in
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Tue May 1 16:04:56 2001
- Orig file:
v2.4.4/linux/arch/cris/cris.ld
- Orig date:
Fri Apr 6 10:42:55 2001
diff -u --recursive --new-file v2.4.4/linux/arch/cris/cris.ld linux/arch/cris/cris.ld
@@ -1,10 +1,16 @@
/* ld script to make the Linux/CRIS kernel
* Authors: Bjorn Wesen (bjornw@axis.com)
+ *
+ * It is VERY DANGEROUS to fiddle around with the symbols in this
+ * script. It is for example quite vital that all generated sections
+ * that are used are actually named here, otherwise the linker will
+ * put them at the end, where the init stuff is which is FREED after
+ * the kernel has booted.
*/
SECTIONS
{
- . = @ETRAX_DRAM_VIRTUAL_BASE@;
+ . = @CONFIG_ETRAX_DRAM_VIRTUAL_BASE@;
_dram_start = .;
_ibr_start = .;
. = . + 0x4000; /* see head.S and pages reserved at the start */
@@ -75,5 +81,5 @@
*(.exitcall.exit)
}
- _dram_end = _dram_start + @ETRAX_DRAM_SIZE_M@*1024*1024;
+ _dram_end = _dram_start + @CONFIG_ETRAX_DRAM_SIZE_M@*1024*1024;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)