This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 1/1] statfs64 should be weak-aliased to statfs on mips64/n64 as on X86-64
- From: <rongqing dot li at windriver dot com>
- To: <libc-ports at sourceware dot org>
- Date: Fri, 19 Aug 2011 17:50:58 +0800
- Subject: [PATCH 1/1] statfs64 should be weak-aliased to statfs on mips64/n64 as on X86-64
From: Roy.Li <rongqing.li@windriver.com>
statfs64 is null function since __NR_statfs64 is not defined when gcc
uses _MIPS_SIM_ABI64.
When macro _FILE_OFFSET_BITS=64, statfs function becomes statfs64,
the result is these two functions can not work.
Signed-off-by: Roy.Li <rongqing.li@windriver.com>
---
.../unix/sysv/linux/mips/mips64/n64/syscalls.list | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
index 8d70e45..a93943d 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
@@ -5,3 +5,4 @@ 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
+statfs - statfs i:sp __statfs statfs statfs64
--
1.7.1