svn commit: trunk/uClibc/libc/sysdeps/linux/cris

pkj at uclibc.org pkj at uclibc.org
Fri Sep 22 16:40:01 UTC 2006


Author: pkj
Date: 2006-09-22 09:40:00 -0700 (Fri, 22 Sep 2006)
New Revision: 16189

Log:
Remove code to define errno in this file.  It is definitly not needed
when building with thread support (which we normally do), and as far
as I can tell it should not be needed otherwise either.  And as it did
not build with the latest binutils and gcc, the choice was easy...


Modified:
   trunk/uClibc/libc/sysdeps/linux/cris/sysdep.S


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/cris/sysdep.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/cris/sysdep.S	2006-09-22 16:02:40 UTC (rev 16188)
+++ trunk/uClibc/libc/sysdeps/linux/cris/sysdep.S	2006-09-22 16:40:00 UTC (rev 16189)
@@ -19,15 +19,6 @@
 #include <features.h>
 #include "sysdep.h"
 
-/* Make space for the errno variable.  */
-
-	.globl	C_SYMBOL_NAME(errno)
-	.type	C_SYMBOL_NAME(errno), at object
-	.lcomm	C_SYMBOL_NAME(errno),4
-
-	.weak errno
-	errno = _errno
-
 /* The syscall stubs jump here when they detect an error, bot for PIC and
    non-PIC.  */
 




More information about the uClibc-cvs mailing list