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 Implement accurate fma. 2010-10-13 22:27:03 -04:00
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 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
brk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
configure Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
configure.ac Move architecture cases out of sysdeps/unix/sysv/linux/configure.ac. 2014-06-24 20:53:03 +00:00
dl-cache.h Update. 2003-06-25 08:19:44 +00:00
dl-procinfo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
elision-conf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
elision-conf.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
elision-lock.c S390: Optimize lock-elision by decrementing adapt_count at unlock. 2016-12-20 15:12:48 +01:00
elision-timed.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
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 Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
htm.h S390: Use new __libc_tbegin_retry macro in elision-lock.c. 2016-12-20 15:12:48 +01:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
init-first.c S390: Add support for vdso getcpu symbol. 2016-05-09 11:05:45 +02:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
kernel-features.h Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
ldconfig.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ldd-rewrite.sed Fix for bi-arch support. 2002-03-11 11:01:07 +00:00
libanl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libc-vdso.h S390: Add support for vdso getcpu symbol. 2016-05-09 11:05:45 +02:00
localplt.data ld.so: Remove __libc_memalign 2016-11-30 16:23:58 +01:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
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 * math/divtc3.c: New file. 2006-02-01 03:02:06 +00:00
opensock.c * sysdeps/unix/sysv/linux/Makefile [subdir=inet] (sysdep_headers): 2007-11-23 15:19:41 +00:00
pt-longjmp.c Use libc_ifunc macro for siglongjmp, longjmp in libpthread. 2016-10-07 10:12:48 +02:00
pt-vfork.S S390: Consolidate NPTL/non versions of vfork 2014-06-26 09:30:52 -07:00
pthread_mutex_cond_lock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pthread_mutex_lock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pthread_mutex_timedlock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
pthread_mutex_trylock.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
rt-sysdep.S Update. 2004-04-18 02:37:56 +00:00
sa_len.c Clean up __libc_sa_len helper. 2013-08-27 10:34:16 -07:00
semtimedop.c Consolidate Linux semtimedop implementation 2016-12-28 20:31:04 -02:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
system.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ucontext_i.sym S/390: Revert the jmp_buf/ucontext_t ABI change. 2014-07-31 20:04:54 +02:00
Versions Move remaining S390 code out of nptl/. 2014-06-26 09:31:11 -07:00