summaryrefslogtreecommitdiff
path: root/ldso/ldso/frv
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-10-04 23:26:08 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-10-06 22:34:36 +0200
commite2f889a7467979f56de6412e6cb1bdfaf797f677 (patch)
treef77dc6f7b912f0252ba038a5fefc614a52c12807 /ldso/ldso/frv
parent331b43717229eaad2a95bf420f5100079bd53683 (diff)
ldso: merge duplicate dl-syscalls.h code to common header
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/ldso/frv')
-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 */