Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cg4SS-0001M7-7Q for qemu-devel@nongnu.org; Sun, 19 Dec 2004 12:03:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cg4SQ-0001L7-MJ for qemu-devel@nongnu.org; Sun, 19 Dec 2004 12:02:59 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cg4SQ-0001Ko-Gt for qemu-devel@nongnu.org; Sun, 19 Dec 2004 12:02:58 -0500 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cg4Hg-0007f0-KX for qemu-devel@nongnu.org; Sun, 19 Dec 2004 11:51:52 -0500 Date: Sun, 19 Dec 2004 17:51:51 +0100 From: Lennert Buytenhek Message-ID: <20041219165151.GA11006@xi.wantstofly.org> References: <20041219164028.GA10631@xi.wantstofly.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041219164028.GA10631@xi.wantstofly.org> Subject: [Qemu-devel] Re: [PATCH] also build big-endian version of qemu-arm 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 On Sun, Dec 19, 2004 at 05:40:28PM +0100, Lennert Buytenhek wrote: > This patches causes a big-endian version of qemu-arm (called qemu-armeb) to > be built alongside the regular little-endian one. Lightly tested with some > simple static big-endian binaries. Also adds a binfmt_misc signature, and > adds support for building on armv4b (untested.) The qemu-binfmt-misc.sh hunk is busted, try this instead (which actually works): --- qemu-20041218.orig/qemu-binfmt-conf.sh 2004-03-28 00:58:14.000000000 +0100 +++ qemu-20041218.mod/qemu-binfmt-conf.sh 2004-12-19 17:46:48.635513169 +0100 @@ -25,6 +25,7 @@ fi if [ $cpu != "arm" ] ; then echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff\xff:/usr/local/bin/qemu-arm:' > /proc/sys/fs/binfmt_misc/register + echo ':armeb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/local/bin/qemu-armeb:' > /proc/sys/fs/binfmt_misc/register fi if [ $cpu != "sparc" ] ; then echo ':sparc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff\xff:/usr/local/bin/qemu-sparc:' > /proc/sys/fs/binfmt_misc/register