Quellcode durchsuchen

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...

Peter Kjellerstedt vor 20 Jahren
Ursprung
Commit
980592d971
1 geänderte Dateien mit 0 neuen und 9 gelöschten Zeilen
  1. 0 9
      libc/sysdeps/linux/cris/sysdep.S

+ 0 - 9
libc/sysdeps/linux/cris/sysdep.S

@@ -19,15 +19,6 @@
 #include <features.h>
 #include <features.h>
 #include "sysdep.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
 /* The syscall stubs jump here when they detect an error, bot for PIC and
    non-PIC.  */
    non-PIC.  */