glibc/sysdeps
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
..
aarch64 Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
alpha Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
arm New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
generic PLT avoidance for __stack_chk_fail [BZ #7065] 2016-12-26 10:11:05 +01:00
gnu
hppa
i386 Fix typos in the spelling of "implementation" 2016-12-27 20:13:35 +00:00
ia64 Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
ieee754 Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
init_array
m68k Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
mach
microblaze
mips Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
nacl Do not stack-protect ifunc resolvers [BZ #7065] 2016-12-26 10:08:41 +01:00
nios2
nptl
posix
powerpc powerpc: Fix powerpc32/power7 memchr for large input sizes 2016-12-28 11:44:31 -02:00
pthread
s390 Fix typos in the spelling of "implementation" 2016-12-27 20:13:35 +00:00
sh
sparc Fix typos in the spelling of "implementation" 2016-12-27 20:13:35 +00:00
tile
unix Consolidate Linux shmctl implementation 2016-12-28 20:31:05 -02:00
wordsize-32
wordsize-64
x86 Disable TSX on some Haswell processors. 2016-12-19 14:15:57 +03:00
x86_64 Fix x86_64 memchr for large input sizes 2016-12-27 10:50:41 -02:00