lkml.org 
[lkml]   [2003]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ELF OSABI
On Wed, Sep 10, 2003 at 02:09:33AM +0100, Matthew Wilcox wrote:
> --- arch/mips/kernel/irixelf.c 8 Sep 2003 21:41:38 -0000 1.3
> +++ arch/mips/kernel/irixelf.c 8 Sep 2003 22:00:20 -0000 1.4
> @@ -1088,6 +1088,7 @@ static int irix_core_dump(long signr, st
> elf.e_ident[EI_CLASS] = ELFCLASS32;
> elf.e_ident[EI_DATA] = ELFDATA2LSB;
> elf.e_ident[EI_VERSION] = EV_CURRENT;
> + elf->e_ident[EI_OSABI] = ELF_OSABI;
> memset(elf.e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD);

Someone was a bit too hasty here. Perhaps it might be a good idea to
change this to elf.e_ident instead.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.060 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site