summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp-6.1.1/amd64.patch
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-07-06 18:37:03 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-12 23:10:03 +0100
commit55fea8ead3ebef7e28a982a7721bc0ec42b5ca86 (patch)
tree0ae65b2370a3399023d8baeaa170c0017435d3a1 /meta/recipes-support/gmp/gmp-6.1.1/amd64.patch
parent3feb1b000482f31e2cc683c2944059d70197fa44 (diff)
downloadopenembedded-core-contrib-55fea8ead3ebef7e28a982a7721bc0ec42b5ca86.tar.gz
gmp: 6.1.0 -> 6.1.1
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/gmp/gmp-6.1.1/amd64.patch')
-rw-r--r--meta/recipes-support/gmp/gmp-6.1.1/amd64.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.1.1/amd64.patch b/meta/recipes-support/gmp/gmp-6.1.1/amd64.patch
new file mode 100644
index 0000000000..564d12d42b
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-6.1.1/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 */
+