summaryrefslogtreecommitdiffstats
path: root/usr/include/arch/sparc/klibc/archconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/include/arch/sparc/klibc/archconfig.h')
-rw-r--r--usr/include/arch/sparc/klibc/archconfig.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr/include/arch/sparc/klibc/archconfig.h b/usr/include/arch/sparc/klibc/archconfig.h
new file mode 100644
index 0000000..bdc8b1e
--- /dev/null
+++ b/usr/include/arch/sparc/klibc/archconfig.h
@@ -0,0 +1,19 @@
+/*
+ * include/arch/sparc/klibc/archconfig.h
+ *
+ * See include/klibc/sysconfig.h for the options that can be set in
+ * this file.
+ *
+ */
+
+#ifndef _KLIBC_ARCHCONFIG_H
+#define _KLIBC_ARCHCONFIG_H
+
+#define _KLIBC_SYS_SOCKETCALL 1 /* Use sys_socketcall unconditionally */
+
+/* So that we can avoid stack trampolines */
+#define _KLIBC_NEEDS_SA_RESTORER 1
+/* Our restorer will call rt_sigreturn() */
+#define _KLIBC_NEEDS_SA_SIGINFO 1
+
+#endif /* _KLIBC_ARCHCONFIG_H */