From nobody Sun Nov 2 16:26:42 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=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 15274312941471004.2229821195829; Sun, 27 May 2018 07:28:14 -0700 (PDT) Received: from localhost ([::1]:52269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMweb-0002bN-9E for importer@patchew.org; Sun, 27 May 2018 10:28:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMwQr-0000J0-Ii for qemu-devel@nongnu.org; Sun, 27 May 2018 10:14:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMwQq-0004Vx-Lm for qemu-devel@nongnu.org; Sun, 27 May 2018 10:14:01 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:46533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMwQq-0004VM-G3 for qemu-devel@nongnu.org; Sun, 27 May 2018 10:14:00 -0400 Received: by mail-pl0-x242.google.com with SMTP id 30-v6so5727074pld.13 for ; Sun, 27 May 2018 07:14:00 -0700 (PDT) Received: from cloudburst.twiddle.net (50-233-235-3-static.hfc.comcastbusiness.net. [50.233.235.3]) by smtp.gmail.com with ESMTPSA id b89-v6sm66680075pfd.85.2018.05.27.07.13.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 May 2018 07:13:58 -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=f9A2xMf+WmnVHFBUGc1uBlz2tvMisdhCeonDhGT8tyY=; b=WAMg+WoHQo+AWZnA+0HmD5+BGXY/HQs0haRlmNDo9l0/SYoNyaHFFs+jS51w+M02pm j+dkbrVkH+owrSpYgSwnNWXJAHfDCUNUPWOPuoqss3Cy7Du3Mgfyfhz4WhbV5RQlYOnl Xcq+Wx19E0N4Oi3AhTdEpFXf2C0UaTMQtVydw= 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=f9A2xMf+WmnVHFBUGc1uBlz2tvMisdhCeonDhGT8tyY=; b=uduqeMIQ1kus3qJv4zVywW2z2z+mZiJveqxXIc9TEJfHKw+BLdksbOeEOe32UAj35E qrpjQ94xfLunFExvw9eYGcZIBmkQE3Ml6A8aIyxsM9JGWiqGVi/vAjG/kbm9qmX8nOTS zm0/G0+aD5t0Y8KjzYx+B3DCL2he5D2LHIFDwx/1SZtCVsDqBeWPg8SCLJB3OcrE6GyI C2VdOhjpQVCEmVfiUcfttRfiJm5sgKEPJmY6SiOZ0GWm8iY0wUAQWRmSYWgyEJaPnGjA P6a5A5JclNSD4hpP4gMiBOpFJda+3l8sJ8isVS95PrG3V77zN3PkxaNo440tbJR8Kth0 ofyA== X-Gm-Message-State: ALKqPweQWAClLymmP+6zpkB3Tc4Jgg0SHmzePiJ5R0N4rOG8l/5GUWQ/ qTd/J7vNVrZLrdjRxIuE/lE4n8kWsGErPg== X-Google-Smtp-Source: AB8JxZoR8weaVG4KO/nBVEjdbmNaFgLxxwGE3g7kXcxRAXdFjwIMkrDkJXtAFHcAHEQlIzIweQGjAg== X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr10214205pls.270.1527430439365; Sun, 27 May 2018 07:13:59 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 27 May 2018 09:13:24 -0500 Message-Id: <20180527141324.11937-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180527141324.11937-1-richard.henderson@linaro.org> References: <20180527141324.11937-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:c01::242 Subject: [Qemu-devel] [PATCH 20/20] target/or1k: 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 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 --- 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 7ab7435fbd..75ed7c6b65 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\xff\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