diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-04-02 21:12:37 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-04-02 21:12:37 +0000 |
commit | 96749a768287761528a05670560402a16f6839ac (patch) | |
tree | c53550a3ec7458f02da07d465c74bae3f752f499 /ldso/ldso/ld_syscall.h | |
parent | abdb41c778c5892d51fe92879d383eb8ba000028 (diff) |
Steven J. Hill's latest mips dynamic loader updates
Diffstat (limited to 'ldso/ldso/ld_syscall.h')
-rw-r--r-- | ldso/ldso/ld_syscall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/ld_syscall.h b/ldso/ldso/ld_syscall.h index ba94d7598..db7447f67 100644 --- a/ldso/ldso/ld_syscall.h +++ b/ldso/ldso/ld_syscall.h @@ -51,8 +51,8 @@ static inline _syscall1(void, _dl_exit, int, status); static inline _syscall1(int, _dl_close, int, fd); -#ifdef __powerpc__ -/* PowerPC has a different calling convention for mmap(). */ +#if defined(__powerpc) || defined(__mips__) +/* PowerPC and MIPS have a different calling convention for mmap(). */ #define __NR__dl_mmap __NR_mmap static inline _syscall6(void *, _dl_mmap, void *, start, size_t, length, int, prot, int, flags, int, fd, off_t, offset); |