about summary refs log tree commit diff
path: root/misc/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-02 11:22:30 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-05-18 18:06:47 -0300
commitafbbc18f9e253194cd05252a8d3b93fe97a777c1 (patch)
tree2f1794888529a3a0a777e26911b61b5e5410a07d /misc/Makefile
parentecade1cb0b9d5139498ccd7a5d4aa4c1cc870231 (diff)
downloadglibc-afbbc18f9e253194cd05252a8d3b93fe97a777c1.tar.gz
glibc-afbbc18f9e253194cd05252a8d3b93fe97a777c1.tar.xz
glibc-afbbc18f9e253194cd05252a8d3b93fe97a777c1.zip
linux: Consolidate Linux splice syscall
This patch consolidates the splice Linux syscall generation on
sysdeps/unix/sysv/linux/splice.c.  It basically removes it from
architectures auto-generation list.

Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
arch64-linux-gnu, arm-linux-gnueabihf, powerpc64le-linux-gnu,
sparc64-linux-gnu, and sparcv9-linux-gnu.

	* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
	(CFLAGS-splice.c): New flag.
	* sysdeps/unix/sysv/linux/splice.c: New file.
	* sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
	auto-generation syscall list.
	* misc/Makefile (CFLAGS-splice.c): New rule.
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index c4a75b5908..e4fe468467 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -112,6 +112,7 @@ CFLAGS-msync.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fdatasync.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-fsync.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables
+CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables
 
 # Called during static library initialization, so turn stack-protection
 # off for non-shared builds.