glibc/sysdeps/unix/sysv/linux/arm
Joseph Myers 637461d965 Clean up kernel version conditionals for pre-2.6.32 kernels.
This patch does some initial cleanup, following the move to 2.6.32
minimum kernel version, by removing __LINUX_KERNEL_VERSION
conditionals that are now always-true or always-false.  In the case of
__ASSUME_ARG_MAX_STACK_BASED, where the conditional used a kernel
version that was itself in a macro, the associated sysconf.c code is
also cleaned up and __ASSUME_ARG_MAX_STACK_BASED removed completely.

Tested x86_64 that disassembly of installed shared libraries is
unchanged by the patch.

	* sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
	(__ASSUME_UTIMES): Do not condition on kernel version.
	(__ASSUME_PSELECT): Define unconditionally.
	(__ASSUME_PPOLL): Likewise.
	(__ASSUME_ATFCTS): Likewise.
	(__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
	(__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
	(__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
	(__ASSUME_UTIMENSAT): Define unconditionally.
	(__ASSUME_PRIVATE_FUTEX): Likewise.
	(__ASSUME_FALLOCATE): Likewise.
	(__ASSUME_O_CLOEXEC): Likewise.
	(__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
	(__ASSUME_ARG_MAX_STACK_BASED): Likewise.
	(__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
	(__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
	(__ASSUME_IN_NONBLOCK): Likewise.
	(__ASSUME_PIPE2): Likewise.
	(__ASSUME_EVENTFD2): Likewise.
	(__ASSUME_SIGNALFD4): Likewise.
	(__ASSUME_DUP3): Likewise.
	[__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
	(__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
	(__ASSUME_AT_RANDOM): Likewise.
	(__ASSUME_PREADV): Likewise.
	(__ASSUME_PWRITEV): Likewise.
	(__ASSUME_REQUEUE_PI): Do not condition on kernel version.
	(__ASSUME_F_GETOWN_EX): Define unconditionally.
	(__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
	* sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
	[!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
	* sysdeps/unix/sysv/linux/alpha/kernel-features.h
	(__ASSUME_O_CLOEXEC): Define unconditionally.
	(__ASSUME_PSELECT): Do not undefine conditionally.
	(__ASSUME_PPOLL): Likewise.
	(__ASSUME_ATFCTS): Likewise.
	(__ASSUME_SET_ROBUST_LIST): Likewise.
	(__ASSUME_UTIMENSAT): Likewise.
	(__ASSUME_FDATASYNC): Define unconditionally.
	* sysdeps/unix/sysv/linux/arm/kernel-features.h
	(__ASSUME_SIGFRAME_V2): Likewise.
	)__ASSUME_EVENTFD2): Likewise.
	(__ASSUME_SIGNALFD4): Likewise.
	(__ASSUME_PSELECT): Do not undefine conditionally.
	(__ASSUME_PPOLL): Likewise.
	* sysdeps/unix/sysv/linux/ia64/kernel-features.h
	(__ASSUME_PSELECT): Define unconditionally.
	(__ASSUME_PPOLL): Likewise.
	(__ASSUME_O_CLOEXEC): Likewise.
	(__ASSUME_SOCK_CLOEXEC): Likewise.
	(__ASSUME_IN_NONBLOCK): Likewise.
	(__ASSUME_PIPE2): Likewise.
	(__ASSUME_EVENTFD2): Likewise.
	(__ASSUME_SIGNALFD4): Likewise.
	(__ASSUME_DUP3): Likewise.
	* sysdeps/unix/sysv/linux/m68k/kernel-features.h
	(__ASSUME_O_CLOEXEC): Likewise.
	(__ASSUME_SOCK_CLOEXEC): Likewise.
	(__ASSUME_IN_NONBLOCK): Likewise.
	(__ASSUME_PIPE2): Likewise.
	(__ASSUME_EVENTFD2): Likewise.
	(__ASSUME_SIGNALFD4): Likewise.
	(__ASSUME_DUP3): Likewise.
	* sysdeps/unix/sysv/linux/mips/kernel-features.h
	(__ASSUME_EVENTFD2): Likewise.
	(__ASSUME_SIGNALFD4): Likewise.
	(__ASSUME_ACCEPT4_SYSCALL): Likewise.
2014-05-12 22:48:25 +00:00
..
bits Update ARM HWCAP data. 2014-02-20 03:29:34 +00:00
nptl Move ARM internal unwind.h header to the right sysdeps directory. 2014-05-06 15:55:20 -07:00
sys Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
____longjmp_chk.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
aeabi_read_tp.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
alphasort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
arm-features.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
brk.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
clone.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
configure Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
configure.ac Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-cache.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-machine.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
dl-procinfo.c Update ARM HWCAP data. 2014-02-20 03:29:34 +00:00
dl-procinfo.h Update ARM HWCAP data. 2014-02-20 03:29:34 +00:00
fchown.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fcntl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ftruncate64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fxstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
fxstatat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getdents64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getegid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
geteuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getgroups.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getresgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getresuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
getuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
glob64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
internal_accept4.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
internal_recvmmsg.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
internal_sendmmsg.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ioperm.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
kernel-features.h Clean up kernel version conditionals for pre-2.6.32 kernels. 2014-05-12 22:48:25 +00:00
lchown.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ldconfig.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ldsodefs.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libc-aeabi_read_tp.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
libc-do-syscall.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
lockf64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
lxstat.c Fix whitespace in ARM files to allow move. 2014-02-08 01:52:38 +00:00
makecontext.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Makefile Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
mmap64.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
mmap.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
msgctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldgetrlimit64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldgetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
oldsetrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
posix_fadvise64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
posix_fadvise.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pread64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pread.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
profil-counter.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pwrite64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
pwrite.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readahead.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readdir64_r.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readdir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
readelflib.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
register-dump.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
scandir64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
semctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setegid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
seteuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setfsgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setfsuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setgroups.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setregid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresgid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setresuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setreuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setrlimit.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
setuid.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
shmctl.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sigaction.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sigcontextinfo.h Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sigrestorer.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
swapcontext.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
syscall.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
syscalls.list Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sysdep.h Fix whitespace in ARM files to allow move. 2014-02-08 01:52:38 +00:00
sysdep.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
truncate64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
ucontext_i.sym Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
umount.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
Versions Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
versionsort64.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
vfork.S Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
xstat.c Move arm from ports to libc. 2014-02-08 01:49:39 +00:00