svn commit: branches/uClibc-nptl/libc/sysdeps/linux/mips

sjhill at uclibc.org sjhill at uclibc.org
Wed Aug 23 03:43:52 UTC 2006


Author: sjhill
Date: 2006-08-22 20:43:52 -0700 (Tue, 22 Aug 2006)
New Revision: 15917

Log:
Merge from trunk.


Modified:
   branches/uClibc-nptl/libc/sysdeps/linux/mips/pipe.S


Changeset:
Modified: branches/uClibc-nptl/libc/sysdeps/linux/mips/pipe.S
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/mips/pipe.S	2006-08-23 03:40:00 UTC (rev 15916)
+++ branches/uClibc-nptl/libc/sysdeps/linux/mips/pipe.S	2006-08-23 03:43:52 UTC (rev 15917)
@@ -10,33 +10,19 @@
 	.globl	pipe
 	.ent	pipe, 0
 pipe:
-	.frame	sp, 24, sp
-#ifdef __PIC__
-	.set	noreorder
-	.cpload	$25
-	.set 	reorder
-	addiu	sp,sp,-24
-	.cprestore	16
-#else
-	addiu	sp,sp,-24
-#endif
-	sw	a0,16(sp)
 	li	v0,__NR_pipe
 	syscall
 	beqz	a3, 1f
 #ifdef __PIC__
-	la	t0, __syscall_error
+	la	t9, __syscall_error
 	jr	t9
 #else
 	j	__syscall_error
 #endif
 1:
-	lw	a0, 16(sp)
 	sw	v0, 0(a0)
 	sw	v1, 4(a0)
 	li	v0, 0
-2:
-	addiu	sp,sp,24
 	j	ra
 	.end	pipe
 	.size	pipe,.-pipe




More information about the uClibc-cvs mailing list