glibc/sysdeps/unix/sysv/linux/arm
Joseph Myers bc688c1029 Fix __ASSUME_SENDMMSG issues (bug 16611).
Similar to the issues for accept4 and recvmmsg, __ASSUME_SENDMMSG is
also confused about whether it relates to function availability or
socketcall operation availability, and the conditions for the
definition are always wrong (sendmmsg appeared in Linux kernel 3.0,
not 2.6.39); this is now bug 16611.

This patch splits the macro into separate macros like those for
accept4 and recvmmsg, defining them for appropriate kernel versions.

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

	[BZ #16611]
	* sysdeps/unix/sysv/linux/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
	(__ASSUME_SENDMMSG_SOCKETCALL): Define.
	[__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
	__powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
	Likewise.
	[__i386__ || __powerpc__ || __sh__ || __sparc__]
	(__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
	[__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
	(__ASSUME_SENDMMSG): Define instead of using previous
	[__LINUX_KERNEL_VERSION >= 0x020627] condition.
	* sysdeps/unix/sysv/linux/aarch64/kernel-features.h
	(__ASSUME_SENDMMSG_SYSCALL): Define.
	* sysdeps/unix/sysv/linux/alpha/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
	Likewise.
	* sysdeps/unix/sysv/linux/arm/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
	Likewise.
	* sysdeps/unix/sysv/linux/ia64/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
	Likewise.
	* sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
	&& !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
	!__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
	[__ASSUME_SENDMMSG]: Change conditionals to
	[__ASSUME_SENDMMSG_SOCKETCALL].
	* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
	Define.
	* sysdeps/unix/sysv/linux/mips/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
	Likewise.
	* sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
	!__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
	!__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
	[!__ASSUME_SENDMMSG]: Change conditional to
	[!__ASSUME_SENDMMSG_SOCKETCALL].
	* sysdeps/unix/sysv/linux/tile/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
	Define.

	* sysdeps/unix/sysv/linux/hppa/kernel-features.h
	[__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
	Define.
2014-02-20 17:55:35 +00:00
..
bits Update ARM HWCAP data. 2014-02-20 03:29:34 +00:00
nptl Move arm from ports to libc. 2014-02-08 01:49:39 +00:00
sys 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
Versions 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 Fix __ASSUME_SENDMMSG issues (bug 16611). 2014-02-20 17:55:35 +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
mmap.S 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
msgctl.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
oldgetrlimit64.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_fadvise.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
pread.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
profil-counter.h 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
pwrite64.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.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
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.S 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
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
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