* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>

with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
This commit is contained in:
Roland McGrath 2006-04-04 06:59:03 +00:00
parent ec92fb39c2
commit 9b5e78fe89
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-04-03 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
2006-04-03 Roland McGrath <roland@frob.com>
[BZ #2507]

View File

@ -35,7 +35,7 @@ __BEGIN_DECLS
/* These definitions are normally provided by ucontext.h via
asm/sigcontext.h, asm/ptrace.h, and asm/elf.h. Otherwise we define
them here. */
#ifndef __PPC64_ELF_H
#if !defined __PPC64_ELF_H && !defined _ASM_POWERPC_ELF_H
#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */
#define ELF_NFPREG 33 /* includes fpscr */
#if __WORDSIZE == 32