From nobody Tue Feb 10 23:14:53 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 (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530155891738450.8173165932119; Wed, 27 Jun 2018 20:18:11 -0700 (PDT) Received: from localhost ([::1]:34312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNRi-0008J3-VH for importer@patchew.org; Wed, 27 Jun 2018 23:18:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNE4-0005FA-4K for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYNE3-0008Ej-5h for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:04:04 -0400 Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:37754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYNE3-0008EZ-0i for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:04:03 -0400 Received: by mail-pg0-x230.google.com with SMTP id o11-v6so1798012pgv.4 for ; Wed, 27 Jun 2018 20:04:02 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-112-211.tukw.qwest.net. [97.126.112.211]) by smtp.gmail.com with ESMTPSA id y15-v6sm8030489pfm.136.2018.06.27.20.04.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 20:04:00 -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=yIn6TyEZ6/crkb0RZ7okyByW0TTgtJ88YNc4nTVzFQw=; b=C6dQG8g9WjT/1BzuKArrJC9XHzbe1kb7SBJap+2mOwxtzwu9Lf0hoU+qjOA3eIWfzA mpC2j0EoRHm2Z58zsfhQUAYCXDC9alzptLCr75DzdRxpGtjK0gOKN5AAQQ3xjwtX/oWi t1W9PKqDD0BteTZ9sfh7arNUU2wxRl8S/1Nas= 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=yIn6TyEZ6/crkb0RZ7okyByW0TTgtJ88YNc4nTVzFQw=; b=pQCpuZzTTkIGs7UEZ35RrE7zQgcTaMxkcxsCSIpuZ0xq9UIFNeqSvi4eTy6H1Dl0x5 mgw/ldHdyc7vqVp1Q0P0dEsSJqy7xtkw9OfICmzXQ8R6BfZIK9beamj3mH16wC486HSQ klZDpRojJA1ttnQrV9zbS6m5qCwMFMIeiVHvX7oMiIzROaBBkq26CUFqq0zzkPry2UnV PePPgN5OQQj8BWSZOwEBFiTzR8lpHxWnyWLKYujuYH5llc+oK7MlO89kGAcAJ+JCIZas B4wTEapPQ62zeY6WiNAZAWTgUiS0B+lVZcE765HnXR4+bmJNHYE40ba/enx9UnGHV/yx LveQ== X-Gm-Message-State: APt69E1tPXqZkHP+2pXCjo+G9EVUQ+xCfii7hVEhHsx+euhzbVwHfqBQ SIRgNNsBAwyIJTJcUcEFX8pIWgg3qOo= X-Google-Smtp-Source: ADUXVKLVhgmrWo5s9xCoYjHkzAZvHu16P8Mec8WyE2oNTfSvXxWgKDwj72Q59W1U+VSIP4ZTxYUt3A== X-Received: by 2002:a63:3c4a:: with SMTP id i10-v6mr7228482pgn.415.1530155041762; Wed, 27 Jun 2018 20:04:01 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 27 Jun 2018 20:03:28 -0700 Message-Id: <20180628030330.15615-22-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628030330.15615-1-richard.henderson@linaro.org> References: <20180628030330.15615-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:c05::230 Subject: [Qemu-devel] [PATCH v3 21/23] 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" Reviewed-by: Laurent Vivier Signed-off-by: Richard Henderson --- 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