aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
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 /sysdeps/unix
parentfa6e3bc38aaf82c80759f5dbdc9ec0d60ce7ee51 (diff)
downloadglibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar
glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.gz
glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.bz2
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>.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile3
-rw-r--r--sysdeps/unix/sysv/linux/Versions4
2 files changed, 4 insertions, 3 deletions
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