From patchwork Wed Nov 6 11:33:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 178667 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp476897ilf; Wed, 6 Nov 2019 03:34:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyj6uZ7UIbtsVIR2jPXCOZ4kBUeVDPtC0AKtPR6vGKja/IsT8p7NnvoI8LHSEboxB9qmH2H X-Received: by 2002:aa7:d6cf:: with SMTP id x15mr2099537edr.202.1573040056805; Wed, 06 Nov 2019 03:34:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573040056; cv=none; d=google.com; s=arc-20160816; b=R/iRwJr/w5Bxz4X8RQOLtNl2/vrWLagqDITdLNLuZGOs2xYFZr+x2XOQTo5OqYPBp8 9bC7usRFma5ewkqvgw3PUdOYL/YQ7D7TCvOdw/yEyfvF57RAwm6nyiz4mcXWiP9c2ERb vdCI+KbGUihm8TacUjNxBA7YsgeVwUlvD0W3mISSX4dxx2HmHhTxNoE43RTKMH9/1R3i 1PnfY3rCXxZ4+ILZ9X6+zLB3uYW3IF3ooNS8rCxASnA9hXDCWsDgCD/pBDSTS7L3vdG3 cEtfzf57ZCKNSUDPqtCYCkxhUaZOzsEKR1khl7Pdd9AeDV82JICE2mqf3+wdpARr73Fe 2UyQ== 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=ioxK2kUUvhJn3ibL7fxkhbHvv7iuDuKl2QhEX38aenY=; b=rVkQcMVAK3eJF9xU/9IJ1CzL9sI78Akb5qpR7hTD9uq+oFpHabIz5gICW2fGaTUaaT YgsL5azjk7U5/kRRfJl4wZK180p5m1fY8Tm9ys99X/ABjN9TNsvPj8VvCjS9YRUSzoJ3 0Hvv+M46o8ciRfCtKwM7TscR+ST6GsolSQJLlATKsNcRY9IiemCquiSvsmBHN7W6k3Ro ZqOu8pbo/pcPqsPEMJUBzgHTbvF0N/i6HfHE89bdOqjm5vGElSDBJKqtEarGu4Xt2V5D dYBlifR5AVcIh+nlmOQENrgbz2cnTNYZ4deKEDg061kMbCRFnb3IPrNONc2iI6iUtn/T Kxpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yNLrWy6G; 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=pass (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 c11si7558203ejr.176.2019.11.06.03.34.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 03:34:16 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=yNLrWy6G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:56298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJZm-0003q2-UO for patch@linaro.org; Wed, 06 Nov 2019 06:34:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSJZA-0003m3-7T for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSJZ8-0007El-84 for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:35 -0500 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:55067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSJZ8-0007CW-0t for qemu-devel@nongnu.org; Wed, 06 Nov 2019 06:33:34 -0500 Received: by mail-wm1-x344.google.com with SMTP id z26so2935326wmi.4 for ; Wed, 06 Nov 2019 03:33:33 -0800 (PST) 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=ioxK2kUUvhJn3ibL7fxkhbHvv7iuDuKl2QhEX38aenY=; b=yNLrWy6GyCdnmMokFxjBAnPWS6IkMNctG4Pi56lKHsYGCDR27zkhdR3N8/A/Rm2Muv qhmE7gdL+hhiZ6zUBf/9NGyli6aVg7pljq3FA9beQ7dVAx6xVXaMSzyigwMjFMoFl1yK LzuhT3rsXN95+8ghZJ//pUUll9lbg2MFL4vOG0lMCGeyyLwca6TsEM3EgDtMOhbhjxyV b5/mnbLUP3kevd+qEJ56fyckEFk6tH721GNrdsn2aIzqnPf0dfvv48ulQHsXmF8vTHjm pOwXqnw42973g2Q6uL6YPLJ/aLzxYkrZaJsrqPdBFWaWgyLnE3lrJF/lylyscVg7X4Ei ouBA== 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=ioxK2kUUvhJn3ibL7fxkhbHvv7iuDuKl2QhEX38aenY=; b=maVl+oZbAy6i9bc9DG+fACqgwYjSUlte2b1o3czhGy9iuLNO3s6aS1gmPV5bAML0Xh kcf/gQPMoo39sLEOoimpLgxk7ol2/JqBF+ssVUBcWM0E2ve2LBTBuCh9D/kGz3giCfJN srsy7XIP2YZkdj5q0956frDdSK52J99SAaSFijtMaD2/bx18439AaJt55i7ymnGbnUni Qy1XTa8nP5klUie6/nKD+1YtpXH3iafDpMyUw6ezjzHseN7wlFtfT97Dr6JjJ25eQpEb b4KG3dV/xZtQwJRFiZ0oXlgyJx7cyOxVNqkY0CWpOEVhlkg1/LVOjfCtL70oN4X6bXCI +YAA== X-Gm-Message-State: APjAAAWAUVz3NRPypmzTF6IREmF+tez1lQvoWdd6TXqAvKVgJtMHFZoZ aMKQhagF6036k/yRmcSJ6hxjWPx72oxZmA== X-Received: by 2002:a1c:7e0e:: with SMTP id z14mr2199100wmc.52.1573040011787; Wed, 06 Nov 2019 03:33:31 -0800 (PST) Received: from localhost.localdomain (31.red-176-87-122.dynamicip.rima-tde.net. [176.87.122.31]) by smtp.gmail.com with ESMTPSA id q124sm1776907wme.13.2019.11.06.03.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 03:33:31 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 01/12] scripts/qemu-binfmt-conf: Update for sparc64 Date: Wed, 6 Nov 2019 12:33:07 +0100 Message-Id: <20191106113318.10226-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191106113318.10226-1-richard.henderson@linaro.org> References: <20191106113318.10226-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 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: 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 Message-Id: <20191025113921.9412-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- 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