about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-10-02 08:48:09 +0000
committerRoland McGrath <roland@gnu.org>2002-10-02 08:48:09 +0000
commitb77bb4fb08dd8a5e3f926ceb14fd7a9bcbe2d042 (patch)
tree96c5cfde08d7a8a8742a79a61399dac89b35cc96
parent72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce (diff)
downloadglibc-b77bb4fb08dd8a5e3f926ceb14fd7a9bcbe2d042.tar.gz
glibc-b77bb4fb08dd8a5e3f926ceb14fd7a9bcbe2d042.tar.xz
glibc-b77bb4fb08dd8a5e3f926ceb14fd7a9bcbe2d042.zip
* 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.
-rw-r--r--ChangeLog6
-rw-r--r--README.template2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/ipc.h10
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index fc484ca493..50dc18caf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
   };