summaryrefslogtreecommitdiff
path: root/data/gcrypt/armasm.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/gcrypt/armasm.diff')
-rw-r--r--data/gcrypt/armasm.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/gcrypt/armasm.diff b/data/gcrypt/armasm.diff
new file mode 100644
index 000000000..662ee656b
--- /dev/null
+++ b/data/gcrypt/armasm.diff
@@ -0,0 +1,14 @@
+diff -r -u libgcrypt-1.4.0/mpi/longlong.h libgcrypt-1.4.0+iPhone/mpi/longlong.h
+--- libgcrypt-1.4.0/mpi/longlong.h 2005-07-29 13:31:17.000000000 +0000
++++ libgcrypt-1.4.0+iPhone/mpi/longlong.h 2008-01-01 11:09:27.000000000 +0000
+@@ -225,8 +225,8 @@
+ : "r0", "r1", "r2")
+ #else
+ #define umul_ppmm(xh, xl, a, b) \
+- __asm__ ("%@ Inlined umul_ppmm\n" \
+- "umull %r1, %r0, %r2, %r3" \
++ __asm__ ("@ Inlined umul_ppmm\n" \
++ "umull %1, %0, %2, %3" \
+ : "=&r" ((USItype)(xh)), \
+ "=r" ((USItype)(xl)) \
+ : "r" ((USItype)(a)), \