From patchwork Fri Oct 25 11:39:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 177719 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3567812ill; Fri, 25 Oct 2019 04:40:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0V17p/esc7+2G6j58OrY2g3g96HX6KDOESRhZPUTN+T2Qd/T/gzfgYZemMZLMPlCkXn5n X-Received: by 2002:a05:620a:242:: with SMTP id q2mr2328338qkn.87.1572003627502; Fri, 25 Oct 2019 04:40:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572003627; cv=none; d=google.com; s=arc-20160816; b=cR3mU0ZN3uDawLaGYIwp8h/8e5JLMRH3yLL4ZUZkq1SiHamFQa1mGuSnT0E0gzi+kn tqLwxmP0VEe12ag4qhbCDP/zWvop/51TE+o36y/oLN4vV8PXMWlLLNQUnxlLmxF8Z2NZ Auae6Hh9AU/8fg22Gvu5mJyMsM2cuvV0UGDYwHVYgomXJvq6pA7LmLeMSDAdzOGZi6mn R/AJaAoOuqgR3E/uh9iuc7XuSICnaEvqyMlglTULPSxYfNNb2VgCnVsNe14zbxwaZpQZ bQqFgAmaPILpBet/dDNvFTf0IcglapAgR7NGP6iSsnc5m/5/kM3kE8/l6Y/kkcfXHSvc GCdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=eYlJyuG0D2jRtROBHsXLKAoXJWfo30B11DHLmtIIcdc=; b=Qtr/nrHZf4/Ocz7UCxMQ/rBGcCAb9NwWpy2VM8AArNTsxPrb6xaCf9aWWDXoUhokxp x6gMRp0CsCnFRS00kEIuJI+rlHk1UPaJJy7i95GyHuJcVKtL1vnoMhoy/xViCYI6EWTG iztgdLuQIweyK2LdSHewUzAyfqZMK+2t7VY8Z3R6SA7inE8uxW99DVoN3OR/r2vgsR9w CDeFyZyCB3ymX91Z56k0TaKVzucWKYDXWKPIljwh/YZyh/jwoAj7rZEYoIKcFraKOpZp bxrPoT9H7lo2YDPKPZ8zks40aDKYvAS33pVFfULG4ODkIfstmlLdpzirR05KbGmLKvWY t0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lorccuDT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i22si1196918qvb.54.2019.10.25.04.40.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Oct 2019 04:40:27 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=lorccuDT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58844 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNxxC-0006W7-8t for patch@linaro.org; Fri, 25 Oct 2019 07:40:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45015) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNxwJ-0006KR-L0 for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNxwE-0006aR-K0 for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:30 -0400 Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]:40944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNxwD-0006Zo-8V for qemu-devel@nongnu.org; Fri, 25 Oct 2019 07:39:25 -0400 Received: by mail-qt1-x844.google.com with SMTP id o49so2704427qta.7 for ; Fri, 25 Oct 2019 04:39:24 -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=eYlJyuG0D2jRtROBHsXLKAoXJWfo30B11DHLmtIIcdc=; b=lorccuDTMLh+8D/MRvn/3jcXAo7cRKC5jenoqK7271yUwJicWS74fBvv2mdCMT5AaV L/9VjuFt3KSawxcv3i76NZ1d2zvFJQkkWPnP1vRaXDxVo+ss82JqG0hD8I/I9TMPKfmC pQv6v1govTTV8SjyWSINJYG4CR1Sy46GtKUvechu2oz8qAjwDThTPZMwC8a6ei46Hdv8 VJ5e2V6ESs7s7KOs1NiWEzKnrQj+AfCmdakFzrr1wiQjD6U81dMy5Grda0L+iWRHCtQN 1awF1gprZVYDTwviGFVd/0KjZfEAgA7L5XcKZiRYBdc97mH7zDr0UQ5lA83LS8r2Na6L ewKw== 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=eYlJyuG0D2jRtROBHsXLKAoXJWfo30B11DHLmtIIcdc=; b=KOHquydTdYTbXmaQaE9a4+gKzjUrn9O/VXaSC+RIWyQO4qKy6XDauygrDuw0dofI2f Kg+uNuyt3q0qeqhBDgt8yXbnj2pdOvtUMtXjmbf7n7owmC26Z5/E/N+9G/uJY4vdDjzi 54wlyjfSNupnNNoMdFhQhI+F/aJmpT8H71qVDtR2qqEtQCg64eQXsncOX7w7+1U167fM lqZc0rOEid0wAyuXtM+Cw5eMDLV7ihc5Qtlib99qgiBlHb1ag3uagnvXS2v8vLI/pN3b K8jUnQeQIOvTOjVbAeoePR8LZoXsXgkUiKcaV+S8qzkSMEsPJXzzzX7O6IjOBIqqgJ0+ WYLQ== X-Gm-Message-State: APjAAAX4Ee6CnP30yD+YuRLGQdoxheijfibfRFNl81ehgcRcRcdoAxTL ws1XBzjBvhUTQ3LQTQO5Lg1yCjRvweM= X-Received: by 2002:a0c:b918:: with SMTP id u24mr2759288qvf.212.1572003563868; Fri, 25 Oct 2019 04:39:23 -0700 (PDT) Received: from localhost.localdomain (rrcs-172-254-253-50.nyc.biz.rr.com. [172.254.253.50]) by smtp.gmail.com with ESMTPSA id x38sm1473335qtc.64.2019.10.25.04.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 04:39:23 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 01/12] scripts/qemu-binfmt-conf: Update for sparc64 Date: Fri, 25 Oct 2019 07:39:10 -0400 Message-Id: <20191025113921.9412-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191025113921.9412-1-richard.henderson@linaro.org> References: <20191025113921.9412-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::844 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alex.bennee@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Also note that we were missing the qemu_target_list entry for plain sparc; fix that at the same time. Reviewed-by: Laurent Vivier Tested-by: Laurent Vivier Signed-off-by: Richard Henderson --- scripts/qemu-binfmt-conf.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index b5a16742a1..9f1580a91c 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -1,8 +1,8 @@ #!/bin/sh # Enable automatic program execution by the kernel. -qemu_target_list="i386 i486 alpha arm armeb sparc32plus ppc ppc64 ppc64le m68k \ -mips mipsel mipsn32 mipsn32el mips64 mips64el \ +qemu_target_list="i386 i486 alpha arm armeb sparc sparc32plus sparc64 \ +ppc ppc64 ppc64le m68k mips mipsel mipsn32 mipsn32el mips64 mips64el \ sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb \ microblaze microblazeel or1k x86_64" @@ -38,6 +38,10 @@ sparc32plus_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x sparc32plus_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' sparc32plus_family=sparc +sparc64_magic='\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2b' +sparc64_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' +sparc64_family=sparc + ppc_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14' ppc_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' ppc_family=ppc