OSDN Git Service

Remove code to define errno in this file. It is definitly not needed
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 22 Sep 2006 16:40:00 +0000 (16:40 -0000)
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 22 Sep 2006 16:40:00 +0000 (16:40 -0000)
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...

libc/sysdeps/linux/cris/sysdep.S

index 4e55815..416751d 100644 (file)
 #include <features.h>
 #include "sysdep.h"
 
-/* Make space for the errno variable.  */
-
-       .globl  C_SYMBOL_NAME(errno)
-       .type   C_SYMBOL_NAME(errno),@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.  */