* sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
authorUlrich Drepper <drepper@redhat.com>
Fri, 18 May 2007 19:05:37 +0000 (19:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 18 May 2007 19:05:37 +0000 (19:05 +0000)
__NR_sync_file_range is not defined.

ChangeLog
sysdeps/unix/sysv/linux/i386/sync_file_range.S

index 4443290..a6b0b94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-18  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Fix case where
+       __NR_sync_file_range is not defined.
+
 2007-05-17  Ulrich Drepper  <drepper@redhat.com>
 
        Dummy files to prevent stub versions from being used.
 2007-05-17  Ulrich Drepper  <drepper@redhat.com>
 
        Dummy files to prevent stub versions from being used.
index f39e8a0..8544703 100644 (file)
@@ -1,5 +1,5 @@
 /* Selective file content synch'ing.
 /* 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
    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
 
        cmpl    $-4095, %eax
        jae     SYSCALL_ERROR_LABEL
-L(pseudo_end):
-       ret
 #else
        movl    $-ENOSYS, %eax
        jmp     SYSCALL_ERROR_LABEL
 #endif
 #else
        movl    $-ENOSYS, %eax
        jmp     SYSCALL_ERROR_LABEL
 #endif
+L(pseudo_end):
+       ret
 PSEUDO_END (sync_file_range)
 PSEUDO_END (sync_file_range)