* 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.
This commit is contained in:
Roland McGrath 2002-10-02 08:48:09 +00:00
parent 72978bbbaf
commit b77bb4fb08
3 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,11 @@
2002-09-27 Steven Munroe <sjmunroe@us.ibm.com> 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]: * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
(_STAT_VER): Define to _STAT_VER_KERNEL. (_STAT_VER): Define to _STAT_VER_KERNEL.
(stru stat, struct stat64): Define to match the PPC64 kernel. (stru stat, struct stat64): Define to match the PPC64 kernel.

View File

@ -10,7 +10,7 @@ configurations:
m68k-*-linux-gnu Linux-2.x on Motorola 680x0 m68k-*-linux-gnu Linux-2.x on Motorola 680x0
alpha*-*-linux-gnu Linux-2.x on DEC Alpha alpha*-*-linux-gnu Linux-2.x on DEC Alpha
powerpc-*-linux-gnu Linux and MkLinux on PowerPC systems 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 sparc-*-linux-gnu Linux-2.x on SPARC
sparc64-*-linux-gnu Linux-2.x on UltraSPARC 64-bit sparc64-*-linux-gnu Linux-2.x on UltraSPARC 64-bit
arm-*-none ARM standalone systems arm-*-none ARM standalone systems

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or 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. */ __uid_t cuid; /* Creator's user ID. */
__gid_t cgid; /* Creator's group ID. */ __gid_t cgid; /* Creator's group ID. */
__mode_t mode; /* Read/write permission. */ __mode_t mode; /* Read/write permission. */
unsigned long int __seq; /* Sequence number. */ __uint32_t __seq; /* Sequence number. */
unsigned int __pad1; __uint32_t __pad1;
unsigned long long int __unused1; __uint64_t __unused1;
unsigned long long int __unused2; __uint64_t __unused2;
}; };