unicorn/qemu/target
Laurent Vivier 4db1e153ae
target/m68k: fix set_cc_op()
The first call of set_cc_op() in a new translation sequence
is done with old_op set to CC_OP_DYNAMIC (-1).

This will do an out of bound access to the array cc_op_live[].

We fix that by adding an entry in cc_op_live[] for CC_OP_DYNAMIC.

Backports commit 7deddf96e94f3e1eb3677db0ea7b53e61751b544 from qemu
2018-03-05 14:44:38 -05:00
..
arm cpu: refactor cpu_address_space_init() 2018-03-05 14:39:25 -05:00
i386 cpu: refactor cpu_address_space_init() 2018-03-05 14:39:25 -05:00
m68k target/m68k: fix set_cc_op() 2018-03-05 14:44:38 -05:00
mips qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
sparc qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00