[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] also build big-endian version of qemu-arm
From: |
Lennert Buytenhek |
Subject: |
[Qemu-devel] Re: [PATCH] also build big-endian version of qemu-arm |
Date: |
Sun, 19 Dec 2004 17:51:51 +0100 |
User-agent: |
Mutt/1.4.1i |
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