This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.20-475-gac4c11f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  ac4c11f580fde4cd18ebbd6533deab0d18445db0 (commit)
      from  03403e3061d33048e287cf712627001e6784dcb4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ac4c11f580fde4cd18ebbd6533deab0d18445db0

commit ac4c11f580fde4cd18ebbd6533deab0d18445db0
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jan 5 18:02:31 2015 +0000

    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.

diff --git a/ChangeLog b/ChangeLog
index 4aa2e4b..4674e72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-05  Joseph Myers  <joseph@codesourcery.com>
+
+	[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  <sellcey@imgtec.com>
 
 	* sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
diff --git a/NEWS b/NEWS
index f18ace1..63918df 100644
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,7 @@ Version 2.21
   17583, 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630,
   17633, 17634, 17635, 17647, 17653, 17657, 17664, 17665, 17668, 17682,
   17717, 17719, 17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745,
-  17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793
+  17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793, 17796
 
 * i386 memcpy functions optimized with SSE2 unaligned load/store.
 
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
index 3b5daf1..9687e34 100644
--- a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
+++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
@@ -46,5 +46,5 @@ compat_symbol (libc, __posix_fadvise64_l32, posix_fadvise64, GLIBC_2_2);
 strong_alias (posix_fadvise, __posix_fadvise64_l64);
 versioned_symbol (libc, __posix_fadvise64_l64, posix_fadvise64, GLIBC_2_3_3);
 #else
-strong_alias (posix_fadvise, posix_fadvise64);
+weak_alias (posix_fadvise, posix_fadvise64);
 #endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |    7 +++++++
 NEWS                                               |    2 +-
 .../sysv/linux/mips/mips64/n64/posix_fadvise.c     |    2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]