From ad845c0be95fe3635af0147f0665b110286e68a5 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 27 Aug 2012 19:36:04 +0000 Subject: Remove __ASSUME_STAT64_SYSCALL. --- ports/sysdeps/unix/sysv/linux/arm/kernel-features.h | 4 ---- ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h | 1 - ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h | 3 --- ports/sysdeps/unix/sysv/linux/mips/kernel-features.h | 6 ------ ports/sysdeps/unix/sysv/linux/tile/kernel-features.h | 1 - 5 files changed, 15 deletions(-) (limited to 'ports/sysdeps/unix') diff --git a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h index 34ed474ca0..e13443dc36 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h @@ -20,10 +20,6 @@ /* The utimes syscall was added before 2.6.1. */ #define __ASSUME_UTIMES 1 -/* On ARM the stat64/lstat64/fstat64 syscalls were introduced in - 2.3.35. */ -#define __ASSUME_STAT64_SYSCALL 1 - /* The signal frame layout changed in 2.6.18. */ #if __LINUX_KERNEL_VERSION >= 132626 # define __ASSUME_SIGFRAME_V2 1 diff --git a/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h b/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h index d5bec07373..fb0e9c999e 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h @@ -23,7 +23,6 @@ and expect the final version here. */ #define __ASSUME_32BITUIDS 1 #define __ASSUME_TRUNCATE64_SYSCALL 1 -#define __ASSUME_STAT64_SYSCALL 1 #define __ASSUME_IPC64 1 #define __ASSUME_ST_INO_64_BIT 1 #define __ASSUME_GETDENTS64_SYSCALL 1 diff --git a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h index 3df653c48e..dbc77247e3 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h @@ -17,9 +17,6 @@ License along with the GNU C Library. If not, see . */ -/* These features were surely available with 2.4.12. */ -#define __ASSUME_STAT64_SYSCALL 1 - /* Many syscalls were added in 2.6.10 for m68k. */ #define __ASSUME_UTIMES 1 diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h index d318a31ae6..62c1604e9f 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h @@ -25,12 +25,6 @@ /* MIPS had the utimes syscall by 2.6.0. */ #define __ASSUME_UTIMES 1 -/* MIPS o32 had the stat64 syscalls by 2.6.0, but for n32 and n64 the - plain stat syscalls are 64-bit. */ -#if _MIPS_SIM == _ABIO32 -# define __ASSUME_STAT64_SYSCALL 1 -#endif - /* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27. */ #if __LINUX_KERNEL_VERSION >= 0x02061c # define __ASSUME_EVENTFD2 1 diff --git a/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h b/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h index cebfac4961..106af62399 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h @@ -18,7 +18,6 @@ /* TILE glibc support starts with 2.6.36, guaranteeing many kernel features. */ -#define __ASSUME_STAT64_SYSCALL 1 #define __ASSUME_UTIMES 1 #define __ASSUME_O_CLOEXEC 1 #define __ASSUME_SOCK_CLOEXEC 1 -- cgit v1.2.3