[Linux-ia64] [Patch] trivial fix in linker script

From: Siddha, Suresh B <suresh.b.siddha_at_intel.com>
Date: 2003-01-21 14:16:09
There is a chance that __start___ksymtab may not point at the  beginning of section __ksymtab. Appended/attached one line patch fixes this problem.

thanks,
suresh

diff -Nru linux-2.5.52/arch/ia64/vmlinux.lds.S~ linux-2.5.52/arch/ia64/vmlinux.lds.S
--- linux-2.5.52/arch/ia64/vmlinux.lds.S~       Mon Jan 20 18:42:47 2003
+++ linux-2.5.52/arch/ia64/vmlinux.lds.S        Mon Jan 20 18:43:42 2003
@@ -60,6 +60,7 @@
   machvec_end = .;
 #endif
 
+  . = ALIGN(16);
   __start___ksymtab = .;       /* Kernel symbol table */
   __ksymtab : AT(ADDR(__ksymtab) - PAGE_OFFSET)
        { *(__ksymtab) }




Received on Mon Jan 20 19:16:12 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:11 EST