about summary refs log tree commit diff
path: root/resolv/res_libc.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-01-05 18:02:31 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-01-05 18:02:31 +0000
commitac4c11f580fde4cd18ebbd6533deab0d18445db0 (patch)
tree17e91ab178845083eaf16f87ef38f50c13636659 /resolv/res_libc.c
parent03403e3061d33048e287cf712627001e6784dcb4 (diff)
downloadglibc-ac4c11f580fde4cd18ebbd6533deab0d18445db0.tar.gz
glibc-ac4c11f580fde4cd18ebbd6533deab0d18445db0.tar.xz
glibc-ac4c11f580fde4cd18ebbd6533deab0d18445db0.zip
Fix MIPS n64 posix_fadvise namespace (bug 17796).
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c defines
posix_fadvise64 as a strong alias for posix_fadvise (for
!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) - i.e., for static
linking, which is the case when this matters), but it should be a weak
alias.  This patch makes it a weak alias.

Tested for MIPS that this fixes the observed linknamespace test
failures.

	[BZ #17796]
	* sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
	[!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
	Define as weak alias not strong alias.
Diffstat (limited to 'resolv/res_libc.c')
0 files changed, 0 insertions, 0 deletions