]> code.ossystems Code Review - openembedded-core.git/commit
mtd-utils: Fix alignment trap triggered by NEON instructions
authorYuanjie Huang <Yuanjie.Huang@windriver.com>
Wed, 22 Oct 2014 08:47:57 +0000 (04:47 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:05 +0000 (10:17 +0000)
commitbb3606e8312bf339bb888cd5b0bc7e6190e971f7
tree2832249afc9d700ae413b8ebe1aa92a823ab4f19
parent7e4e2301d95f897e2f91b1c37b56dbd190841acb
mtd-utils: Fix alignment trap triggered by NEON instructions

NEON instruction VLD1.64 was used to copy 64 bits data after type
casting, and they will trigger alignment trap.
This patch uses memcpy to avoid alignment problem.

(From OE-Core rev: a31080021ad3ecfb92220dcb8c717928db268f1e)

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/mtd/mtd-utils/fix-armv7-neon-alignment.patch [new file with mode: 0644]
meta/recipes-devtools/mtd/mtd-utils_git.bb