diff options
author | Andreas Jaeger <aj@suse.de> | 2006-01-13 07:58:57 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2006-01-13 07:58:57 +0000 |
commit | 7b6e1697644a21175946b3210f93d8e5fd31dd4b (patch) | |
tree | 0387c16af0531987c76dc927fa75d8f8a8103837 /sysdeps/unix/sysv | |
parent | c7699aa5cab4f675f87815b7d0d668d9a088937a (diff) | |
download | glibc-7b6e1697644a21175946b3210f93d8e5fd31dd4b.tar.gz glibc-7b6e1697644a21175946b3210f93d8e5fd31dd4b.tar.xz glibc-7b6e1697644a21175946b3210f93d8e5fd31dd4b.zip |
(ELF_NVRREG): Fix value for PowerPC64.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/sys/procfs.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h index bb9a08b3f6..d2d5972411 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1999, 2002, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -38,7 +38,11 @@ __BEGIN_DECLS #ifndef __PPC64_ELF_H #define ELF_NGREG 48 /* includes nip, msr, lr, etc. */ #define ELF_NFPREG 33 /* includes fpscr */ -#define ELF_NVRREG 33 /* includes vscr */ +#if __WORDSIZE == 32 +# define ELF_NVRREG 33 /* includes vscr */ +#else +# define ELF_NVRREG 34 /* includes vscr */ +#endif typedef unsigned long elf_greg_t; typedef elf_greg_t elf_gregset_t[ELF_NGREG]; |