|
From: | Fabrice Bellard |
Subject: | Re: [Qemu-devel] Patch to fix Mac OS X compilation |
Date: | Mon, 21 Feb 2005 21:27:08 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
Jonas Maebe wrote:
At address 0x743ac, the branch to __op_gen_label1 gets patched so it points to the basic block coming after the loopzw. In that case, LR does not get restored (it was destroyed at 0x74394 by the bctrl), so the next blr which gets executed returns to 0x74398. This causes an endless loop, obviously.This does not seem to be Mac OS X-specific at all, and should also happen under Linux/ppc I think.
I just made a fix. Tell me if you see other problems... Fabrice.
[Prev in Thread] | Current Thread | [Next in Thread] |