mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
06cf371e97
This patch consolidates the sendto Linux syscall implementation on sysdeps/unix/sysv/linux/sendto.c. The changes are: 1. Define __ASSUME_SENDTO_SYSCALL by default. 2. Undef it for architectures that do not support __NR_sendto. Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32, aarch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu. * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from auto-generation list. * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Define by default. * sysdeps/unix/sysv/linux/i386/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support __NR_sendto. * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/s390/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/microblaze/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Remove definition. * sysdeps/unix/sysv/linux/powerpc/kernel-features.h (__ASSUME_SENDTO_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/sh/kernel-features.h: (__ASSUME_SENDTO_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/sendto.c: Simplify includes. |
||
---|---|---|
.. | ||
64 | ||
x32 | ||
____longjmp_chk.S | ||
__start_context.S | ||
arch-fork.h | ||
brk.c | ||
cancellation.S | ||
clone.S | ||
compat-timer.h | ||
configure | ||
configure.ac | ||
dl-cache.h | ||
dl-procinfo.c | ||
dl-procinfo.h | ||
get_clockfreq.c | ||
getcontext.S | ||
Implies | ||
init-first.c | ||
ipc_priv.h | ||
kernel_stat.h | ||
kernel-features.h | ||
ldconfig.h | ||
ldd-rewrite.sed | ||
libc-cancellation.S | ||
libc-lowlevellock.S | ||
libmvec.abilist | ||
librt-cancellation.S | ||
lll_timedlock_wait.c | ||
lll_timedwait_tid.c | ||
lowlevellock.h | ||
lowlevellock.S | ||
makecontext.c | ||
Makefile | ||
profil-counter.h | ||
pthread_setaffinity.c | ||
readelflib.c | ||
register-dump.h | ||
sched_setaffinity.c | ||
send.c | ||
setcontext.S | ||
sigaction.c | ||
sigaltstack-offsets.sym | ||
sigcontextinfo.h | ||
sigpending.c | ||
sigprocmask.c | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep-cancel.h | ||
sysdep.h | ||
sysdep.S | ||
timer_create.c | ||
timer_delete.c | ||
timer_getoverr.c | ||
timer_gettime.c | ||
timer_settime.c | ||
ucontext_i.sym | ||
umount.c | ||
Versions | ||
vfork.S |