mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-11 02:22:26 +03:00
Mon Jun 10 17:50:31 1996 David Mosberger-Tang <davidm@azstarnet.com>
* sysdeps/unix/sysv/linux/alpha/pipe.S: Use PSEUDO.
This commit is contained in:
@@ -20,23 +20,11 @@ Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|
||||||
.text
|
PSEUDO (__pipe, pipe, 0)
|
||||||
LEAF(__pipe, 0)
|
|
||||||
.prologue 0
|
|
||||||
|
|
||||||
ldi v0, __NR_pipe
|
|
||||||
call_pal PAL_callsys
|
|
||||||
bne a3, error
|
|
||||||
|
|
||||||
stl r0, 0(a0)
|
stl r0, 0(a0)
|
||||||
stl r1, 4(a0)
|
stl r1, 4(a0)
|
||||||
mov zero, v0
|
mov zero, v0
|
||||||
ret
|
ret
|
||||||
|
PSEUDO_END(__pipe)
|
||||||
error: br gp, 1f
|
|
||||||
1: ldgp gp, 0(gp)
|
|
||||||
jmp zero, syscall_error
|
|
||||||
|
|
||||||
END(__pipe)
|
|
||||||
|
|
||||||
weak_alias (__pipe, pipe)
|
weak_alias (__pipe, pipe)
|
||||||
|
|||||||
Reference in New Issue
Block a user