about summary refs log tree commit diff
path: root/ports
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 /ports
parent5a22385ad1e45bc5ae98e1ae19f576f358b21731 (diff)
downloadglibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.tar.gz
glibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.tar.xz
glibc-fc6394c6fce0b43e9eb6a988b669dd8b699617ef.zip
Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
Diffstat (limited to 'ports')
-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
3 files changed, 11 insertions, 0 deletions
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  <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 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