[uClibc-cvs] svn commit: trunk/uClibc/ldso/include

vapier at uclibc.org vapier at uclibc.org
Sat Jul 9 00:31:32 UTC 2005


Author: vapier
Date: 2005-07-08 18:31:31 -0600 (Fri, 08 Jul 2005)
New Revision: 10765

Log:
we need the syscall6() version of mmap

Modified:
   trunk/uClibc/ldso/include/dl-syscall.h


Changeset:
Modified: trunk/uClibc/ldso/include/dl-syscall.h
===================================================================
--- trunk/uClibc/ldso/include/dl-syscall.h	2005-07-09 00:30:56 UTC (rev 10764)
+++ trunk/uClibc/ldso/include/dl-syscall.h	2005-07-09 00:31:31 UTC (rev 10765)
@@ -104,7 +104,7 @@
 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,




More information about the uClibc-cvs mailing list