aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-22 02:37:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-22 02:37:02 +0000
commitfc6394c6fce0b43e9eb6a988b669dd8b699617ef (patch)
tree92389c9f2367e7cd83fdf1c2edc01ffef7a90e15
parent5a22385ad1e45bc5ae98e1ae19f576f358b21731 (diff)
downloadglibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.zip
glibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.tar.gz
glibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.tar.bz2
Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
-rw-r--r--NEWS4
-rw-r--r--ports/ChangeLog.mips8
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/mips64/n64/sendfile64.c1
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list2
4 files changed, 13 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2446a70..c17a557 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 5ef48f4..6034fd0 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -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
index 0000000..4c451bd
--- /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 c94fe75..b23a2a1 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