diff options
| author | Jayachandran C. <jchandra@FreeBSD.org> | 2010-11-27 12:26:40 +0000 |
|---|---|---|
| committer | Jayachandran C. <jchandra@FreeBSD.org> | 2010-11-27 12:26:40 +0000 |
| commit | 43f6e368b0a5523c2727da0b0248172b488b758e (patch) | |
| tree | fd7cffbdc745cef2675b66c7c0b61767483a2475 /lib/libc/mips/sys/pipe.S | |
| parent | 30409a7564cd898dd84a0f5835cf3931705d01c0 (diff) | |
Notes
Diffstat (limited to 'lib/libc/mips/sys/pipe.S')
| -rw-r--r-- | lib/libc/mips/sys/pipe.S | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/mips/sys/pipe.S b/lib/libc/mips/sys/pipe.S index 224b78c8aafc..01465328f834 100644 --- a/lib/libc/mips/sys/pipe.S +++ b/lib/libc/mips/sys/pipe.S @@ -44,19 +44,14 @@ __FBSDID("$FreeBSD$"); LEAF(__sys_pipe) WEAK_ALIAS(pipe, __sys_pipe) WEAK_ALIAS(_pipe, __sys_pipe) -#ifdef __ABICALLS__ - .set noreorder - .cpload t9 - .set reorder -#endif + PIC_PROLOGUE(__sys_pipe) li v0, SYS_pipe # pipe(fildes) int fildes[2]; syscall bne a3, zero, 1f sw v0, 0(a0) # store the two file descriptors sw v1, 4(a0) move v0, zero - j ra + PIC_RETURN() 1: - la t9, _C_LABEL(__cerror) - jr t9 + PIC_TAILCALL(__cerror) END(__sys_pipe) |
