From 20ade83c2dde545ee1cb1687a2a593a227994726 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 27 Jun 2001 19:54:48 +0000 Subject: Cleanup to not use kernel headers at all. -Erik --- ldso/ldso/sparc/dl-syscalls.h | 21 ++++++++++++++++++++- ldso/ldso/sparc/ld_syscalls.h | 21 ++++++++++++++++++++- ldso/ldso/sparc/syscalls.h | 21 ++++++++++++++++++++- 3 files changed, 60 insertions(+), 3 deletions(-) (limited to 'ldso/ldso/sparc') diff --git a/ldso/ldso/sparc/dl-syscalls.h b/ldso/ldso/sparc/dl-syscalls.h index 0fe431809..d7cd3734b 100644 --- a/ldso/ldso/sparc/dl-syscalls.h +++ b/ldso/ldso/sparc/dl-syscalls.h @@ -1,4 +1,23 @@ -#include +#include + +/* + * 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_getgid 47 +#define __NR_geteuid 49 +#define __NR_getegid 50 +#define __NR_mmap 71 +#define __NR_munmap 73 +#define __NR_stat 38 +#define __NR_mprotect 74 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set diff --git a/ldso/ldso/sparc/ld_syscalls.h b/ldso/ldso/sparc/ld_syscalls.h index 0fe431809..d7cd3734b 100644 --- a/ldso/ldso/sparc/ld_syscalls.h +++ b/ldso/ldso/sparc/ld_syscalls.h @@ -1,4 +1,23 @@ -#include +#include + +/* + * 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_getgid 47 +#define __NR_geteuid 49 +#define __NR_getegid 50 +#define __NR_mmap 71 +#define __NR_munmap 73 +#define __NR_stat 38 +#define __NR_mprotect 74 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set diff --git a/ldso/ldso/sparc/syscalls.h b/ldso/ldso/sparc/syscalls.h index 0fe431809..d7cd3734b 100644 --- a/ldso/ldso/sparc/syscalls.h +++ b/ldso/ldso/sparc/syscalls.h @@ -1,4 +1,23 @@ -#include +#include + +/* + * 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_getgid 47 +#define __NR_geteuid 49 +#define __NR_getegid 50 +#define __NR_mmap 71 +#define __NR_munmap 73 +#define __NR_stat 38 +#define __NR_mprotect 74 /* Here are the macros which define how this platform makes * system calls. This particular variant does _not_ set -- cgit v1.2.3