From nobody Tue Feb 10 23:55:33 2026 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=linaro.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1529348129337668.4572406722314; Mon, 18 Jun 2018 11:55:29 -0700 (PDT) Received: from localhost ([::1]:36532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUzJ9-0006Lo-2S for importer@patchew.org; Mon, 18 Jun 2018 14:55:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUz5k-0003f1-Bt for qemu-devel@nongnu.org; Mon, 18 Jun 2018 14:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUz5j-00054s-HB for qemu-devel@nongnu.org; Mon, 18 Jun 2018 14:41:28 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:47076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUz5j-00054E-B0 for qemu-devel@nongnu.org; Mon, 18 Jun 2018 14:41:27 -0400 Received: by mail-pf0-x243.google.com with SMTP id q1-v6so8602309pff.13 for ; Mon, 18 Jun 2018 11:41:27 -0700 (PDT) Received: from cloudburst.twiddle.net (mta-98-147-121-51.hawaii.rr.com. [98.147.121.51]) by smtp.gmail.com with ESMTPSA id i65-v6sm49457254pfd.17.2018.06.18.11.41.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 11:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iTILNdw0hnTGA/3RfV2xAFyT61IwjcHouXiNyX/Bhc4=; b=GEMUsYZNSwm9O8q+LXI1zXLjfsCFWE2rN2pHy909/hHrFvHMxpmnKpzqBps+oUm0HN G84KGF59uuQohHK0fm9BrbiQEKa3N7QGkDJ5Npi4c6lVrAQVAR0Wgul2hDcS7OVkN0BM /6gi0gSJALD1WBHTUCGY7NJFzlZ3uDW5ItQ5Q= 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=iTILNdw0hnTGA/3RfV2xAFyT61IwjcHouXiNyX/Bhc4=; b=egBpMuigK6HU/4e/noYOkD36BtBICLeCXW8auoaWOQ41BPbQQTT9hlFmFUBMKZnPY0 TIsZeB4iEKj1d3DPgpTK9wJebEVSAqYC75A04Re9udo8If7BXSm03qXOZ/dw7JluWsjL a8bKm+L9/UB82hoXl//o1iT0TaPiqXFNnimeYAIPhMYllEQYr5c8H+4zzeCz+mQEJjjw cAtMjGR0sDZhKSiv+8wB2DPS0ARpwa/KQjTN1B3V4UoMbV1wBumhd29shP/HyRLB/GvM tPIIr0FJNkGnD45bdse+/Fj5QZGNZF4mXj8P2CJoopShaWSLYd701lEhQwJHzs2/XGcC CleQ== X-Gm-Message-State: APt69E3JT5FbbgNNI+KQEi0xfHdfcg0zRYPA0JPPBEaTDKIKKyYH5PTr VqlpOqIbeGbCLjai1yg/ia2f680wX0Y= X-Google-Smtp-Source: ADUXVKIfHei5Q2+Jsd5NfplPVTT7fZlLmj3HxZc0o52fcc9V6jgbhuOv0uPebMka5A++I+y4B5W5uQ== X-Received: by 2002:a62:6710:: with SMTP id b16-v6mr14835755pfc.37.1529347286154; Mon, 18 Jun 2018 11:41:26 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 18 Jun 2018 08:40:44 -1000 Message-Id: <20180618184046.6270-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180618184046.6270-1-richard.henderson@linaro.org> References: <20180618184046.6270-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PATCH v2 20/22] 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: shorne@gmail.com 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" Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier --- 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.1