|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] mkelf32: Correct sh_link
I am a newbie and I would like to know how to apply this patch.
Can someone provide me with steps.
Christoph Egger-2 wrote:
>
>
> Hi!
>
> According to the ELF Spec, sh_link points to the String table.
> The attached patch fixes this.
>
> Christoph
>
> 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 */
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
--
View this message in context:
http://www.nabble.com/-PATCH--mkelf32%3A-Correct-sh_link-tf2912492.html#a8141336
Sent from the Xen - Dev mailing list archive at Nabble.com.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|