The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gmp / 0001-arm-asm-conditional-on-no-thumb-1.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/gmp/0001-arm-asm-conditional-on-no-thumb-1.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/gmp/0001-arm-asm-conditional-on-no-thumb-1.patch
new file mode 100644 (file)
index 0000000..eb678b0
--- /dev/null
@@ -0,0 +1,21 @@
+
+# HG changeset patch
+# User Torbjorn Granlund <tege@gmplib.org>
+# Date 1396035313 -3600
+# Node ID c56ea318eb6435bdd28dbfef657b2fe372134f1f
+# Parent  c6fe20ab62acc266ff5ad3629bef447bc43dcd1b
+Conditionalise ARM asm on !__thumb__.
+
+diff -r c6fe20ab62ac -r c56ea318eb64 mpn/generic/mod_1_1.c
+--- a/mpn/generic/mod_1_1.c    Wed Mar 26 12:58:33 2014 +0100
++++ b/mpn/generic/mod_1_1.c    Fri Mar 28 20:35:13 2014 +0100
+@@ -129,7 +129,7 @@
+            "%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC)
+ #endif
+-#if defined (__arm__) && W_TYPE_SIZE == 32
++#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
+ #define add_mssaaaa(m, sh, sl, ah, al, bh, bl)                                \
+   __asm__ (  "adds    %2, %5, %6\n\t"                                 \
+            "adcs      %1, %3, %4\n\t"                                 \
+