summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-12 12:31:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-12 12:31:32 +0000
commitec332e944f4503b8e0f8fd5ae63384f82e528959 (patch)
tree3801001a26b579f44c760ac46d35ea76826da7df /ports
parent7b6e99be77c24a79cb07416d81796b45176923c6 (diff)
downloadglibc-ec332e944f4503b8e0f8fd5ae63384f82e528959.tar.gz
glibc-ec332e944f4503b8e0f8fd5ae63384f82e528959.tar.xz
glibc-ec332e944f4503b8e0f8fd5ae63384f82e528959.zip
Remove pre-2.4.1 Linux kernel support.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.arm7
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/kernel-features.h10
2 files changed, 10 insertions, 7 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 1aec3d4612..881682b24c 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -1,3 +1,10 @@
+2012-07-12  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/arm/kernel-features.h
+	(__ASSUME_MMAP2_SYSCALL): Define unconditionally.
+	(__ASSUME_STAT64_SYSCALL): Likewise.
+	(__ASSUME_VFORK_SYSCALL): Likewise.
+
 2012-07-10  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/arm/sysdep.h (ENTRY): Change ASM_GLOBAL_DIRECTIVE to
diff --git a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h
index 74d549a996..90c59efead 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h
+++ b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h
@@ -24,10 +24,8 @@
 
 /* On ARM the mmap2/stat64/lstat64/fstat64 syscalls were introduced in
    2.3.35.  */
-#if __LINUX_KERNEL_VERSION >= 131875
-# define __ASSUME_MMAP2_SYSCALL		1
-# define __ASSUME_STAT64_SYSCALL	1
-#endif
+#define __ASSUME_MMAP2_SYSCALL		1
+#define __ASSUME_STAT64_SYSCALL	1
 
 /* Arm got fcntl64 in 2.4.4.  */
 #if __LINUX_KERNEL_VERSION >= 132100
@@ -35,9 +33,7 @@
 #endif
 
 /* The vfork syscall on arm was definitely available in 2.4.  */
-#if __LINUX_KERNEL_VERSION >= 132097
-# define __ASSUME_VFORK_SYSCALL		1
-#endif
+#define __ASSUME_VFORK_SYSCALL		1
 
 /* The signal frame layout changed in 2.6.18.  */
 #if __LINUX_KERNEL_VERSION >= 132626