[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-cvs
Subject:    GNU C Library master sources branch master updated. glibc-2.20-570-gdf34134
From:       jsm28 () sourceware ! org
Date:       2015-01-28 18:44:36
Message-ID: 20150128184436.17904.qmail () sourceware ! org
[Download RAW message or body]

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  df34134284b46cdd8ffd39551b858652d465ca08 (commit)
      from  d4d0ecb24474928b9dfcce6c3f09694fab2400b6 (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=df34134284b46cdd8ffd39551b858652d465ca08

commit df34134284b46cdd8ffd39551b858652d465ca08
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jan 28 18:40:35 2015 +0000

    Disable 64-bit atomics for MIPS n32.
    
    This patch disables use of 64-bit atomics for MIPS n32 to fix the
    problems with unaligned semaphores.
    
    Before 64-bit atomics are used for anything for which such alignment
    issues do not arise, and before the addition of any new ILP32 ports
    with 64-bit semaphores for which the ABI can be set to have the
    greater alignment (AARCH64?), a better approach will need to be
    established that allows architectures to declare their 64-bit atomics
    availability accurately, without doing so causing inappropriate use of
    such atomics on unaligned semaphores.
    
    Tested for MIPS n32 that this fixes the nptl/tst-sem3 failure.
    
    	* sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
    	(__HAVE_64B_ATOMICS): Define to 0.

diff --git a/ChangeLog b/ChangeLog
index 52f8c11..1a7d519 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
+	(__HAVE_64B_ATOMICS): Define to 0.
+
 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
 
 	[BZ #17885]
diff --git a/sysdeps/mips/bits/atomic.h b/sysdeps/mips/bits/atomic.h
index ddcb039..a391881 100644
--- a/sysdeps/mips/bits/atomic.h
+++ b/sysdeps/mips/bits/atomic.h
@@ -44,7 +44,7 @@ typedef uintmax_t uatomic_max_t;
 #define MIPS_PUSH_MIPS2
 #endif
 
-#if _MIPS_SIM == _ABIO32
+#if _MIPS_SIM == _ABIO32 || _MIPS_SIM == _ABIN32
 #define __HAVE_64B_ATOMICS 0
 #else
 #define __HAVE_64B_ATOMICS 1

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

Summary of changes:
 ChangeLog                  |    5 +++++
 sysdeps/mips/bits/atomic.h |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic