From 000311a8ddfa7c46aed9a07a2d3cdab5f7b14412 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Jul 2005 05:33:37 +0000 Subject: import start of ldso based on glibc --- ldso/ldso/x86_64/dl-syscalls.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ldso/ldso/x86_64/dl-syscalls.h (limited to 'ldso/ldso/x86_64/dl-syscalls.h') diff --git a/ldso/ldso/x86_64/dl-syscalls.h b/ldso/ldso/x86_64/dl-syscalls.h new file mode 100644 index 000000000..dc0cc6164 --- /dev/null +++ b/ldso/ldso/x86_64/dl-syscalls.h @@ -0,0 +1,5 @@ +/* We can't use the real errno in ldso, since it has not yet + * been dynamicly linked in yet. */ +extern int _dl_errno; +#define __set_errno(X) {(_dl_errno) = (X);} +#include "sys/syscall.h" -- cgit v1.2.3