From 23bddc0668391d97710f7d10c8cb04dc305112ea Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 1 Aug 2012 21:27:58 +0000 Subject: Remove __ASSUME_FCNTL64. --- ports/ChangeLog.arm | 3 +++ ports/ChangeLog.hppa | 5 +++++ ports/ChangeLog.m68k | 3 +++ ports/ChangeLog.mips | 5 +++++ ports/ChangeLog.tile | 5 +++++ ports/sysdeps/unix/sysv/linux/arm/kernel-features.h | 3 --- ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h | 1 - ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h | 1 - ports/sysdeps/unix/sysv/linux/mips/kernel-features.h | 4 ---- ports/sysdeps/unix/sysv/linux/tile/kernel-features.h | 3 +-- 10 files changed, 22 insertions(+), 11 deletions(-) (limited to 'ports') diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index d7d9f4ce51..58ad60d315 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,5 +1,8 @@ 2012-08-01 Joseph Myers + * sysdeps/unix/sysv/linux/arm/kernel-features.h + (__ASSUME_FCNTL64): Remove. + * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_VFORK_SYSCALL): Remove. diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index 83d298fe4a..bf54564dfb 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -1,3 +1,8 @@ +2012-08-01 Joseph Myers + + * sysdeps/unix/sysv/linux/hppa/kernel-features.h + (__ASSUME_FCNTL64): Remove. + 2012-07-26 Andreas Jaeger * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLWAKEUP): Add new diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k index 993ba7fd28..2e180a7f4b 100644 --- a/ports/ChangeLog.m68k +++ b/ports/ChangeLog.m68k @@ -1,5 +1,8 @@ 2012-08-01 Joseph Myers + * sysdeps/unix/sysv/linux/m68k/kernel-features.h + (__ASSUME_FCNTL64): Remove. + * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_VFORK_SYSCALL): Remove. * sysdeps/unix/sysv/linux/m68k/vfork.S (__vfork) [__NR_vfork]: diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index d4978abd96..8421a0df24 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-08-01 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/kernel-features.h + (__ASSUME_FCNTL64): Remove. + 2012-08-01 Steve Ellcey * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 && diff --git a/ports/ChangeLog.tile b/ports/ChangeLog.tile index 9ef3f99ec3..471cf1207f 100644 --- a/ports/ChangeLog.tile +++ b/ports/ChangeLog.tile @@ -1,3 +1,8 @@ +2012-08-01 Joseph Myers + + * sysdeps/unix/sysv/linux/tile/kernel-features.h + (__ASSUME_FCNTL64): Remove. + 2012-07-26 Andreas Jaeger * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (__ptrace_eventcodes): diff --git a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h index 0ab5df094e..745bca8bf6 100644 --- a/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/arm/kernel-features.h @@ -27,9 +27,6 @@ #define __ASSUME_MMAP2_SYSCALL 1 #define __ASSUME_STAT64_SYSCALL 1 -/* Arm got fcntl64 in 2.4.4. */ -#define __ASSUME_FCNTL64 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 8dcdfbfabf..13a3c010fe 100644 --- a/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h @@ -27,7 +27,6 @@ #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 /* PA-RISC 2.6.9 kernels had the first LWS CAS support */ diff --git a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h index 05d06b2555..ed62453ec3 100644 --- a/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/m68k/kernel-features.h @@ -20,7 +20,6 @@ /* These features were surely available with 2.4.12. */ #define __ASSUME_MMAP2_SYSCALL 1 #define __ASSUME_STAT64_SYSCALL 1 -#define __ASSUME_FCNTL64 1 /* Many syscalls were added in 2.6.10 for m68k. */ #if __LINUX_KERNEL_VERSION >= 132618 diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h index 70f1fc1ed4..996ba0aedf 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h @@ -22,10 +22,6 @@ /* MIPS platforms had IPC64 all along. */ #define __ASSUME_IPC64 1 -#if _MIPS_SIM == _ABIN32 -# define __ASSUME_FCNTL64 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 89929d2bc9..766b4ad6ca 100644 --- a/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h +++ b/ports/sysdeps/unix/sysv/linux/tile/kernel-features.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2011 Free Software Foundation, Inc. +/* Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Chris Metcalf , 2011. @@ -20,7 +20,6 @@ /* TILE glibc support starts with 2.6.36, guaranteeing many kernel features. */ #define __ASSUME_MMAP2_SYSCALL 1 #define __ASSUME_STAT64_SYSCALL 1 -#define __ASSUME_FCNTL64 1 #define __ASSUME_CLONE_THREAD_FLAGS 1 #define __ASSUME_TGKILL 1 #define __ASSUME_UTIMES 1 -- cgit 1.4.1