Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eqi9g-0003eh-AY for qemu-devel@nongnu.org; Sun, 25 Dec 2005 21:32:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eqi9e-0003dJ-OX for qemu-devel@nongnu.org; Sun, 25 Dec 2005 21:32:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqi9e-0003d8-Kk for qemu-devel@nongnu.org; Sun, 25 Dec 2005 21:32:06 -0500 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eqi9O-0001fb-NA for qemu-devel@nongnu.org; Sun, 25 Dec 2005 21:31:50 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Eqi8M-00032s-K7 for qemu-devel@nongnu.org; Mon, 26 Dec 2005 03:30:46 +0100 Received: from a84-231-2-208.elisa-laajakaista.fi ([84.231.2.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Dec 2005 03:30:46 +0100 Received: from ananaza by a84-231-2-208.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Dec 2005 03:30:46 +0100 From: Antti P Miettinen Date: Mon, 26 Dec 2005 04:30:33 +0200 Message-ID: References: <200512150000.07159.paul@codesourcery.com> <200512181651.02705.paul@codesourcery.com> <20051218172558.GA446@nevyn.them.org> <20051218.104216.28085930.imp@bsdimp.com> <20051218175430.GA1580@nevyn.them.org> <20051219165335.GA24866@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: news Subject: [Qemu-devel] Re: ARM page crossing inside insn? (Re: ARM ethernet fixes) Reply-To: ananaza@iki.fi, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Antti P Miettinen writes: > Something like this? Hmm.. I suppose the branch should be the last op to generate if PC is loaded by the ldm. So the possible gen_bx should be after the writeback? But what about the S bit? Or is this all highly academic? Does ldm ever load pc in practice? Anyway - I managed to rebuild firefox with debug info and found where it segfaulted. And with the below change it runs :-) diff -ur firefox-1.4.99+1.5rc3.dfsg/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp /usr/local/arm/sid/home/apm/src/firefox-1.4.99+1.5rc3.dfsg/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp --- firefox-1.4.99+1.5rc3.dfsg/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp 2005-10-14 00:33:10.000000000 +0300 +++ /usr/local/arm/sid/home/apm/src/firefox-1.4.99+1.5rc3.dfsg/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp 2005-12-25 15:15:46.000000000 +0200 @@ -212,7 +212,7 @@ "add sp, sp, r4 \n\t" /* restore stack pointer */ "mov %0, r0 \n\t" /* the result... */ : "=r" (result) - : "r" (&my_params) + : "r" (&my_params), "m" (my_params) : "r0", "r1", "r2", "r3", "r4", "ip", "lr", "sp" ); -- http://www.iki.fi/~ananaza/