mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Fix TCG relocation bug (exposed by fault after brcond op). Add FIXME for
annother potential bug. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3968 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
41df841110
commit
2ba1eeb62c
3 changed files with 24 additions and 21 deletions
|
@ -187,8 +187,7 @@ int cpu_restore_state(TranslationBlock *tb,
|
|||
s->tb_jmp_offset = NULL;
|
||||
s->tb_next = tb->tb_next;
|
||||
#endif
|
||||
j = dyngen_code_search_pc(s, (uint8_t *)tc_ptr,
|
||||
(void *)searched_pc);
|
||||
j = dyngen_code_search_pc(s, searched_pc - tc_ptr);
|
||||
if (j < 0)
|
||||
return -1;
|
||||
/* now find start of instruction before */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue