diff options
| author | Peter Maydell | 2014-03-28 16:29:47 +0100 |
|---|---|---|
| committer | Richard Henderson | 2014-05-12 19:03:04 +0200 |
| commit | 4387345a962284c77435a9644d528d2356adecc5 (patch) | |
| tree | 7f87db3e24c4a169ad573472dd9413cf88ed1a5a /include/exec | |
| parent | exec-all.h: Use stl_p to avoid undefined behaviour patching x86 jumps (diff) | |
| download | qemu-4387345a962284c77435a9644d528d2356adecc5.tar.gz qemu-4387345a962284c77435a9644d528d2356adecc5.tar.xz qemu-4387345a962284c77435a9644d528d2356adecc5.zip | |
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
