summary refs log tree commit diff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2015-11-03 10:04:25 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-05-11 17:27:30 -0300
commitdfaaee33ba68372e374c14ec05fc8a76bdccdceb (patch)
treeb4883a9ffc14d325b91854b46dd5fa5d16b60857 /nptl/Makefile
parentf6a191a6ee0313d61dffa70d86b033c5a598f907 (diff)
downloadglibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.gz
glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.xz
glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.zip
Consolidate Linux write syscall
This patch consolidates the write Linux syscall implementation on
sysdeps/unix/sysv/linux/write.c.

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

	* include/unistd.h (write): Add hidden proto.
	* io/Makefile (CFLAGS-write.c): New rule.
	* nptl/Makefile (CFLAGS-write.c): Likewise.
	* sysdeps/unix/sysv/linux/write.c: New file.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index faabd45fdb..5b34b5c225 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -215,6 +215,7 @@ CFLAGS-recvmsg.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-sendmsg.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-close.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-read.c = -fexceptions -fasynchronous-unwind-tables
+CFLAGS-write.c = -fexceptions -fasynchronous-unwind-tables
 
 CFLAGS-pt-system.c = -fexceptions