diff options
Diffstat (limited to 'ldso/ldso/x86_64/dl-syscalls.h')
-rw-r--r-- | ldso/ldso/x86_64/dl-syscalls.h | 5 |
1 files changed, 5 insertions, 0 deletions
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" |