* 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>.
This commit is contained in:
Ulrich Drepper 2007-03-26 20:38:57 +00:00
parent fa6e3bc38a
commit 4e87573fe2
3 changed files with 12 additions and 3 deletions

View File

@ -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> 2007-03-19 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h * sysdeps/powerpc/bits/atomic.h

View File

@ -134,7 +134,8 @@ CFLAGS-ypclnt.c = -DUSE_BINDINGDIR=1
endif endif
ifeq ($(subdir),io) ifeq ($(subdir),io)
sysdep_routines += xstatconv internal_statvfs internal_statvfs64 sysdep_routines += xstatconv internal_statvfs internal_statvfs64 \
sync_file_range
endif endif
ifeq ($(subdir),elf) ifeq ($(subdir),elf)

View File

@ -124,10 +124,10 @@ libc {
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
} }
GLIBC_2.5 { GLIBC_2.5 {
splice; sync_file_range; tee; vmsplice; splice; tee; vmsplice;
} }
GLIBC_2.6 { GLIBC_2.6 {
epoll_pwait; epoll_pwait; sync_file_range;
} }
GLIBC_PRIVATE { GLIBC_PRIVATE {
# functions used in other libraries # functions used in other libraries