diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-31 12:03:58 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-07-31 12:03:58 +0100 |
| commit | e2182c5b04c8cb4479f921bb7e204c8f2fcb0ae9 (patch) | |
| tree | ef39386ff4bcef8883f0d3dc0b68ffd671c68443 /meta/packages/gmp/gmp-4.2.4/amd64.patch | |
| parent | aa5cf6c518ae6ce6000e62f43c44dd30f8c5b117 (diff) | |
| download | poky-e2182c5b04c8cb4479f921bb7e204c8f2fcb0ae9.tar.gz | |
gmp: 4.2.2 -> 4.2.4 (parts from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gmp/gmp-4.2.4/amd64.patch')
| -rw-r--r-- | meta/packages/gmp/gmp-4.2.4/amd64.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/gmp/gmp-4.2.4/amd64.patch b/meta/packages/gmp/gmp-4.2.4/amd64.patch new file mode 100644 index 0000000000..67be9dd350 --- /dev/null +++ b/meta/packages/gmp/gmp-4.2.4/amd64.patch | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | --- gmp-4.1.4/longlong.h.orig 2004-04-22 00:34:28.000000000 +0200 | ||
| 2 | +++ gmp-4.1.4/longlong.h 2005-07-18 01:13:06.000000000 +0200 | ||
| 3 | @@ -738,8 +738,10 @@ | ||
| 4 | count is only an int. */ | ||
| 5 | #define count_trailing_zeros(count, x) \ | ||
| 6 | do { \ | ||
| 7 | + UDItype __cbtmp; \ | ||
| 8 | ASSERT ((x) != 0); \ | ||
| 9 | - __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \ | ||
| 10 | + __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \ | ||
| 11 | + (count) = __cbtmp; \ | ||
| 12 | } while (0) | ||
| 13 | #endif /* x86_64 */ | ||
| 14 | |||
