diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-30 16:24:18 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-30 16:24:18 +0000 |
commit | 57d9d26d8546c7182eeab06a1539238f10178c97 (patch) | |
tree | dfb00cc40a2287800c3765f477f312de6fc037ad /meta/packages/gmp/gmp-4.2.2/amd64.patch | |
parent | b4ebeec27eb79ecc6bf3c2058b52c1942ae36188 (diff) | |
download | openembedded-core-57d9d26d8546c7182eeab06a1539238f10178c97.tar.gz openembedded-core-57d9d26d8546c7182eeab06a1539238f10178c97.tar.bz2 openembedded-core-57d9d26d8546c7182eeab06a1539238f10178c97.tar.xz openembedded-core-57d9d26d8546c7182eeab06a1539238f10178c97.zip |
gmp: 4.2.1 -> 4.2.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4376 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gmp/gmp-4.2.2/amd64.patch')
-rw-r--r-- | meta/packages/gmp/gmp-4.2.2/amd64.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/gmp/gmp-4.2.2/amd64.patch b/meta/packages/gmp/gmp-4.2.2/amd64.patch new file mode 100644 index 000000000..67be9dd35 --- /dev/null +++ b/meta/packages/gmp/gmp-4.2.2/amd64.patch @@ -0,0 +1,14 @@ +--- gmp-4.1.4/longlong.h.orig 2004-04-22 00:34:28.000000000 +0200 ++++ gmp-4.1.4/longlong.h 2005-07-18 01:13:06.000000000 +0200 +@@ -738,8 +738,10 @@ + 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 */ + |