r2250 - in glibc-package/trunk/debian: . patches patches/hppa
Author: aurel32
Date: 2007-05-20 01:40:29 +0000 (Sun, 20 May 2007)
New Revision: 2250
Added:
glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* debian/patches/hppa/submitted-atomic_h.diff: new patch to fix the
atomic CAS function on hppa. Closes: #424057.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2007-05-20 01:25:17 UTC (rev 2249)
+++ glibc-package/trunk/debian/changelog 2007-05-20 01:40:29 UTC (rev 2250)
@@ -14,9 +14,11 @@
(retain Depends alternative on linux-kernel-headers)
[ Aurelien Jarno ]
- * debian/local/etc_init.d/glibc.sh: fix a typo. Closes: #423870.
+ * debian/local/etc_init.d/glibc.sh: fix a typo. Closes: #423870.
+ * debian/patches/hppa/submitted-atomic_h.diff: new patch to fix the
+ atomic CAS function on hppa. Closes: #424057.
- -- Aurelien Jarno <aurel32@debian.org> Tue, 15 May 2007 14:27:59 +0200
+ -- Aurelien Jarno <aurel32@debian.org> Sun, 20 May 2007 03:36:59 +0200
glibc (2.5-7) unstable; urgency=low
Added: glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff
===================================================================
--- glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff (rev 0)
+++ glibc-package/trunk/debian/patches/hppa/submitted-atomic_h.diff 2007-05-20 01:40:29 UTC (rev 2250)
@@ -0,0 +1,16 @@
+2007-05-20 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: check for
+ -EAGAIN instead of EAGAIN.
+
+--- ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h.orig 2007-05-20 03:28:39.000000000 +0200
++++ ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h 2007-05-20 03:24:41.000000000 +0200
+@@ -56,7 +56,7 @@
+ #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 ASM_EAGAIN "-11"
++#define ASM_EAGAIN "11"
+
+ #if __ASSUME_LWS_CAS
+ /* The only basic operation needed is compare and exchange. */
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2007-05-20 01:25:17 UTC (rev 2249)
+++ glibc-package/trunk/debian/patches/series 2007-05-20 01:40:29 UTC (rev 2250)
@@ -51,6 +51,7 @@
arm/local-no-hwcap.diff -p0
hppa/cvs-hppa-update.diff -p0
+hppa/submitted-atomic_h.diff -p0
hppa/submitted-lt.diff -p0
hppa/submitted-nptl-carlos.diff -p0
hppa/submitted-nptl-carlos2.diff -p0
Reply to: