summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/syscalls.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/bits/syscalls.h')
-rw-r--r--libc/sysdeps/linux/common/bits/syscalls.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/syscalls.h b/libc/sysdeps/linux/common/bits/syscalls.h
new file mode 100644
index 000000000..e891af8e5
--- /dev/null
+++ b/libc/sysdeps/linux/common/bits/syscalls.h
@@ -0,0 +1,10 @@
+/* Unlike the asm/unistd.h kernel header file (which this is partly based on),
+ * this file must be able to cope with PIC and non-PIC code. For some arches
+ * there is no difference. For x86 (which has far too few registers) there is
+ * a difference. Regardless, including asm/unistd.h is hereby officially
+ * forbidden. Don't do it. It is bad for you.
+ */
+
+
+#error You have not provided architecture specific _syscall[0-5] macros
+