unicorn/qemu/target/m68k
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
..
cpu-qom.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu.c qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
cpu.h target/m68k: fix set_cc_op() 2018-03-05 14:44:38 -05:00
fpu_helper.c target/m68k: Switch fpu_rom from make_floatx80() to make_floatx80_init() 2018-03-04 23:05:01 -05:00
helper.c target-m68k: move FPU helpers to fpu_helper.c 2018-03-03 15:04:05 -05:00
helper.h target/m68k: add fmovem 2018-03-03 21:05:56 -05:00
Makefile.objs target-m68k: move FPU helpers to fpu_helper.c 2018-03-03 15:04:05 -05:00
op_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
qregs.def target-m68k: use floatx80 internally 2018-03-03 19:35:17 -05:00
translate.c target/m68k: fix set_cc_op() 2018-03-05 14:44:38 -05:00
unicorn.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00