aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp-6.1.2/amd64.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-02-13 10:00:12 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:29:13 -0800
commitba962c8cd4f39f72028662db4cb8505befe64206 (patch)
tree7c0934299a034d47b49d91f4f6ce1a6014d2043b /meta/recipes-support/gmp/gmp-6.1.2/amd64.patch
parent3393364d1b365226d15042f20f0e6c56a439225b (diff)
downloadopenembedded-core-contrib-ba962c8cd4f39f72028662db4cb8505befe64206.tar.gz
gmp: Update to 6.1.2
(From OE-Core rev: a341bc666c6d25741bbe879ccf0ade8da6ba4373) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gmp/gmp-6.1.2/amd64.patch')
-rw-r--r--meta/recipes-support/gmp/gmp-6.1.2/amd64.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.1.2/amd64.patch b/meta/recipes-support/gmp/gmp-6.1.2/amd64.patch
new file mode 100644
index 0000000000..564d12d42b
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-6.1.2/amd64.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Pending
+
+Index: gmp-5.0.3/longlong.h
+===================================================================
+--- gmp-5.0.3.orig/longlong.h
++++ gmp-5.0.3/longlong.h
+@@ -994,8 +994,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO (
+ count is only an int. */
+ #define count_trailing_zeros(count, x) \
+ do { \
++ UDItype __cbtmp; \
+ ASSERT ((x) != 0); \
+- __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \
++ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \
++ (count) = __cbtmp; \
+ } while (0)
+ #endif /* x86_64 */
+