Make mmap64 an alias of mmap on MIPS.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Jul 2012 13:43:46 +0000 (13:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Jul 2012 13:43:46 +0000 (13:43 +0000)
ports/ChangeLog.mips
ports/sysdeps/unix/sysv/linux/mips/mips64/mmap64.c [new file with mode: 0644]
ports/sysdeps/unix/sysv/linux/mips/mips64/syscalls.list

index 2a5cf36..a1b6dc5 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
+       * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
+
 2012-07-25  Florian Weimer  <fweimer@redhat.com>
 
        * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/mmap64.c b/ports/sysdeps/unix/sysv/linux/mips/mips64/mmap64.c
new file mode 100644 (file)
index 0000000..0dbd384
--- /dev/null
@@ -0,0 +1 @@
+/* mmap64 is the same as mmap. */
index 867323a..50d5ba3 100644 (file)
@@ -2,6 +2,8 @@
 
 lseek          -       lseek           Ci:iii  __libc_lseek    __lseek lseek __llseek llseek __libc_lseek64 __lseek64 lseek64
 
+mmap           -       mmap            b:aniiii __mmap         mmap __mmap64 mmap64
+
 ftruncate      -       ftruncate       i:ii    __ftruncate     ftruncate ftruncate64 __ftruncate64
 truncate       -       truncate        i:si    truncate        truncate64