mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +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. |
||
---|---|---|
.. | ||
bits | ||
powerpc32 | ||
powerpc64 | ||
sys | ||
arch-fork.h | ||
configure | ||
configure.ac | ||
dl-brk.S | ||
dl-cache.h | ||
dl-static.c | ||
dl-sysdep.c | ||
elision-conf.c | ||
elision-conf.h | ||
elision-lock.c | ||
elision-timed.c | ||
elision-trylock.c | ||
elision-unlock.c | ||
force-elision.h | ||
get_clockfreq.c | ||
get_timebase_freq.c | ||
getdents64.c | ||
getmsg.c | ||
gettimeofday.c | ||
htm.h | ||
Implies | ||
init-first.c | ||
ioctl.c | ||
ipc_priv.h | ||
kernel_termios.h | ||
kernel-features.h | ||
ldconfig.h | ||
ldd-rewrite.sed | ||
ldsodefs.h | ||
libc-start.c | ||
libc-vdso.h | ||
lowlevellock.h | ||
Makefile | ||
nldbl-abi.h | ||
profil-counter.h | ||
pt-longjmp.c | ||
pthread_attr_setstack.c | ||
pthread_attr_setstacksize.c | ||
pthread_mutex_cond_lock.c | ||
pthread_mutex_lock.c | ||
pthread_mutex_timedlock.c | ||
pthread_mutex_trylock.c | ||
putmsg.c | ||
readdir64_r.c | ||
readdir64.c | ||
readelflib.c | ||
rt-sysdep.c | ||
sigcontextinfo.h | ||
syscall.S | ||
syscalls.list | ||
sysdep.c | ||
test-gettimebasefreq.c | ||
time.c | ||
Versions |