diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | README.template | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/bits/ipc.h | 10 |
3 files changed, 12 insertions, 6 deletions
@@ -1,5 +1,11 @@ 2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> + * README.template: Minimum Linux kernel for powerpc64 is 2.4.19. + + * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm): + Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields + so they are consistent between PPC32 and PPC64. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]: (_STAT_VER): Define to _STAT_VER_KERNEL. (stru stat, struct stat64): Define to match the PPC64 kernel. diff --git a/README.template b/README.template index 0cfca03627..7840319e44 100644 --- a/README.template +++ b/README.template @@ -10,7 +10,7 @@ configurations: m68k-*-linux-gnu Linux-2.x on Motorola 680x0 alpha*-*-linux-gnu Linux-2.x on DEC Alpha powerpc-*-linux-gnu Linux and MkLinux on PowerPC systems - powerpc64-*-linux-gnu Linux-2.4+ on 64-bit PowerPC systems + powerpc64-*-linux-gnu Linux-2.4.19+ on 64-bit PowerPC systems sparc-*-linux-gnu Linux-2.x on SPARC sparc64-*-linux-gnu Linux-2.x on UltraSPARC 64-bit arm-*-none ARM standalone systems diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h b/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h index 9a5b602e97..1ba99347cf 100644 --- a/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h +++ b/sysdeps/unix/sysv/linux/powerpc/bits/ipc.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1995-1999, 2000, 2002 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 @@ -48,10 +48,10 @@ struct ipc_perm __uid_t cuid; /* Creator's user ID. */ __gid_t cgid; /* Creator's group ID. */ __mode_t mode; /* Read/write permission. */ - unsigned long int __seq; /* Sequence number. */ - unsigned int __pad1; - unsigned long long int __unused1; - unsigned long long int __unused2; + __uint32_t __seq; /* Sequence number. */ + __uint32_t __pad1; + __uint64_t __unused1; + __uint64_t __unused2; }; |