From fc6394c6fce0b43e9eb6a988b669dd8b699617ef Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Nov 2012 02:37:02 +0000 Subject: Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822). --- NEWS | 4 ++-- ports/ChangeLog.mips | 8 ++++++++ ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c | 1 + ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list | 2 ++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c diff --git a/NEWS b/NEWS index 2446a7094e..c17a5573f0 100644 --- 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. diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 5ef48f4e77..6034fd041b 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,3 +1,11 @@ +2012-11-22 Joseph Myers + + [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 * 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 index 0000000000..4c451bd093 --- /dev/null +++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c @@ -0,0 +1 @@ +/* sendfile64 is alias of sendfile syscall. */ diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list index c94fe75a71..b23a2a1d1c 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list +++ b/ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list @@ -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 -- cgit 1.4.1