about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/arm
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-01-05 16:05:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-01-05 16:05:34 +0000
commitab70da77ea8076b49ad81a8c06103c51d4e81dc4 (patch)
tree3acc1f1dc8b5b9f9db6f5ebb7ddc9d1143e4227f /sysdeps/unix/sysv/linux/arm
parentb8986484e47d6c9b3aecbd259dac52b4c9c99e0d (diff)
downloadglibc-ab70da77ea8076b49ad81a8c06103c51d4e81dc4.tar.gz
glibc-ab70da77ea8076b49ad81a8c06103c51d4e81dc4.tar.xz
glibc-ab70da77ea8076b49ad81a8c06103c51d4e81dc4.zip
Fix ARM posix_fadvise64 namespace (bug 17793).
ARM posix_fadvise calls __posix_fadvise64_l64, to which
posix_fadvise64 is a strong alias, but posix_fadvise is a POSIX
function and posix_fadvise64 isn't.  This patch changes it into a weak
alias.

Tested for ARM that this fixes the corresponding linknamespace test
failures.

	[BZ #17793]
	* sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
	Define as weak alias not strong alias.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm')
-rw-r--r--sysdeps/unix/sysv/linux/arm/posix_fadvise64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/posix_fadvise64.c b/sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
index 1f76e67930..b58c4c0824 100644
--- a/sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
+++ b/sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
@@ -35,4 +35,4 @@ __posix_fadvise64_l64 (int fd, off64_t offset, off64_t len, int advise)
     return 0;
   return INTERNAL_SYSCALL_ERRNO (ret, err);
 }
-strong_alias (__posix_fadvise64_l64, posix_fadvise64);
+weak_alias (__posix_fadvise64_l64, posix_fadvise64);