summaryrefslogtreecommitdiff
path: root/ldso/ldso/frv/dl-syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/frv/dl-syscalls.h')
-rw-r--r--ldso/ldso/frv/dl-syscalls.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ldso/ldso/frv/dl-syscalls.h b/ldso/ldso/frv/dl-syscalls.h
index a4bff1d47..13b887b75 100644
--- a/ldso/ldso/frv/dl-syscalls.h
+++ b/ldso/ldso/frv/dl-syscalls.h
@@ -4,12 +4,6 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-/* We can't use the real errno in ldso, since it has not yet
- * been dynamicly linked in yet. */
-#include "sys/syscall.h"
-extern int _dl_errno;
-#undef __set_errno
-#define __set_errno(X) {(_dl_errno) = (X);}
#include <sys/mman.h>
/* The code below is extracted from libc/sysdeps/linux/frv/_mmap.c */