glibc/sysdeps/unix/sysv/linux/s390
Adhemerval Zanella e01f79e412 Consolidate Linux shmctl implementation
This patch consolidates the shmctl Linux implementation in only
one default file, sysdeps/unix/sysv/linux/shmctl.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
	oldshmctl.
	* sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
	* sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
	Likewise.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
	* sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
	* sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
	implementation.
	* sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
	if it is defined.
2016-12-28 20:31:05 -02:00
..
bits Consolidate Linux setrlimit and getrlimit implementation 2016-11-17 15:54:22 -02:00
fpu
s390-32 Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
s390-64 Consolidate Linux shmctl implementation 2016-12-28 20:31:05 -02:00
sys Minor correction to the "installed header hygiene" patches. 2016-09-28 07:19:59 -04:00
arch-fork.h
brk.c
configure
configure.ac
dl-cache.h
dl-procinfo.h
elision-conf.c
elision-conf.h
elision-lock.c S390: Optimize lock-elision by decrementing adapt_count at unlock. 2016-12-20 15:12:48 +01:00
elision-timed.c
elision-trylock.c S390: Optimize lock-elision by decrementing adapt_count at unlock. 2016-12-20 15:12:48 +01:00
elision-unlock.c S390: Optimize lock-elision by decrementing adapt_count at unlock. 2016-12-20 15:12:48 +01:00
force-elision.h
htm.h S390: Use new __libc_tbegin_retry macro in elision-lock.c. 2016-12-20 15:12:48 +01:00
Implies
init-first.c
jmp-unwind.c
kernel-features.h Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
ldconfig.h
ldd-rewrite.sed
libanl.abilist
libc-vdso.h
localplt.data ld.so: Remove __libc_memalign 2016-11-30 16:23:58 +01:00
longjmp_chk.c
lowlevellock.h S390: Optimize lock-elision by decrementing adapt_count at unlock. 2016-12-20 15:12:48 +01:00
Makefile S390: Use own tbegin macro instead of __builtin_tbegin. 2016-12-20 15:12:48 +01:00
nldbl-abi.h
opensock.c
pt-longjmp.c Use libc_ifunc macro for siglongjmp, longjmp in libpthread. 2016-10-07 10:12:48 +02:00
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 Consolidate Linux semtimedop implementation 2016-12-28 20:31:04 -02:00
sigcontextinfo.h
sysconf.c
system.c
ucontext_i.sym
Versions