summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-12 00:23:39 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-12 00:23:39 +0000
commit9ab989679531a0877afe1b2028eafd5db718f5cf (patch)
treef73f1e0113b33553ed072e50a9226ad0a59ebd08 /libc/sysdeps/linux/common/bits
parentb3395c6770895e9398a454c7bfaae0d6822f7cf1 (diff)
Add a default syscalls.h that will just error out.
Add in syscalls.h for alpha.
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-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
+