summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-09 00:31:31 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-09 00:31:31 +0000
commit0fba5565bab74cb7f8547272f35f162a26eac2ba (patch)
treec40ce838fc6458a222688efb06d0a2bcaefe4430
parent5303a70090343a1d45886d70265d02f50b86627b (diff)
we need the syscall6() version of mmap
-rw-r--r--ldso/include/dl-syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h
index a30b9133c..1bcf95fb1 100644
--- a/ldso/include/dl-syscall.h
+++ b/ldso/include/dl-syscall.h
@@ -104,7 +104,7 @@ static inline _syscall0(gid_t, _dl_getpid);
static inline _syscall3(int, _dl_readlink, const char *, path, char *, buf, size_t, bufsiz);
#ifdef __NR_mmap
-#if defined(__powerpc__) || defined(__mips__) || defined(__sh__) || defined(__sparc__)
+#if defined(__powerpc__) || defined(__mips__) || defined(__sh__) || defined(__sparc__) || defined(__x86_64__)
/* PowerPC, MIPS and SuperH have a different calling convention for mmap(). */
#define __NR__dl_mmap __NR_mmap
static inline _syscall6(void *, _dl_mmap, void *, start, size_t, length,