From nobody Tue Nov 4 19:03:26 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530540379915778.3238854883939; Mon, 2 Jul 2018 07:06:19 -0700 (PDT) Received: from localhost ([::1]:32982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZzT9-00086y-3I for importer@patchew.org; Mon, 02 Jul 2018 10:06:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZzMA-0002pG-Qj for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:59:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZzM9-0008PN-TR for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:59:06 -0400 Received: from mail-pg0-x232.google.com ([2607:f8b0:400e:c05::232]:41854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZzM9-0008P1-Nd for qemu-devel@nongnu.org; Mon, 02 Jul 2018 09:59:05 -0400 Received: by mail-pg0-x232.google.com with SMTP id l65-v6so7195026pgl.8 for ; Mon, 02 Jul 2018 06:59:05 -0700 (PDT) Received: from localhost (g90.124-44-6.ppp.wakwak.ne.jp. [124.44.6.90]) by smtp.gmail.com with ESMTPSA id s2-v6sm11792570pfh.186.2018.07.02.06.59.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jul 2018 06:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dkOZj/ZqKz8fgp7lnx+Urncpk3L1UM+0bsh5NWkTToY=; b=bzSAAB261XQx6ctEh14PLCepHdDXfb2Sa9osBw0QMrBXmPa0mZBoebA86bCWWqGfvX WVhD1+sh30V6JLgQ4Emd51Her+msFBsRX9u7tv0MVg3EZU13x/16wilVc1wAiGGj0Jyt vCPmqOHamotP8B5unzENoZ4gtkZt9GdTG72CELJfByjOhVmzUhpVo8ogVqwXEG7l8Lg1 mxSw4QLw6xsgqrmUalFm0HG5YvPB9g1l8R1luvpYNd8tD6sAya551FnPFVa+7Ux+CVYO 5YmDcxRVsxjNRobyBPYz3WX4C/+FkJE6XylNkKezMh+KGvcO9LOV273Tf7HJu4XyxKG4 3JBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dkOZj/ZqKz8fgp7lnx+Urncpk3L1UM+0bsh5NWkTToY=; b=dK84kCsF/j3+Pkdpc35NaYnwYD1WZnAWMEnPlZWb7hZ8msiZWoCj1/B0oZQLklBzR7 S6nlSlHZlLKtA8Nv+DeYvEjkPOoX/8rIrbEd0n1MxYvzfrMlN13h1hYNFiwdSY9+cdUQ 1SJu7xZXwsLkzh6oupS5SY3pDy5ugimUc7cnHgeeEPgecSNWG3jKM83Iuw7rhwofvW2G oebttiHS3cimy+t0cnb1J9VcXBdvXPvkom3CEI6CNCC6UIBmYN2R+i/aPbKY1iBUdyk0 Bo/cA21GFc85bxJh9/nY0XvRbVXfzwOqinCuMEEhD11Up6b19h4HNN5+qFLAYjxYFwFx Ao2A== X-Gm-Message-State: APt69E11/ofnVSTONKWV7M/KnmiSey557GTFBOujTzEbYVYKjFBb7/s/ yNKd7CjaQ+Wu0iilURnteMw= X-Google-Smtp-Source: AAOMgpeK3BQSrUl5630CvMCt4azNHeyxrvJRGjG85j2lNPYWpZ35uTJ7MWfGtpotGimIf/ECIthCjA== X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr12005578pfd.181.1530539944769; Mon, 02 Jul 2018 06:59:04 -0700 (PDT) From: Stafford Horne To: Peter Maydell Date: Mon, 2 Jul 2018 22:58:02 +0900 Message-Id: <20180702135806.7087-22-shorne@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180702135806.7087-1-shorne@gmail.com> References: <20180702135806.7087-1-shorne@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::232 Subject: [Qemu-devel] [PULL 21/25] target/openrisc: Add support in scripts/qemu-binfmt-conf.sh X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stafford Horne , Riku Voipio , Richard Henderson , QEMU Development , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Richard Henderson Reviewed-by: Laurent Vivier Signed-off-by: Richard Henderson Signed-off-by: Stafford Horne --- scripts/qemu-binfmt-conf.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index d7eefda0b8..a5cb96d79a 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -1,10 +1,10 @@ #!/bin/sh -# enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390/HPPA/Xtensa/microblaze -# program execution by the kernel +# Enable automatic program execution by the kernel. =20 qemu_target_list=3D"i386 i486 alpha arm armeb sparc32plus ppc ppc64 ppc64l= e m68k \ mips mipsel mipsn32 mipsn32el mips64 mips64el \ -sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb mi= croblaze microblazeel" +sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb \ +microblaze microblazeel or1k" =20 i386_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\= x00\x03\x00' i386_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xfe\xff\xff\xff' @@ -124,6 +124,10 @@ microblazeel_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\= x00\x00\x00\x00\x00\x00\x02\ microblazeel_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\= xff\xff\xff\xfe\xff\xff\xff' microblazeel_family=3Dmicroblazeel =20 +or1k_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\= x02\x00\x5c' +or1k_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xff\xfe\xff\xff' +or1k_family=3Dor1k + qemu_get_family() { cpu=3D${HOST_ARCH:-$(uname -m)} case "$cpu" in --=20 2.17.0