Author: waldi
Date: Sun May 20 12:18:46 2007
New Revision: 8616

Log:
* debian/patches/bugfix/powerpc/libgcc-__ucmpdi2.patch: Add.
* debian/patches/series/1~experimental.1: Update.


Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/powerpc/libgcc-__ucmpdi2.patch
Modified:
   dists/trunk/linux-2.6/debian/patches/series/1~experimental.1

Added: 
dists/trunk/linux-2.6/debian/patches/bugfix/powerpc/libgcc-__ucmpdi2.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/powerpc/libgcc-__ucmpdi2.patch  
Sun May 20 12:18:46 2007
@@ -0,0 +1,44 @@
+--- linux-2.6.19.ppc/arch/powerpc/kernel/misc_32.S~    2006-11-29 
21:57:37.000000000 +0000
++++ linux-2.6.19.ppc/arch/powerpc/kernel/misc_32.S     2006-12-17 
12:19:48.000000000 +0000
+@@ -728,6 +728,27 @@ _GLOBAL(__lshrdi3)
+       or      r4,r4,r7        # LSW |= t2
+       blr
+ 
++/*
++ * __ucmpdi2: 64-bit comparison
++ *
++ * R3/R4 has 64 bit value A
++ * R5/R6 has 64 bit value B
++ * result in R3: 0 for A < B
++ *             1 for A == B
++ *             2 for A > B
++ */
++_GLOBAL(__ucmpdi2)
++      cmplw   r7,r3,r5        # compare high words
++      li      r3,0
++      blt     r7,2f           # a < b ... return 0
++      bgt     r7,1f           # a > b ... return 2
++      cmplw   r6,r4,r6        # compare low words
++      blt     r6,2f           # a < b ... return 0
++      li      r3,1
++      ble     r6,2f           # a = b ... return 1
++1:    li      r3,2
++2:    blr
++
+ _GLOBAL(abs)
+       srawi   r4,r3,31
+       xor     r3,r3,r4
+--- linux-2.6.19.ppc/arch/powerpc/kernel/ppc_ksyms.c~  2006-12-15 
17:19:56.000000000 +0000
++++ linux-2.6.19.ppc/arch/powerpc/kernel/ppc_ksyms.c   2006-12-17 
12:16:54.000000000 +0000
+@@ -161,9 +161,11 @@ EXPORT_SYMBOL(to_tm);
+ long long __ashrdi3(long long, int);
+ long long __ashldi3(long long, int);
+ long long __lshrdi3(long long, int);
++int __ucmpdi2(uint64_t, uint64_t);
+ EXPORT_SYMBOL(__ashrdi3);
+ EXPORT_SYMBOL(__ashldi3);
+ EXPORT_SYMBOL(__lshrdi3);
++EXPORT_SYMBOL(__ucmpdi2);
+ #endif
+ 
+ EXPORT_SYMBOL(memcpy);

Modified: dists/trunk/linux-2.6/debian/patches/series/1~experimental.1
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/1~experimental.1        
(original)
+++ dists/trunk/linux-2.6/debian/patches/series/1~experimental.1        Sun May 
20 12:18:46 2007
@@ -38,3 +38,4 @@
 + bugfix/ia64/hardcode-arch-script-output.patch
 + features/fintek-f75375.patch
 + features/alpha/isa-mapping-support.patch
++ bugfix/powerpc/libgcc-__ucmpdi2.patch 

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to