[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2904 - in glibc-package/trunk/debian: . patches patches/hppa



Author: aurel32
Date: 2008-04-05 11:55:20 +0000 (Sat, 05 Apr 2008)
New Revision: 2904

Added:
   glibc-package/trunk/debian/patches/hppa/cvs-atomic.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hppa/cvs-atomic.diff: new patch from upstream to fix atomic
    locks witch gcc-4.3.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2008-04-02 13:52:58 UTC (rev 2903)
+++ glibc-package/trunk/debian/changelog	2008-04-05 11:55:20 UTC (rev 2904)
@@ -8,13 +8,15 @@
   * local/manpages/ld.so.8: fix libraries search order.  Closes: #473458.
   * Update Finish debconf translation, by Esko Arajärvi.  Closes: #473802.
   * Replace patches/mips/submitted-mipsn32.diff by the version merged
-    upstream.    
+    upstream.
+  * patches/hppa/cvs-atomic.diff: new patch from upstream to fix atomic
+    locks witch gcc-4.3.
 
   [ Pierre Habouzit ]
   * Add any/cvs-strerror_r.diff to make strerror_r actually thread safe.
     Closes: #456531.
 
- -- Aurelien Jarno <aurel32@debian.org>  Wed, 02 Apr 2008 15:11:06 +0200
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 04 Apr 2008 21:44:57 +0200
 
 glibc (2.7-10) unstable; urgency=low
 

Added: glibc-package/trunk/debian/patches/hppa/cvs-atomic.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/cvs-atomic.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/hppa/cvs-atomic.diff	2008-04-05 11:55:20 UTC (rev 2904)
@@ -0,0 +1,32 @@
+2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
+	memory contraint and instead indicate that *mem is
+	written to.
+
+Index: ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h
+===================================================================
+RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -d -p -r1.3 -r1.4
+--- ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h	3 Dec 2006 23:03:20 -0000	1.3
++++ ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h	4 Apr 2008 18:57:47 -0000	1.4
+@@ -55,7 +55,7 @@ typedef uintmax_t uatomic_max_t;
+ #define LWS "0xb0"
+ #define LWS_CAS "0"
+ /* Note r31 is the link register */
+-#define LWS_CLOBBER "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory"
++#define LWS_CLOBBER "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31"
+ #define ASM_EAGAIN "11" 
+ 
+ #if __ASSUME_LWS_CAS
+@@ -76,7 +76,7 @@ typedef uintmax_t uatomic_max_t;
+ 	"stw	%%r28, %0			\n\t"			\
+         "sub	%%r0, %%r21, %%r21		\n\t"			\
+ 	"stw	%%r21, %1			\n\t"			\
+-	: "=m" (lws_ret), "=m" (lws_errno), "=m" (*mem)			\
++	: "=m" (lws_ret), "=m" (lws_errno), "+m" (*mem)			\
+         : "r" (mem), "r" (oldval), "r" (newval)				\
+ 	: LWS_CLOBBER							\
+      );									\

Modified: glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff	2008-04-02 13:52:58 UTC (rev 2903)
+++ glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff	2008-04-05 11:55:20 UTC (rev 2904)
@@ -1,4 +1,4 @@
-2007-05-22  Aurelien Jarno  <aurelien@aurel32.net>
+2008-04-03  Aurelien Jarno  <aurelien@aurel32.net>
 
 	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: check for -11 
 	(-EAGAIN) instead of 11. Loop again when the kernel returns
@@ -10,7 +10,7 @@
 @@ -56,10 +56,14 @@
  #define LWS_CAS "0"
  /* Note r31 is the link register */
- #define LWS_CLOBBER "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory"
+ #define LWS_CLOBBER "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31"
 -#define ASM_EAGAIN "11" 
  
  #if __ASSUME_LWS_CAS

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2008-04-02 13:52:58 UTC (rev 2903)
+++ glibc-package/trunk/debian/patches/series	2008-04-05 11:55:20 UTC (rev 2904)
@@ -62,6 +62,7 @@
 arm/local-no-hwcap.diff -p0
 arm/submitted-RTLD_SINGLE_THREAD_P.diff -p0
 
+hppa/cvs-atomic_h.diff -p0
 hppa/submitted-atomic_h.diff -p0
 hppa/submitted-fadvise64_64.diff -p0
 hppa/submitted-lt.diff -p0


Reply to: