diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-02 12:20:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-05 22:47:08 +0000 |
commit | e3a384578f677c05d812d99c2c92aa13670bd06a (patch) | |
tree | 256521c19b8ea3b4e216f508f4fef68eb651854e /meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb | |
parent | f5c071d93c9e6f57930bce56b1e4f009c160a826 (diff) | |
download | poky-e3a384578f677c05d812d99c2c92aa13670bd06a.tar.gz |
libatomics-ops: patch source code for x32
This Fixes bug: [YOCTO #1418]
Remove the `q' suffix on x86-64 atomic instructions.
We don't need the `q' suffix on x86_64 atomic instructions for AO_t,
which is defined as "unsigned long". "unsigned long" is 32bit for x32
and 64bit for x86-64. The register operand in x86-64 atomic instructions
is sufficient to properly determine the register size.
(From OE-Core rev: daaaeb1bd1467a2bed75722ce3ff35be970402e0)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb')
-rw-r--r-- | meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb b/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb index c84917a7b3..184c167fc0 100644 --- a/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb +++ b/meta/recipes-multimedia/pulseaudio/libatomics-ops_1.2.bb | |||
@@ -6,12 +6,13 @@ LICENSE = "GPLv2 & MIT" | |||
6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
7 | file://doc/LICENSING.txt;md5=607073e04548eac7d1f763e480477bab \ | 7 | file://doc/LICENSING.txt;md5=607073e04548eac7d1f763e480477bab \ |
8 | " | 8 | " |
9 | PR = "r7" | 9 | PR = "r8" |
10 | 10 | ||
11 | SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-${PV}.tar.gz \ | 11 | SRC_URI = "http://www.hpl.hp.com/research/linux/atomic_ops/download/libatomic_ops-${PV}.tar.gz \ |
12 | file://fedora/libatomic_ops-1.2-ppclwzfix.patch \ | 12 | file://fedora/libatomic_ops-1.2-ppclwzfix.patch \ |
13 | file://gentoo/libatomic_ops-1.2-mips.patch \ | 13 | file://gentoo/libatomic_ops-1.2-mips.patch \ |
14 | file://doublefix.patch" | 14 | file://doublefix.patch \ |
15 | file://libatomics-ops_fix_for_x32.patch" | ||
15 | 16 | ||
16 | SRC_URI[md5sum] = "1b65e48271c81e3fa2d7a9a69bab7504" | 17 | SRC_URI[md5sum] = "1b65e48271c81e3fa2d7a9a69bab7504" |
17 | SRC_URI[sha256sum] = "a3d8768aa8fd2f6ae79be2d756b3a6b48816b3889ae906be3d5ffb2de5a5c781" | 18 | SRC_URI[sha256sum] = "a3d8768aa8fd2f6ae79be2d756b3a6b48816b3889ae906be3d5ffb2de5a5c781" |