aboutsummaryrefslogtreecommitdiff
path: root/io
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 /io
parentConsolidate Linux read syscall (diff)
downloadglibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.gz
glibc-dfaaee33ba68372e374c14ec05fc8a76bdccdceb.tar.bz2
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 'io')
-rw-r--r--io/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/Makefile b/io/Makefile
index db14c0dd82..16365e581a 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -101,6 +101,7 @@ CFLAGS-fallocate.c = -fexceptions
CFLAGS-fallocate64.c = -fexceptions
CFLAGS-sync_file_range.c = -fexceptions
CFLAGS-read.c = -fexceptions
+CFLAGS-write.c = -fexceptions
CFLAGS-test-stat.c = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS-test-lfs.c = -D_LARGEFILE64_SOURCE