commit | 4387345a962284c77435a9644d528d2356adecc5 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Mar 28 15:29:47 2014 +0000 |
committer | Richard Henderson <rth@twiddle.net> | Mon May 12 10:03:04 2014 -0700 |
tree | 7f87db3e24c4a169ad573472dd9413cf88ed1a5a | |
parent | 86360ad71df0070283469b8ae59f33cdd013501d [diff] |
tcg: Avoid stores to unaligned addresses Avoid stores to unaligned addresses in TCG code generation, by using the usual memcpy() approach. (Using bswap.h would drag a lot of QEMU baggage into TCG, so it's simpler just to do direct memcpy() here.) Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>