Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
authorJoseph Myers <joseph@codesourcery.com>
Thu, 22 Nov 2012 02:37:02 +0000 (02:37 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 22 Nov 2012 02:37:02 +0000 (02:37 +0000)
NEWS
ports/ChangeLog.mips
ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c [new file with mode: 0644]
ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list

diff --git a/NEWS b/NEWS
index 2446a70..c17a557 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -20,8 +20,8 @@ Version 2.17
   14562, 14568, 14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621,
   14638, 14645, 14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694,
   14716, 14719, 14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797,
-  14801, 14805, 14807, 14809, 14811, 14815, 14821, 14824, 14828, 14831,
-  14835, 14838, 14856, 14863, 14865, 14866.
+  14801, 14805, 14807, 14809, 14811, 14815, 14821, 14822, 14824, 14828,
+  14831, 14835, 14838, 14856, 14863, 14865, 14866.
 
 * Port to ARM AArch64 contributed by Linaro.
 
index 5ef48f4..6034fd0 100644 (file)
@@ -1,3 +1,11 @@
+2012-11-22  Joseph Myers  <joseph@codesourcery.com>
+
+       [BZ #14822]
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
+       (sendfile): New syscall entry.
+       * sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c: New file.
+       Copy of ../sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c.
+
 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/mips/jmpbuf-unwind.h (_jmpbuf_sp): Cast regs[0].__sp to
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c
new file mode 100644 (file)
index 0000000..4c451bd
--- /dev/null
@@ -0,0 +1 @@
+/* sendfile64 is alias of sendfile syscall.  */
index c94fe75..b23a2a1 100644 (file)
@@ -8,3 +8,5 @@ fanotify_mark   EXTRA   fanotify_mark   i:iiiis fanotify_mark
 
 fstatfs                -       fstatfs         i:ip    __fstatfs       fstatfs fstatfs64 __fstatfs64
 statfs         -       statfs          i:sp    __statfs        statfs statfs64 __statfs64
+
+sendfile       -       sendfile        i:iipi  sendfile        sendfile64