From: Roland McGrath Date: Tue, 4 Apr 2006 06:59:03 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for X-Git-Tag: cvs/fedora-glibc-20060424T0820~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5e78fe899018a31302094de8f57433b26de963;p=thirdparty%2Fglibc.git * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. --- diff --git a/ChangeLog b/ChangeLog index b12f5581ef7..bd599a10450 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-03 Andreas Schwab + + * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for + with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H]. + 2006-04-03 Roland McGrath [BZ #2507] diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h index d2d59724119..577689f18d9 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h @@ -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