This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: POWER sys/procfs.h mismatch with kernel 2.6.15
- From: Paul Mackerras <paulus at samba dot org>
- To: Thorsten Kukuk <kukuk at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 13 Jan 2006 09:06:49 +1100
- Subject: Re: POWER sys/procfs.h mismatch with kernel 2.6.15
- References: <20060112120559.GA25953@suse.de>
Thorsten Kukuk writes:
> kernel 2.6.15 has in asm-power/elf.h (line 110):
>
> # define ELF_NVRREG 34 /* includes vscr & vrsave in split vectors */
>
>
> But sysdeps/unix/sysv/linux/powerpc/sys/procfs.h has:
>
> #define ELF_NVRREG 33 /* includes vscr */
>
>
> Can somebody of the POWER developers please check what the correct
> value is and fix that?
It's 34 for 64-bit processes, but 33 for 32-bit processes. The kernel
include/asm-powerpc/elf.h file is correct.
Paul.