From cc49352eee7ab379df31b96866716a9d54df9124 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 Apr 2002 16:41:13 +0000 Subject: Don't overwrite r8 on error. --- sysdeps/unix/sysv/linux/ia64/pipe.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv') 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 @@ -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 -- cgit v1.2.3