From ac4c11f580fde4cd18ebbd6533deab0d18445db0 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 5 Jan 2015 18:02:31 +0000 Subject: 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. --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4aa2e4b9a5..4674e7215c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-01-05 Joseph Myers + + [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. + 2015-01-05 Steve Ellcey * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace -- cgit v1.2.3