patch-2.1.90 linux/arch/i386/vmlinux.lds

Next file: linux/arch/m68k/amiga/amiga_ksyms.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/arch/i386/vmlinux.lds linux/arch/i386/vmlinux.lds
@@ -1,12 +1,13 @@
 /* ld script to make i386 Linux kernel
  * Written by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
  */
+INCLUDE arch/i386/.kernel_offset.lds
 OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
 OUTPUT_ARCH(i386)
 ENTRY(_start)
 SECTIONS
 {
-  . = 0xc0100000;
+  . = __kernel_offset__ + 0x100000;
   _text = .;			/* Text and read-only data */
   .text : {
 	*(.text)

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