diff options
Diffstat (limited to 'ldso/ldso/sh64/ld_syscalls.h')
-rw-r--r-- | ldso/ldso/sh64/ld_syscalls.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ldso/ldso/sh64/ld_syscalls.h b/ldso/ldso/sh64/ld_syscalls.h new file mode 100644 index 000000000..34da5d630 --- /dev/null +++ b/ldso/ldso/sh64/ld_syscalls.h @@ -0,0 +1,9 @@ +/* Define the __set_errno macro as nothing so that we don't bother + * setting errno, which is important since we make system calls + * before the errno symbol is dynamicly linked. */ + +#include <errno.h> +#undef __set_errno +#define __set_errno(X) {(void)(X);} +#include "sys/syscall.h" + |