From c5e38fac45176848d71f91eb01daa23c6f1a9886 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 25 Apr 2001 20:20:41 +0000 Subject: Updatte. 2001-04-25 Matthew Wilcox * sysdeps/hppa/stackinfo.h: New file. * sysdeps/unix/sysv/linux/hppa/getdents64.c: New file. * sysdeps/unix/sysv/linux/hppa/mmap64.c: New file. * sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions of PA kernel features. --- sysdeps/unix/sysv/linux/kernel-features.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/kernel-features.h') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 9dc2404019..f0311dfcb5 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -112,8 +112,7 @@ /* Linux 2.3.39 introduced 32bit UID/GIDs and IPC64. Some platforms had 32 bit type all along. */ -#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ \ - || defined __mips__ || defined __hppa__ +#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ || defined __mips__ # define __ASSUME_32BITUIDS 1 # ifndef __powerpc__ # define __ASSUME_IPC64 1 @@ -169,3 +168,17 @@ #if __LINUX_KERNEL_VERSION >= (132096+99) && defined __powerpc__ # define __ASSUME_STD_AUXV 1 #endif + +/* There are an infinite number of PA-RISC kernel versions numbered + 2.4.0. But they've not really been released as such. We require + and expect the final version here. */ +#ifdef __hppa__ +# define __ASSUME_32BITUIDS 1 +# define __ASSUME_TRUNCATE64_SYSCALL 1 +# define __ASSUME_MMAP2_SYSCALL 1 +# define __ASSUME_STAT64_SYSCALL 1 +# define __ASSUME_IPC64 1 +# define __ASSUME_ST_INO_64_BIT 1 +# define __ASSUME_FCNTL64 1 +# define __ASSUME_GETDENTS64_SYSCALL 1 +#endif -- cgit v1.2.3