summaryrefslogtreecommitdiff
path: root/packages/gnupg/gnupg-1.4.2.2
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-10-27 13:17:37 +0000
committerPhil Blundell <philb@gnu.org>2008-10-27 13:17:37 +0000
commit468cefb618f191a1d7a2ef778955553996a4afb5 (patch)
treec022803b75b03b90acfe81058bfb476e4bfb34bb /packages/gnupg/gnupg-1.4.2.2
parentacd8a62be2cd8508415abc926bc3a2658b2b30df (diff)
gnupg: disable eleet asm in mpi when compiling for thumb.
Diffstat (limited to 'packages/gnupg/gnupg-1.4.2.2')
-rw-r--r--packages/gnupg/gnupg-1.4.2.2/long-long-thumb.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/gnupg/gnupg-1.4.2.2/long-long-thumb.patch b/packages/gnupg/gnupg-1.4.2.2/long-long-thumb.patch
new file mode 100644
index 0000000000..36e9992772
--- /dev/null
+++ b/packages/gnupg/gnupg-1.4.2.2/long-long-thumb.patch
@@ -0,0 +1,11 @@
+--- gnupg/mpi/longlong.h~ 2006-02-14 10:09:55.000000000 +0000
++++ gnupg/mpi/longlong.h 2008-10-27 13:11:09.000000000 +0000
+@@ -181,7 +181,7 @@
+ /***************************************
+ ************** ARM ******************
+ ***************************************/
+-#if defined (__arm__) && W_TYPE_SIZE == 32
++#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined(__thumb__)
+ #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
+ __asm__ ("adds %1, %4, %5\n" \
+ "adc %0, %2, %3" \