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-566-gfa20da3


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  fa20da31c83b1b64f98f4bbb25ff9460c57af013 (commit)
       via  45819cbca186a7d04889e3d1fc469c2780b28a0e (commit)
       via  403cc231e64a4f0b3e7273404320883ca9267f0e (commit)
       via  24bb7432a7fe70c1fc607b60a389ce64aa903e0d (commit)
      from  9317ea653afc26402387cac67042f9890af6add2 (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=fa20da31c83b1b64f98f4bbb25ff9460c57af013

commit fa20da31c83b1b64f98f4bbb25ff9460c57af013
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sun Jan 25 22:31:29 2015 +0100

    ia64: avoid set-but-not-used warning

diff --git a/ChangeLog b/ChangeLog
index 57f9f99..588b9ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
+	Mark _retval as used.
+	(lll_futex_wake_unlock): Likewise.
+	(lll_futex_timed_wait_requeue_pi): Likewise.
+
 	* sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
 	(atomic_compare_and_exchange_val_acq): Use uint32_t for the
 	register variables.
diff --git a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
index 19a06a2..90d4cf3 100644
--- a/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/ia64/lowlevellock.h
@@ -117,6 +117,7 @@
 		     __lll_private_flag (FUTEX_CMP_REQUEUE, private),	     \
 		     (int) (nr_wake), (int) (nr_move), (long) (mutex),	     \
 		     (int) val);					     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -127,6 +128,7 @@
 		     __lll_private_flag (FUTEX_WAKE_OP, private),	     \
 		     (int) (nr_wake), (int) (nr_wake2), (long) (ftx2),	     \
 		     FUTEX_OP_CLEAR_WAKE_IF_GT_ONE);			     \
+   (void) _retval;							     \
    _r10 == -1;								     \
 })
 
@@ -142,6 +144,7 @@
    DO_INLINE_SYSCALL(futex, 5, (long) (futexp),				      \
 		     __lll_private_flag (__op, private),		      \
 		     (val), (timespec), mutex); 			      \
+   (void) _retval;							     \
    _r10 == -1;								      \
 })
 

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=45819cbca186a7d04889e3d1fc469c2780b28a0e

commit 45819cbca186a7d04889e3d1fc469c2780b28a0e
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sun Jan 25 22:09:05 2015 +0100

    m68k/coldfire: avoid warning about volatile register variables

diff --git a/ChangeLog b/ChangeLog
index dcab5e0..57f9f99 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
+	(atomic_compare_and_exchange_val_acq): Use uint32_t for the
+	register variables.
+
 	* sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
 	libm_hidden_def.
 
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h b/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
index 8454a8c..6e069ed 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
@@ -50,9 +50,9 @@ typedef uintmax_t uatomic_max_t;
     __typeof (mem) _mem = mem;						\
     __typeof (oldval) _oldval = oldval;					\
     __typeof (newval) _newval = newval;					\
-    register __typeof (mem) _a0 asm ("a0") = _mem;			\
-    register __typeof (oldval) _d0 asm ("d0") = _oldval;		\
-    register __typeof (newval) _d1 asm ("d1") = _newval;		\
+    register uint32_t *_a0 asm ("a0") = (uint32_t *) _mem;		\
+    register uint32_t _d0 asm ("d0") = (uint32_t) _oldval;		\
+    register uint32_t _d1 asm ("d1") = (uint32_t) _newval;		\
     void *tmp;								\
 									\
     asm ("movel #_GLOBAL_OFFSET_TABLE_@GOTPC, %2\n\t"			\
@@ -63,7 +63,7 @@ typedef uintmax_t uatomic_max_t;
 	 "jsr (%2)\n\t"							\
 	 : "+d" (_d0), "+m" (*_a0), "=&a" (tmp)				\
 	 : "a" (_a0), "d" (_d1));					\
-    _d0;								\
+    (__typeof (oldval)) _d0;						\
   })
 #else
 # define atomic_compare_and_exchange_val_acq(mem, newval, oldval)	\
@@ -73,16 +73,15 @@ typedef uintmax_t uatomic_max_t;
     __typeof (mem) _mem = mem;						\
     __typeof (oldval) _oldval = oldval;					\
     __typeof (newval) _newval = newval;					\
-    register __typeof (oldval) _d0 asm ("d0")				\
-      = (__typeof (oldval)) SYS_ify (atomic_cmpxchg_32);		\
-    register __typeof (mem) _a0 asm ("a0") = _mem;			\
-    register __typeof (oldval) _d2 asm ("d2") = _oldval;		\
-    register __typeof (newval) _d1 asm ("d1") = _newval;		\
+    register uint32_t _d0 asm ("d0") = SYS_ify (atomic_cmpxchg_32);	\
+    register uint32_t *_a0 asm ("a0") = (uint32_t *) _mem;		\
+    register uint32_t _d2 asm ("d2") = (uint32_t) _oldval;		\
+    register uint32_t _d1 asm ("d1") = (uint32_t) _newval;		\
 									\
     asm ("trap #0"							\
 	 : "+d" (_d0), "+m" (*_a0)					\
 	 : "a" (_a0), "d" (_d2), "d" (_d1));				\
-    _d0;								\
+    (__typeof (oldval)) _d0;						\
   })
 #endif
 

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=403cc231e64a4f0b3e7273404320883ca9267f0e

commit 403cc231e64a4f0b3e7273404320883ca9267f0e
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sun Jan 25 11:49:50 2015 +0100

    m68k: fix missing definition of __feraiseexcept

diff --git a/ChangeLog b/ChangeLog
index 3af3543..dcab5e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
+	libm_hidden_def.
+
 	* sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
 	(__bswap_64): Mark as __always_inline.
 
diff --git a/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c b/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
index 61f4fc6..3661c95 100644
--- a/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
+++ b/sysdeps/m68k/m680x0/fpu/fraiseexcpt.c
@@ -78,5 +78,6 @@ strong_alias (__feraiseexcept, __old_feraiseexcept)
 compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1);
 #endif
 
+libm_hidden_def (__feraiseexcept)
 libm_hidden_ver (__feraiseexcept, feraiseexcept)
 versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2);

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=24bb7432a7fe70c1fc607b60a389ce64aa903e0d

commit 24bb7432a7fe70c1fc607b60a389ce64aa903e0d
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sun Jan 25 10:08:04 2015 +0100

    m68k: force inlining bswap functions

diff --git a/ChangeLog b/ChangeLog
index 951aa27..3af3543 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
+	(__bswap_64): Mark as __always_inline.
+
 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
 
 	[BZ #15378]
diff --git a/sysdeps/m68k/bits/byteswap.h b/sysdeps/m68k/bits/byteswap.h
index 1e0b047..a8deeaa 100644
--- a/sysdeps/m68k/bits/byteswap.h
+++ b/sysdeps/m68k/bits/byteswap.h
@@ -29,7 +29,7 @@
 #define __bswap_constant_16(x) \
   ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8))
 
-static __inline unsigned short int
+static __always_inline unsigned short int
 __bswap_16 (unsigned short int __bsx)
 {
   return __bswap_constant_16 (__bsx);
@@ -41,7 +41,7 @@ __bswap_16 (unsigned short int __bsx)
    (((x) & 0x0000ff00u) <<  8) | (((x) & 0x000000ffu) << 24))
 
 #if !defined(__mcoldfire__)
-static __inline unsigned int
+static __always_inline unsigned int
 __bswap_32 (unsigned int __bsx)
 {
   if (__builtin_constant_p (__bsx))
@@ -53,7 +53,7 @@ __bswap_32 (unsigned int __bsx)
   return __bsx;
 }
 #else
-static __inline unsigned int
+static __always_inline unsigned int
 __bswap_32 (unsigned int __bsx)
 {
   return __bswap_constant_32 (__bsx);
@@ -75,7 +75,7 @@ __bswap_32 (unsigned int __bsx)
 
 /* Swap bytes in 64 bit value.  */
 __extension__
-static __inline unsigned long long
+static __always_inline unsigned long long
 __bswap_64 (unsigned long long __bsx)
 {
   if (__builtin_constant_p (__bsx))

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

Summary of changes:
 ChangeLog                                          |   17 +++++++++++++++++
 sysdeps/m68k/bits/byteswap.h                       |    8 ++++----
 sysdeps/m68k/m680x0/fpu/fraiseexcpt.c              |    1 +
 sysdeps/unix/sysv/linux/ia64/lowlevellock.h        |    3 +++
 .../unix/sysv/linux/m68k/coldfire/bits/atomic.h    |   19 +++++++++----------
 5 files changed, 34 insertions(+), 14 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]