summaryrefslogtreecommitdiff
path: root/ldso/ldso/arm/dl-syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/arm/dl-syscalls.h')
-rw-r--r--ldso/ldso/arm/dl-syscalls.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ldso/ldso/arm/dl-syscalls.h b/ldso/ldso/arm/dl-syscalls.h
index 1c0e6699e..195461f83 100644
--- a/ldso/ldso/arm/dl-syscalls.h
+++ b/ldso/ldso/arm/dl-syscalls.h
@@ -1,9 +1,3 @@
-/* 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);}
/* _call_via_rX calls are used in thumb ldso because of calls via
* function pointers, but ldso is not linked with anything which
* provides them, so define them here (only required for thumb).