diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S b/sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S index 0136026be6..27ea9f8912 100644 --- a/sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S +++ b/sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S @@ -18,19 +18,19 @@ 02111-1307 USA. */ #include <sysdep.h> + .globl __libc_pipe ENTRY (__libc_pipe) mov %o0, %o2 /* Save PIPEDES. */ mov SYS_ify(pipe),%g1 ta 0x10 - bcc,a 2f - nop - SYSCALL_ERROR_HANDLER -2: + bcs __syscall_error_handler + nop st %o0, [%o2] /* PIPEDES[0] = %o0; */ st %o1, [%o2 + 4] /* PIPEDES[1] = %o1; */ retl - clr %o0 + clr %o0 + SYSCALL_ERROR_HANDLER PSEUDO_END (__libc_pipe) weak_alias (__libc_pipe, __pipe) |