glibc/sysdeps/unix/sysv/linux/sparc
Adhemerval Zanella 40c0a78068 Consolidate Linux semctl implementation
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.
2016-12-28 20:31:04 -02:00
..
bits Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
sparc32 Do not stack-protect sigreturn stubs [BZ #7065] 2016-12-26 10:11:06 +01:00
sparc64 Consolidate Linux semctl implementation 2016-12-28 20:31:04 -02:00
sys Fix a sparc header conformtest failure. 2016-10-27 07:57:49 -07:00
Implies
Makefile Do not override objects in libc.a in other static libraries [BZ #20452] 2016-08-17 14:57:01 +02:00
Versions Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
a.out.h
aio_cancel.c
arch-fork.h
configure
configure.ac
dl-cache.h
getrlimit64.c Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
getshmlba.c
getsysstats.c
kernel-features.h Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
kernel_termios.h
ldd-rewrite.sed
lowlevellock.h
pt-vfork.S
readelflib.c
rt-sysdep.c
syscalls.list
sysdep.c
sysdep.h
system.c