diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-02 12:20:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-05 22:47:07 +0000 |
commit | f5c071d93c9e6f57930bce56b1e4f009c160a826 (patch) | |
tree | 2557660cb831eaf66826ebadab857331a7d6a7bb /meta/recipes-extended/libaio/libaio_0.3.109.bb | |
parent | a3cd4f5ee490d50d0e1c28cdb2c23ef95361b1d1 (diff) | |
download | poky-f5c071d93c9e6f57930bce56b1e4f009c160a826.tar.gz |
libaio: patch source code for x32
This Fixes bug: [YOCTO #1417]
Properly load arguments 5 an 6 for x86-64 syscall
Use asm ("r10") and asm ("r8") to load arguments 5 an 6 for x86-64
syscall so that it works with both x32 and x86-64.
(From OE-Core rev: 207e86ba12c15937845ace66206566cd11dac994)
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-extended/libaio/libaio_0.3.109.bb')
-rw-r--r-- | meta/recipes-extended/libaio/libaio_0.3.109.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/libaio/libaio_0.3.109.bb b/meta/recipes-extended/libaio/libaio_0.3.109.bb index 869b2da002..161b712a48 100644 --- a/meta/recipes-extended/libaio/libaio_0.3.109.bb +++ b/meta/recipes-extended/libaio/libaio_0.3.109.bb | |||
@@ -5,12 +5,13 @@ HOMEPAGE = "http://lse.sourceforge.net/io/aio.html" | |||
5 | LICENSE = "LGPLv2.1+" | 5 | LICENSE = "LGPLv2.1+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" |
7 | 7 | ||
8 | PR = "r0" | 8 | PR = "r1" |
9 | 9 | ||
10 | SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ | 10 | SRC_URI = "${DEBIAN_MIRROR}/main/liba/libaio/libaio_${PV}.orig.tar.gz \ |
11 | file://00_arches.patch \ | 11 | file://00_arches.patch \ |
12 | file://toolchain.patch \ | 12 | file://toolchain.patch \ |
13 | file://destdir.patch" | 13 | file://destdir.patch \ |
14 | file://libaio_fix_for_x32.patch" | ||
14 | 15 | ||
15 | SRC_URI[md5sum] = "435a5b16ca6198eaf01155263d855756" | 16 | SRC_URI[md5sum] = "435a5b16ca6198eaf01155263d855756" |
16 | SRC_URI[sha256sum] = "bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288c8778d" | 17 | SRC_URI[sha256sum] = "bf4a457253cbaab215aea75cb6e18dc8d95bbd507e9920661ff9bdd288c8778d" |