All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mkelf32: Correct sh_link
@ 2007-01-03  9:30 Christoph Egger
  2007-01-03 13:57 ` Keir Fraser
  2007-01-03 14:08 ` grel
  0 siblings, 2 replies; 22+ messages in thread
From: Christoph Egger @ 2007-01-03  9:30 UTC (permalink / raw)
  To: xen-devel

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


Hi!

According to the ELF Spec, sh_link points to the String table.
The attached patch fixes this.

Christoph

[-- Attachment #2: xen-mkelf32.diff --]
[-- Type: text/x-diff, Size: 720 bytes --]

diff -r 886f7312257e xen/arch/x86/boot/mkelf32.c
--- a/xen/arch/x86/boot/mkelf32.c	Tue Jan 02 14:19:47 2007 +0000
+++ b/xen/arch/x86/boot/mkelf32.c	Fri Dec 22 14:22:04 2006 +0100
@@ -72,7 +72,7 @@ static Elf32_Shdr out_shdr[] = {
       DYNAMICALLY_FILLED,                    /* sh_addr */
       RAW_OFFSET,                            /* sh_offset */
       DYNAMICALLY_FILLED,                    /* sh_size */
-      0,                                     /* sh_link */
+      2,                                     /* sh_link */
       0,                                     /* sh_info */
       64,                                    /* sh_addralign */
       0                                      /* sh_entsize */

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2007-01-04 14:34 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03  9:30 [PATCH] mkelf32: Correct sh_link Christoph Egger
2007-01-03 13:57 ` Keir Fraser
2007-01-03 15:11   ` Christoph Egger
2007-01-03 15:14     ` Christoph Egger
2007-01-03 15:21       ` Keir Fraser
2007-01-03 15:20     ` Keir Fraser
2007-01-03 15:38       ` Christoph Egger
2007-01-03 16:21         ` Keir Fraser
2007-01-03 18:36           ` John Levon
2007-01-03 19:14             ` Keir Fraser
2007-01-03 19:20               ` John Levon
2007-01-03 20:06                 ` Keir Fraser
2007-01-03 20:11                   ` John Levon
2007-01-03 21:21                     ` Keir Fraser
2007-01-03 21:32                       ` John Levon
2007-01-03 21:40                         ` Keir Fraser
2007-01-04 14:34                           ` John Levon
2007-01-04  8:30                 ` Christoph Egger
2007-01-04  9:58                   ` Keir Fraser
2007-01-04 11:57                     ` Christoph Egger
2007-01-03 14:08 ` grel
2007-01-04  2:58   ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.