mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 17:40:06 +00:00
40c0a78068
This patch consolidates the semctl Linux implementation in only one default file, sysdeps/unix/sysv/linux/semctl.c. If tries to use the direct syscall if it is supported, otherwise will use the old ipc multiplex mechanism. The patch also simplify header inclusion and reorganize internal compat symbol to be built only if old ipc is defined. Checked on x86_64, i686, powerpc64le, aarch64, and armhf. * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove oldsemctl. * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file. * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise. * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise. * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf implementation. * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl syscall if it is defined. * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove. * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise. * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise. * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl): Likewise. * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise. |
||
---|---|---|
.. | ||
bits | ||
fpu | ||
s390-32 | ||
s390-64 | ||
sys | ||
arch-fork.h | ||
brk.c | ||
configure | ||
configure.ac | ||
dl-cache.h | ||
dl-procinfo.h | ||
elision-conf.c | ||
elision-conf.h | ||
elision-lock.c | ||
elision-timed.c | ||
elision-trylock.c | ||
elision-unlock.c | ||
force-elision.h | ||
htm.h | ||
Implies | ||
init-first.c | ||
jmp-unwind.c | ||
kernel-features.h | ||
ldconfig.h | ||
ldd-rewrite.sed | ||
libanl.abilist | ||
libc-vdso.h | ||
localplt.data | ||
longjmp_chk.c | ||
lowlevellock.h | ||
Makefile | ||
nldbl-abi.h | ||
opensock.c | ||
pt-longjmp.c | ||
pt-vfork.S | ||
pthread_mutex_cond_lock.c | ||
pthread_mutex_lock.c | ||
pthread_mutex_timedlock.c | ||
pthread_mutex_trylock.c | ||
readelflib.c | ||
rt-sysdep.S | ||
sa_len.c | ||
semtimedop.c | ||
sigcontextinfo.h | ||
sysconf.c | ||
system.c | ||
ucontext_i.sym | ||
Versions |