From dfaaee33ba68372e374c14ec05fc8a76bdccdceb Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 3 Nov 2015 10:04:25 -0200 Subject: 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. --- nptl/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index faabd45..5b34b5c 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 -- cgit v1.1