From: Ulrich Drepper Date: Fri, 18 May 2007 19:05:37 +0000 (+0000) Subject: * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where X-Git-Tag: cvs/glibc-2_6_1~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69e5cbf596f07bbea7f23ed92a29ce573508da2e;p=thirdparty%2Fglibc.git * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where __NR_sync_file_range is not defined. --- diff --git a/ChangeLog b/ChangeLog index 4443290f678..a6b0b94f241 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-18 Ulrich Drepper + + * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where + __NR_sync_file_range is not defined. + 2007-05-17 Ulrich Drepper Dummy files to prevent stub versions from being used. diff --git a/sysdeps/unix/sysv/linux/i386/sync_file_range.S b/sysdeps/unix/sysv/linux/i386/sync_file_range.S index f39e8a00d70..8544703d56c 100644 --- a/sysdeps/unix/sysv/linux/i386/sync_file_range.S +++ b/sysdeps/unix/sysv/linux/i386/sync_file_range.S @@ -1,5 +1,5 @@ /* Selective file content synch'ing. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006, 2007 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -63,10 +63,10 @@ ENTRY (sync_file_range) cmpl $-4095, %eax jae SYSCALL_ERROR_LABEL -L(pseudo_end): - ret #else movl $-ENOSYS, %eax jmp SYSCALL_ERROR_LABEL #endif +L(pseudo_end): + ret PSEUDO_END (sync_file_range)