glibc/sysdeps/unix/sysv/linux/mips
Adhemerval Zanella 1e5834c38a Refactor Linux ipc_priv header
Some architectures support the old-style IPC and require IPC_64 equal to
0x100 to be passed along SysV IPC syscalls, while new architectures should
default to new IPC version (without the flags being set).

This patch refactor current ipc_priv.h Linux headers in two directions:

- Remove cross platform references (for instance alpha including powerpc
  definition) and add required definition for each required port.  The
  idea is to avoid tie one architecture definition with another and make
  platform change independent.

- Move all common definitions (the ipc syscall commands) on a common
  header, ipc_ops.h.

	* sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
	definition and define its own.
	* sysdeps/unix/sysv/linux/ipc_ops.h: New file.
	* sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
	* sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
	definitions to common header.
	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
	operation from ipc_ops.h.
2016-12-28 20:28:56 -02:00
..
bits Installed-header hygiene (BZ#20366): stack_t. 2016-09-23 08:43:56 -04:00
mips32 Add roundeven, roundevenf, roundevenl. 2016-12-21 01:48:27 +00:00
mips64 Refactor Linux ipc_priv header 2016-12-28 20:28:56 -02:00
sys Make MIPS <sys/user.h> self-contained. 2016-11-04 16:44:23 +00:00
Implies
Makefile XFAIL check-execstack for MIPS. 2016-11-04 16:42:37 +00:00
Versions
____longjmp_chk.c
_test_and_set.c
arch-fork.h
brk.c
clone.S Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
configure
configure.ac
dl-cache.h
dl-static.c
getcontext.S
getmsg.c
getrlimit64.c
getsysstats.c
init-first.c
kernel-features.h Add __ASSUME_DIRECT_SYSVIPC_SYSCALL for Linux 2016-12-28 20:28:56 -02:00
kernel_rt_sigframe.h
kernel_sigaction.h
kernel_stat.h Allow [f]statfs64 to alias [f]statfs 2016-11-22 09:59:12 -08:00
kernel_termios.h
ldsodefs.h
libc-abis
libc-vdso.h
makecontext.S
pipe.S
profil-counter.h
pt-vfork.S
putmsg.c
readelflib.c
register-dump.h
setcontext.S
setrlimit64.c
shlib-versions
sigaction.c
sigcontextinfo.h
swapcontext.S
syscalls.list
sysdep-cancel.h
ucontext_i.sym
ustat.c
vfork.S Remove cached PID/TID in clone 2016-11-24 19:38:51 -02:00
xstatconv.c Always define XSTAT_IS_XSTAT64 2016-11-21 08:23:12 -08:00