qemu/tcg/i386
Peter Maydell 5c53bb8121 tcg: Avoid undefined behaviour patching code at unaligned addresses
To avoid C undefined behaviour when patching generated code,
provide wrappers tcg_patch8/16/32/64 which use the usual memcpy
trick, and use them in the i386 backend.

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>
2014-05-12 10:03:04 -07:00
..
tcg-target.c tcg: Avoid undefined behaviour patching code at unaligned addresses 2014-05-12 10:03:04 -07:00
tcg-target.h tcg: Add INDEX_op_trunc_shr_i32 2014-04-28 11:06:34 -07:00