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

r3969 - in glibc-package/trunk/debian: . patches patches/sh4



Author: aurel32
Date: 2009-11-13 09:27:09 +0000 (Fri, 13 Nov 2009)
New Revision: 3969

Added:
   glibc-package/trunk/debian/patches/sh4/cvs-mixed-arithmetic.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/sh4/cvs-mixed-arithmetic.diff: new patch from upstream to fix
    build timeout on SH4.  Closes: #552407.



Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2009-11-13 06:48:38 UTC (rev 3968)
+++ glibc-package/trunk/debian/changelog	2009-11-13 09:27:09 UTC (rev 3969)
@@ -1,3 +1,10 @@
+eglibc (2.10.1-8) UNRELEASED; urgency=low
+
+  * patches/sh4/cvs-mixed-arithmetic.diff: new patch from upstream to fix
+    build timeout on SH4.  Closes: #552407.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Fri, 13 Nov 2009 10:26:31 +0100
+
 eglibc (2.10.1-7) unstable; urgency=low
 
   * patches/all/local-ldd.diff: new patch to handle the case where ld.so is

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2009-11-13 06:48:38 UTC (rev 3968)
+++ glibc-package/trunk/debian/patches/series	2009-11-13 09:27:09 UTC (rev 3969)
@@ -137,6 +137,7 @@
 s390/submitted-siginfo.diff
 
 sh4/local-fpscr_values.diff
+sh4/cvs-mixed-arithmetic.diff
 
 sparc/local-fork.diff
 sparc/local-sparcv9-target.diff

Added: glibc-package/trunk/debian/patches/sh4/cvs-mixed-arithmetic.diff
===================================================================
--- glibc-package/trunk/debian/patches/sh4/cvs-mixed-arithmetic.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/sh4/cvs-mixed-arithmetic.diff	2009-11-13 09:27:09 UTC (rev 3969)
@@ -0,0 +1,36 @@
+2009-08-10  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
+
+	* stdlib/longlong.h [__sh__] (udiv_qrnnd, sub_ddmmss): Add "t" to
+	clobber list.
+
+diff --git a/stdlib/longlong.h b/stdlib/longlong.h
+index a2f38ae..e7d6099 100644
+--- a/stdlib/longlong.h
++++ b/stdlib/longlong.h
+@@ -1,6 +1,6 @@
+ /* longlong.h -- definitions for mixed size 32/64 bit arithmetic.
+    Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+-   2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
++   2002, 2003, 2004, 2005, 2006, 2009 Free Software Foundation, Inc.
+ 
+    This file is part of the GNU C Library.
+ 
+@@ -918,7 +918,7 @@ UDItype __umulsidi3 (USItype, USItype);
+ "	or r1,%0"							\
+ 	: "=r" (q), "=&z" (r)						\
+ 	: "1" (n1), "r" (n0), "rm" (d), "r" (&__udiv_qrnnd_16)		\
+-	: "r1", "r2", "r4", "r5", "r6", "pr");				\
++	: "r1", "r2", "r4", "r5", "r6", "pr", "t");			\
+   } while (0)
+ 
+ #define UDIV_TIME 80
+@@ -926,7 +926,8 @@ UDItype __umulsidi3 (USItype, USItype);
+ #define sub_ddmmss(sh, sl, ah, al, bh, bl)				\
+   __asm__ ("clrt;subc %5,%1; subc %4,%0"				\
+ 	   : "=r" (sh), "=r" (sl)					\
+-	   : "0" (ah), "1" (al), "r" (bh), "r" (bl))
++	   : "0" (ah), "1" (al), "r" (bh), "r" (bl)			\
++	   : "t")
+ 
+ #endif /* __sh__ */
+ 


Reply to: