From 9ab989679531a0877afe1b2028eafd5db718f5cf Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 12 May 2002 00:23:39 +0000 Subject: Add a default syscalls.h that will just error out. Add in syscalls.h for alpha. --- libc/sysdeps/linux/common/bits/syscalls.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libc/sysdeps/linux/common/bits/syscalls.h (limited to 'libc/sysdeps/linux/common/bits/syscalls.h') 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 + -- cgit v1.2.3