From 1e2e27fd8b59b073d1ef3e7475bc5e39fafd3577 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 26 Jun 2003 08:00:21 +0000 Subject: Update. 2003-06-17 Thorsten Kukuk * nis/Makefile: Remove NIS/NIS+ files from nss_compat module. * nis/nss_compat/compat-grp.c: Don't use our own NIS/NIS+ functions, dlopen corresponding NSS module instead. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * nis/nss_compat/compat-initgroups.c: Disabled for now. * nss/Versions: Export __nss_lookup_function. 2003-06-19 Daniel Jacobowitz * sysdeps/unix/sysv/linux/kernel-features.h: Update kernel features for the SH architecture. 2003-06-25 Thorsten Kukuk * csu/Makefile: Use CPPFLAGS to find correct linux/version.h. --- sysdeps/unix/sysv/linux/kernel-features.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 188479dd49..408352590a 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -141,6 +141,11 @@ # define __ASSUME_IPC64 1 #endif +/* We can use the LDTs for threading with Linux 2.3.99 and newer. */ +#if __LINUX_KERNEL_VERSION >= 131939 +# define __ASSUME_LDT_WORKS 1 +#endif + /* Linux 2.4.0 on PPC introduced a correct IPC64. But PowerPC64 does not support a separate 64-bit sys call, already 64-bit */ #if __LINUX_KERNEL_VERSION >= 132096 && defined __powerpc__ \ @@ -148,15 +153,18 @@ # define __ASSUME_IPC64 1 #endif -/* We can use the LDTs for threading with Linux 2.3.99 and newer. */ -#if __LINUX_KERNEL_VERSION >= 131939 -# define __ASSUME_LDT_WORKS 1 +/* SH kernels got stat64, mmap2, and truncate64 during 2.4.0-test. */ +#if __LINUX_KERNEL_VERSION >= 132096 && defined __sh__ +# define __ASSUME_TRUNCATE64_SYSCALL 1 +# define __ASSUME_MMAP2_SYSCALL 1 +# define __ASSUME_STAT64_SYSCALL 1 #endif /* The changed st_ino field appeared in 2.4.0-test6. But we cannot distinguish this version from other 2.4.0 releases. Therefore play - save and assume it available is for 2.4.1 and up. */ -#if __LINUX_KERNEL_VERSION >= 132097 && !defined __alpha__ + save and assume it available is for 2.4.1 and up. However, SH is lame, + and still does not have a 64-bit inode field. */ +#if __LINUX_KERNEL_VERSION >= 132097 && !defined __alpha__ && !defined __sh__ # define __ASSUME_ST_INO_64_BIT 1 #endif -- cgit v1.2.3