From e2f889a7467979f56de6412e6cb1bdfaf797f677 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 4 Oct 2011 23:26:08 -0400 Subject: ldso: merge duplicate dl-syscalls.h code to common header Signed-off-by: Mike Frysinger Signed-off-by: Bernhard Reutner-Fischer --- ldso/ldso/arm/dl-syscalls.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ldso/ldso/arm') 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). -- cgit v1.2.3