summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-09-22 16:40:00 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2006-09-22 16:40:00 +0000
commit980592d971c46db7ab046eacece95f6496b73e4b (patch)
tree39f65753cdc74cbf1df4fec04dec3d8ecef9a853 /libc/sysdeps/linux/cris
parent3fb7e923b95687504e91ebde1fdbd2d75e5985ec (diff)
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...
Diffstat (limited to 'libc/sysdeps/linux/cris')
-rw-r--r--libc/sysdeps/linux/cris/sysdep.S9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/cris/sysdep.S b/libc/sysdeps/linux/cris/sysdep.S
index 4e558153b..416751d65 100644
--- a/libc/sysdeps/linux/cris/sysdep.S
+++ b/libc/sysdeps/linux/cris/sysdep.S
@@ -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),@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. */