diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-03-19 10:43:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-03-19 10:43:35 +0000 |
commit | 2aed5b3bb028aa3519fb29a859b4d1d0184c6cdb (patch) | |
tree | d4bdfe13ce1b565dd176efbc7b864c68bc879061 /ldso/ldso/sparc | |
parent | 0af2186df018cb9f21d592e7eefd6ab951938647 (diff) |
Cleanup header files a bit.
-Erik
Diffstat (limited to 'ldso/ldso/sparc')
-rw-r--r-- | ldso/ldso/sparc/dl-syscalls.h | 3 | ||||
-rw-r--r-- | ldso/ldso/sparc/ld_syscalls.h | 3 | ||||
-rw-r--r-- | ldso/ldso/sparc/sdiv.S | 8 | ||||
-rw-r--r-- | ldso/ldso/sparc/udiv.S | 8 | ||||
-rw-r--r-- | ldso/ldso/sparc/urem.S | 8 |
5 files changed, 2 insertions, 28 deletions
diff --git a/ldso/ldso/sparc/dl-syscalls.h b/ldso/ldso/sparc/dl-syscalls.h index d7cd3734b..27ae2905c 100644 --- a/ldso/ldso/sparc/dl-syscalls.h +++ b/ldso/ldso/sparc/dl-syscalls.h @@ -1,5 +1,3 @@ -#include <sys/types.h> - /* * This file contains the system call macros and syscall * numbers used by the shared library loader. @@ -14,6 +12,7 @@ #define __NR_getgid 47 #define __NR_geteuid 49 #define __NR_getegid 50 +#define __NR_readlink 58 #define __NR_mmap 71 #define __NR_munmap 73 #define __NR_stat 38 diff --git a/ldso/ldso/sparc/ld_syscalls.h b/ldso/ldso/sparc/ld_syscalls.h index d7cd3734b..27ae2905c 100644 --- a/ldso/ldso/sparc/ld_syscalls.h +++ b/ldso/ldso/sparc/ld_syscalls.h @@ -1,5 +1,3 @@ -#include <sys/types.h> - /* * This file contains the system call macros and syscall * numbers used by the shared library loader. @@ -14,6 +12,7 @@ #define __NR_getgid 47 #define __NR_geteuid 49 #define __NR_getegid 50 +#define __NR_readlink 58 #define __NR_mmap 71 #define __NR_munmap 73 #define __NR_stat 38 diff --git a/ldso/ldso/sparc/sdiv.S b/ldso/ldso/sparc/sdiv.S index 5e52e1959..549cfa02c 100644 --- a/ldso/ldso/sparc/sdiv.S +++ b/ldso/ldso/sparc/sdiv.S @@ -38,15 +38,7 @@ #include "DEFS.h" -#ifndef __linux__ -#ifdef __svr4__ -#include <sys/trap.h> -#else -#include "/usr/include/machine/trap.h" -#endif -#else #include <asm/traps.h> -#endif FUNC(_dl_div) ! compute sign of result; if neither is negative, no problem diff --git a/ldso/ldso/sparc/udiv.S b/ldso/ldso/sparc/udiv.S index df4e5385e..bfa2fcb8f 100644 --- a/ldso/ldso/sparc/udiv.S +++ b/ldso/ldso/sparc/udiv.S @@ -37,15 +37,7 @@ #include "DEFS.h" -#ifndef __linux__ -#ifdef __svr4__ -#include <sys/trap.h> -#else -#include "/usr/include/machine/trap.h" -#endif -#else #include <asm/traps.h> -#endif FUNC(_dl_udiv) diff --git a/ldso/ldso/sparc/urem.S b/ldso/ldso/sparc/urem.S index 8d304038b..072e6a8c9 100644 --- a/ldso/ldso/sparc/urem.S +++ b/ldso/ldso/sparc/urem.S @@ -38,15 +38,7 @@ #include "DEFS.h" -#ifdef __linux__ #include <asm/traps.h> -#else -#ifdef __svr4__ -#include <sys/trap.h> -#else -#include "/usr/include/machine/trap.h" -#endif -#endif FUNC(_dl_urem) |