glibc/sysdeps/unix/sysv/linux/m68k
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 Complete _BSD_SOURCE / _SVID_source followup cleanup. 2014-02-21 21:45:26 +00:00
coldfire Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
m680x0 Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
nptl Fixed and unified pthread_once. 2014-04-11 15:54:19 +02:00
sys Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
____longjmp_chk.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
alphasort64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
brk.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
clone.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
configure Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
configure.ac Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
dl-librecon.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
dl-static.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fchown.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fchownat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fcntl.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fxstat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
fxstatat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getdents64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getegid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
geteuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getgid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getgroups.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getmsg.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getpagesize.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getresgid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getresuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getrlimit64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getsysstats.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
getuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
glob64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
init-first.c Move m68k from ports to libc 2014-02-10 20:22:40 +01: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 m68k from ports to libc 2014-02-10 20:22:40 +01:00
ldconfig.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
ldsodefs.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
libc-m68k-vdso.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
lockf64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
lxstat.c Whitespace fixes 2014-02-10 20:24:03 +01:00
m68k-helpers.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
m68k-vdso.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
Makefile Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
mmap64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
mmap.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
mremap.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
msgctl.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
oldgetrlimit64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
putmsg.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
readdir64_r.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
readdir64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
register-dump.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
scandir64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
semctl.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
semtimedop.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setegid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
seteuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setfsgid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setfsuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setgid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setgroups.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setregid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setresgid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setresuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setreuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setrlimit.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
setuid.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
shmctl.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
sigcontextinfo.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
socket.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
syscall.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
syscalls.list Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
sysdep.h Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
sysdep.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
Versions Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
versionsort64.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
vfork.S Move m68k from ports to libc 2014-02-10 20:22:40 +01:00
xstat.c Move m68k from ports to libc 2014-02-10 20:22:40 +01:00