about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-05 16:41:13 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-05 16:41:13 +0000
commitcc49352eee7ab379df31b96866716a9d54df9124 (patch)
tree08e8c4ec88a929e8086076315e4b92028a18fee6
parent2b904739046c4af93135b0b559dd4749952b9f80 (diff)
downloadglibc-cc49352eee7ab379df31b96866716a9d54df9124.tar.gz
glibc-cc49352eee7ab379df31b96866716a9d54df9124.tar.xz
glibc-cc49352eee7ab379df31b96866716a9d54df9124.zip
Don't overwrite r8 on error.
-rw-r--r--sysdeps/unix/sysv/linux/ia64/pipe.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/pipe.S b/sysdeps/unix/sysv/linux/ia64/pipe.S
index ab2e357a2d..a690d9d8a7 100644
--- a/sysdeps/unix/sysv/linux/ia64/pipe.S
+++ b/sysdeps/unix/sysv/linux/ia64/pipe.S
@@ -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