summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh/ld_syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/ldso/sh/ld_syscalls.h')
-rw-r--r--ldso/ldso/sh/ld_syscalls.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ldso/ldso/sh/ld_syscalls.h b/ldso/ldso/sh/ld_syscalls.h
new file mode 100644
index 000000000..793dc9110
--- /dev/null
+++ b/ldso/ldso/sh/ld_syscalls.h
@@ -0,0 +1,7 @@
+/* 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. */
+
+#define __set_errno(X)
+#include "sys/syscall.h"
+