public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/1] statfs64 should be weak-aliased to statfs on mips64/n64 as on X86-64
@ 2011-08-19  9:51 rongqing.li
  2011-08-20  1:06 ` Rongqing Li
  2011-09-06 14:08 ` Joseph S. Myers
  0 siblings, 2 replies; 4+ messages in thread
From: rongqing.li @ 2011-08-19  9:51 UTC (permalink / raw)
  To: libc-ports

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-06 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19  9:51 [PATCH 1/1] statfs64 should be weak-aliased to statfs on mips64/n64 as on X86-64 rongqing.li
2011-08-20  1:06 ` Rongqing Li
2011-08-24  9:29   ` Rongqing Li
2011-09-06 14:08 ` Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).