summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-15 21:34:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-15 21:34:59 +0000
commita53368f98c431dd9a30b7999735a7ef5170f1e9d (patch)
tree45822ececbb140bc319c60f665a9e521310c4020 /libc/sysdeps/linux/i386
parentcb17b1ef4c28b7cd2dbad63df659375b23b9254a (diff)
Remove __libc_posix_fadvise[64] alias. It existed on i386 and arm only,
and google says only uclibc has it, no users at all. text data bss dec hex filename - 229374 1367 11280 242021 3b165 lib/libuClibc-0.9.30-svn.so + 229347 1367 11280 241994 3b14a lib/libuClibc-0.9.30-svn.so
Diffstat (limited to 'libc/sysdeps/linux/i386')
-rw-r--r--libc/sysdeps/linux/i386/posix_fadvise64.S26
1 files changed, 17 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/i386/posix_fadvise64.S b/libc/sysdeps/linux/i386/posix_fadvise64.S
index b99b35ee7..17f006aa8 100644
--- a/libc/sysdeps/linux/i386/posix_fadvise64.S
+++ b/libc/sysdeps/linux/i386/posix_fadvise64.S
@@ -22,10 +22,17 @@
#include <bits/errno.h>
#include <sys/syscall.h>
+/* Was named __libc_posix_fadvise64 for some inexplicable reason.
+** google says only uclibc has *__libc*_posix_fadviseXXX,
+** so it cannot be compat with anything.
+**
+** Remove this comment and one at the end after 0.9.31
+*/
+
.text
-.global __libc_posix_fadvise64
-.type __libc_posix_fadvise64,%function
-__libc_posix_fadvise64:
+.global posix_fadvise64
+.type posix_fadvise64,%function
+posix_fadvise64:
#if defined __NR_fadvise64_64
/* Save regs */
pushl %ebp
@@ -91,10 +98,11 @@ overflow:
/* Successful; return the syscall's value. */
ret
-.size __libc_posix_fadvise64,.-__libc_posix_fadvise64
-
-libc_hidden_def(__libc_posix_fadvise64)
-#if defined __UCLIBC_HAS_LFS__ && defined __UCLIBC_HAS_ADVANCED_REALTIME__
-weak_alias(__libc_posix_fadvise64,posix_fadvise64)
-#endif
+.size posix_fadvise64,.-posix_fadvise64
+/*
+** libc_hidden_def(__libc_posix_fadvise64)
+** #if defined __UCLIBC_HAS_LFS__ && defined __UCLIBC_HAS_ADVANCED_REALTIME__
+** weak_alias(__libc_posix_fadvise64,posix_fadvise64)
+** #endif
+*/