about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-09-06 14:04:08 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-09-06 14:04:08 +0000
commitc26e391dd3e01362f7c6ce575273f30580793ab3 (patch)
treec3cbefd66802555f10f9761526589e9cfba78eef
parent978f13ef739123a0f4dbc85519d4cacc23e35abf (diff)
downloadglibc-c26e391dd3e01362f7c6ce575273f30580793ab3.tar.gz
glibc-c26e391dd3e01362f7c6ce575273f30580793ab3.tar.xz
glibc-c26e391dd3e01362f7c6ce575273f30580793ab3.zip
Fix statfs64/fstatfs64 for MIPS n64.
-rw-r--r--ChangeLog.mips8
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c1
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list3
4 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips
index b2998b8f11..75f87fe418 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,11 @@
+2011-09-06  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #13109]
+	* sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
+	(statfs): New.
+	* sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
+	sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
+
 2011-08-02  Matt Turner  <mattst88@gmail.com>
 
 	* sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c
new file mode 100644
index 0000000000..6e25b021ab
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c
@@ -0,0 +1 @@
+/* Empty.  */
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c
new file mode 100644
index 0000000000..6e25b021ab
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c
@@ -0,0 +1 @@
+/* Empty.  */
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
index 8d70e457f1..c94fe75a71 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
@@ -5,3 +5,6 @@ sync_file_range	-	sync_file_range	Ci:iiii	sync_file_range
 prlimit		EXTRA	prlimit64	i:iipp	prlimit		prlimit64
 
 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