Don't overwrite r8 on error.
authorUlrich Drepper <drepper@redhat.com>
Fri, 5 Apr 2002 16:41:13 +0000 (16:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 5 Apr 2002 16:41:13 +0000 (16:41 +0000)
sysdeps/unix/sysv/linux/ia64/pipe.S

index ab2e357..a690d9d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David Mosberger <davidm@hpl.hp.com>
 
@@ -28,7 +28,7 @@ ENTRY(__pipe)
        cmp.ne p6,p0=-1,r10
        ;;
 (p6)   st4 [r2]=r8,4
-       mov ret0=0
+(p6)   mov ret0=0
        ;;
 (p6)   st4 [r2]=r9
 (p6)   ret