about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-03-26 20:38:57 +0000
committerUlrich Drepper <drepper@redhat.com>2007-03-26 20:38:57 +0000
commit4e87573fe224a5d187f463a6e051f5781e38fd97 (patch)
tree40458345c225197b11981fe2de4a1c4e6511ea27
parentfa6e3bc38aaf82c80759f5dbdc9ec0d60ce7ee51 (diff)
downloadglibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.gz
glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.xz
glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.zip
* sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
	GLIBC_2.6.
	* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
	Add sync_file_range.
	Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
-rw-r--r--ChangeLog8
-rw-r--r--sysdeps/unix/sysv/linux/Makefile3
-rw-r--r--sysdeps/unix/sysv/linux/Versions4
3 files changed, 12 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5774d4cb84..e0e138885a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-03-26  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
+	GLIBC_2.6.
+	* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
+	Add sync_file_range.
+	Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
+
 2007-03-19  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* sysdeps/powerpc/bits/atomic.h
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 8bec6cdb85..1d9443a5fe 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -134,7 +134,8 @@ CFLAGS-ypclnt.c = -DUSE_BINDINGDIR=1
 endif
 
 ifeq ($(subdir),io)
-sysdep_routines += xstatconv internal_statvfs internal_statvfs64
+sysdep_routines += xstatconv internal_statvfs internal_statvfs64 \
+		   sync_file_range
 endif
 
 ifeq ($(subdir),elf)
diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions
index 137b44c2b8..bb5b862689 100644
--- a/sysdeps/unix/sysv/linux/Versions
+++ b/sysdeps/unix/sysv/linux/Versions
@@ -124,10 +124,10 @@ libc {
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
   }
   GLIBC_2.5 {
-    splice; sync_file_range; tee; vmsplice;
+    splice; tee; vmsplice;
   }
   GLIBC_2.6 {
-    epoll_pwait;
+    epoll_pwait; sync_file_range;
   }
   GLIBC_PRIVATE {
     # functions used in other libraries