]> 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>
Tue, 4 Nov 2014 10:19:53 +0000 (10:19 +0000)
commita31080021ad3ecfb92220dcb8c717928db268f1e
tree2d164c1d459dbbd4716a620add2a9e3471a88c8e
parent9f2398a0ff42389052155d971f136a37c5dc80da
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.

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>
meta/recipes-devtools/mtd/mtd-utils/fix-armv7-neon-alignment.patch [new file with mode: 0644]
meta/recipes-devtools/mtd/mtd-utils_git.bb