glibc/sysdeps/unix/sysv/linux/alpha
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
..
alpha Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev6/fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev67/fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bits Fix POSIX namespace for <bits/siginfo.h> (bug 16674). 2014-03-07 23:57:56 +00:00
fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
nptl alpha: Remove alpha-linux pthread_once.c 2014-04-16 21:36:33 -07:00
sys Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
____longjmp_chk.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
a.out.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
adjtime.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
brk.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
clone.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
configure Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
configure.ac Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
creat.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-auxv.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-brk.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-fxstatat64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-support.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-sysdep.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fdatasync.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fraiseexcpt.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fstatfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fstatvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fstatvfs.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fxstat.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fxstatat.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getclktck.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getcontext.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getdents64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getdents.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
gethostname.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getsysstats.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
glob.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ieee_get_fp_control.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ieee_set_fp_control.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Implies Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
internal_statvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ioperm.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ipc_priv.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_sigaction.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_stat.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_sysinfo.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_termios.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel-features.h Clean up kernel version conditionals for pre-2.6.32 kernels. 2014-05-12 22:48:25 +00:00
lxstat.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
makecontext.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Makefile Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
msgctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
nldbl-abi.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
oldglob.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
pipe.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
register-dump.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
rt_sigaction.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
semctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
setcontext.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
setfpucw.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
shmctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sigaction.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sigcontextinfo.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sigprocmask.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sigsuspend.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sizes.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
statfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
statvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
statvfs.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
swapcontext.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
syscall.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
syscalls.list Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sysconf.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sysdep.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ucontext-offsets.sym Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Versions Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
wordexp.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
xstat.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
xstatconv.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
xstatconv.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00