public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] [Patch] trivial fix in linker script
@ 2003-01-21  3:16 Siddha, Suresh B
  2003-01-24 18:30 ` David Mosberger
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Siddha, Suresh B @ 2003-01-21  3:16 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 612 bytes --]

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) }


[-- Attachment #2: vmlinux.lds.S.diff --]
[-- Type: application/octet-stream, Size: 329 bytes --]

--- 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) }

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-01-29 19:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-21  3:16 [Linux-ia64] [Patch] trivial fix in linker script Siddha, Suresh B
2003-01-24 18:30 ` David Mosberger
2003-01-24 20:05 ` Siddha, Suresh B
2003-01-28 19:14 ` David Mosberger
2003-01-28 19:29 ` Sam Ravnborg
2003-01-29 18:30 ` Siddha, Suresh B
2003-01-29 19:15 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox