POWER sys/procfs.h mismatch with kernel 2.6.15

Paul Mackerras paulus@samba.org
Thu Jan 12 22:07:00 GMT 2006


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.



More information about the Libc-alpha mailing list