about summary refs log tree commit diff
path: root/ports/sysdeps
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/sysdeps
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/sysdeps')
-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
2 files changed, 3 insertions, 0 deletions
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