summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/posix_fadvise64.S
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 12:59:13 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 12:59:13 +0000
commite64b6392143f7ee01b3ea867bf61647ef4e1d727 (patch)
tree81ca00385d852a4acdb45eb18f6f3d6a8284bd19 /libc/sysdeps/linux/i386/posix_fadvise64.S
parent63a9972bedf9d59e2879ee190ff28210c21b1673 (diff)
- fix !LFS case for i386
Diffstat (limited to 'libc/sysdeps/linux/i386/posix_fadvise64.S')
-rw-r--r--libc/sysdeps/linux/i386/posix_fadvise64.S13
1 files changed, 8 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/i386/posix_fadvise64.S b/libc/sysdeps/linux/i386/posix_fadvise64.S
index da3f36394..53aa75a9b 100644
--- a/libc/sysdeps/linux/i386/posix_fadvise64.S
+++ b/libc/sysdeps/linux/i386/posix_fadvise64.S
@@ -23,9 +23,9 @@
#include <sys/syscall.h>
.text
-.global posix_fadvise64
-.type posix_fadvise64,%function
-posix_fadvise64:
+.global __libc_posix_fadvise64
+.type __libc_posix_fadvise64,%function
+__libc_posix_fadvise64:
#if defined __NR_fadvise64_64 && defined __UCLIBC_HAS_LFS__
/* Save regs */
pushl %ebp
@@ -92,7 +92,10 @@ overflow:
/* Successful; return the syscall's value. */
ret
-.size posix_fadvise64,.-posix_fadvise64
+.size __libc_posix_fadvise64,.-__libc_posix_fadvise64
-libc_hidden_def(posix_fadvise64)
+libc_hidden_def(__libc_posix_fadvise64)
+#if defined __UCLIBC_HAS_LFS__
+weak_alias(__libc_posix_fadvise64,posix_fadvise64)
+#endif