diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-06-27 19:54:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-06-27 19:54:48 +0000 |
commit | 20ade83c2dde545ee1cb1687a2a593a227994726 (patch) | |
tree | c4e1454bdcb1d5d5d8433eef05f031766df917c1 /ldso/ldso/m68k | |
parent | 389c0e545e26507afd1a394904574ddd8b35cb79 (diff) |
Cleanup to not use kernel headers at all.
-Erik
Diffstat (limited to 'ldso/ldso/m68k')
-rw-r--r-- | ldso/ldso/m68k/dl-syscalls.h | 28 | ||||
-rw-r--r-- | ldso/ldso/m68k/ld_syscalls.h | 28 | ||||
-rw-r--r-- | ldso/ldso/m68k/syscalls.h | 28 |
3 files changed, 60 insertions, 24 deletions
diff --git a/ldso/ldso/m68k/dl-syscalls.h b/ldso/ldso/m68k/dl-syscalls.h index 7d76c5422..5ffb61bac 100644 --- a/ldso/ldso/m68k/dl-syscalls.h +++ b/ldso/ldso/m68k/dl-syscalls.h @@ -1,12 +1,24 @@ -#include <asm/unistd.h> +#include <sys/types.h> + +/* + * This file contains the system call macros and syscall + * numbers used by the shared library loader. + */ + +#define __NR_exit 1 +#define __NR_read 3 +#define __NR_write 4 +#define __NR_open 5 +#define __NR_close 6 +#define __NR_getuid 24 +#define __NR_geteuid 49 +#define __NR_getgid 47 +#define __NR_getegid 50 +#define __NR_mmap 90 +#define __NR_munmap 91 +#define __NR_stat 106 +#define __NR_mprotect 125 -#undef __syscall_return -#undef _syscall0 -#undef _syscall1 -#undef _syscall2 -#undef _syscall3 -#undef _syscall4 -#undef _syscall5 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set diff --git a/ldso/ldso/m68k/ld_syscalls.h b/ldso/ldso/m68k/ld_syscalls.h index 7d76c5422..5ffb61bac 100644 --- a/ldso/ldso/m68k/ld_syscalls.h +++ b/ldso/ldso/m68k/ld_syscalls.h @@ -1,12 +1,24 @@ -#include <asm/unistd.h> +#include <sys/types.h> + +/* + * This file contains the system call macros and syscall + * numbers used by the shared library loader. + */ + +#define __NR_exit 1 +#define __NR_read 3 +#define __NR_write 4 +#define __NR_open 5 +#define __NR_close 6 +#define __NR_getuid 24 +#define __NR_geteuid 49 +#define __NR_getgid 47 +#define __NR_getegid 50 +#define __NR_mmap 90 +#define __NR_munmap 91 +#define __NR_stat 106 +#define __NR_mprotect 125 -#undef __syscall_return -#undef _syscall0 -#undef _syscall1 -#undef _syscall2 -#undef _syscall3 -#undef _syscall4 -#undef _syscall5 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set diff --git a/ldso/ldso/m68k/syscalls.h b/ldso/ldso/m68k/syscalls.h index 7d76c5422..5ffb61bac 100644 --- a/ldso/ldso/m68k/syscalls.h +++ b/ldso/ldso/m68k/syscalls.h @@ -1,12 +1,24 @@ -#include <asm/unistd.h> +#include <sys/types.h> + +/* + * This file contains the system call macros and syscall + * numbers used by the shared library loader. + */ + +#define __NR_exit 1 +#define __NR_read 3 +#define __NR_write 4 +#define __NR_open 5 +#define __NR_close 6 +#define __NR_getuid 24 +#define __NR_geteuid 49 +#define __NR_getgid 47 +#define __NR_getegid 50 +#define __NR_mmap 90 +#define __NR_munmap 91 +#define __NR_stat 106 +#define __NR_mprotect 125 -#undef __syscall_return -#undef _syscall0 -#undef _syscall1 -#undef _syscall2 -#undef _syscall3 -#undef _syscall4 -#undef _syscall5 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set |