From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bh6im-0004W1-CO for qemu-devel@nongnu.org; Sun, 04 Jul 2004 09:07:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bh6ik-0004Vp-TL for qemu-devel@nongnu.org; Sun, 04 Jul 2004 09:07:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bh6ik-0004Vm-PY for qemu-devel@nongnu.org; Sun, 04 Jul 2004 09:07:50 -0400 Received: from [193.252.22.30] (helo=mwinf0102.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bh6gf-00043Y-R3 for qemu-devel@nongnu.org; Sun, 04 Jul 2004 09:05:42 -0400 Received: from bellard.org (AMontpellier-103-1-14-178.w81-250.abo.wanadoo.fr [81.250.48.178]) by mwinf0102.wanadoo.fr (SMTP Server) with ESMTP id 13ECC1BE7B38 for ; Sun, 4 Jul 2004 15:05:41 +0200 (CEST) Message-ID: <40E8021C.6080100@bellard.org> Date: Sun, 04 Jul 2004 15:11:56 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] ARM in big endian mode? References: <20040703160324.GD8894@xi.wantstofly.org> <1088940620.840.1.camel@sherbert> In-Reply-To: <1088940620.840.1.camel@sherbert> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: 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 Gianni Tedesco wrote: > On Sat, 2004-07-03 at 18:03 +0200, Lennert Buytenhek wrote: > >>Hi, >> >>For a project I'm working on, I would love to be able to simulate an >>ARM in big endian mode (such as the intel xscale core). If I try to >>run an MSB executable on qemu current, I just get this: >> >># file init >>init: ELF 32-bit MSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.3, statically linked, stripped >># qemu-arm ./init >>Error loading ./init >># >> >>Would it be a lot of effort to add this? > > > Compile with TARGET_WORDS_BIGENDIAN 1 ought to do it. There may be some problems left with the floats. But basically it should work. Send me a statically linked executable so that I can test. Fabrice.