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

sjhill at uclibc.org sjhill at uclibc.org
Sat Sep 3 22:56:11 UTC 2005


Author: sjhill
Date: 2005-09-03 15:56:10 -0700 (Sat, 03 Sep 2005)
New Revision: 11321

Log:
Fix cloberring of errno value.


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


Changeset:
Modified: branches/uClibc-nptl/libc/sysdeps/linux/mips/clone.S
===================================================================
--- branches/uClibc-nptl/libc/sysdeps/linux/mips/clone.S	2005-09-03 05:30:59 UTC (rev 11320)
+++ branches/uClibc-nptl/libc/sysdeps/linux/mips/clone.S	2005-09-03 22:56:10 UTC (rev 11321)
@@ -102,6 +102,9 @@
 
 	/* Something bad happened -- no child created */
 L(error):
+#ifdef __UCLIBC__
+	move		a0,v0
+#endif
 #ifdef __PIC__
 	PTR_LA		t9,__syscall_error
 	RESTORE_GP64




More information about the uClibc-cvs mailing list