* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
authorRoland McGrath <roland@gnu.org>
Tue, 4 Apr 2006 06:59:03 +0000 (06:59 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 4 Apr 2006 06:59:03 +0000 (06:59 +0000)
with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].

ChangeLog
sysdeps/unix/sysv/linux/powerpc/sys/procfs.h

index b12f558..bd599a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index d2d5972..577689f 100644 (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