From: "Christoph Egger" <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] mkelf32: Correct sh_link
Date: Wed, 3 Jan 2007 10:30:54 +0100 [thread overview]
Message-ID: <200701031030.54551.Christoph.Egger@amd.com> (raw)
[-- 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
next reply other threads:[~2007-01-03 9:30 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 9:30 Christoph Egger [this message]
2007-01-03 13:57 ` [PATCH] mkelf32: Correct sh_link 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701031030.54551.Christoph.Egger@amd.com \
--to=christoph.egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.