From patchwork Tue Nov 5 18:11:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 178535 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1116389ilf; Tue, 5 Nov 2019 10:16:16 -0800 (PST) X-Google-Smtp-Source: APXvYqw5+GfjuyGM0KL3ez7BHkWosoDB3BVuYprnlI93uj+Q+z1FE2by3PQZlgGMOqOucFepmrwR X-Received: by 2002:a50:a7a1:: with SMTP id i30mr3002818edc.94.1572977776530; Tue, 05 Nov 2019 10:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572977776; cv=none; d=google.com; s=arc-20160816; b=BFMrZCF+m4/YSK5T+SyhHyGt0Ub97i9Tsltwuo8qB6OoqC11x6sS3bvdAPXf4C5LjX UpTvP1tVxH0TpZHpNTemg8+8TluybyICahNR3J4d2C5DSsnmQZLuIQyjvUDt2nCD+DO8 ac94r3QP4b8TyPXc/3x3tt8qReVDADuJTgmSto4Ws+AJSLCbyEcqplLyG2JUUM3/pFa8 ACqmlKyJzQoxPS2k63wVWkENDpkpzJJoyCgwdNJm6q7ITXUtfUeY1khL2nog4CTzo7gL +UIgp24btbk6uOxsJGioKiV2WWUggQtJqWy+8ifd4Jb46Jo2gFjTiGmPFwOIqX+94puR A61g== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=o1LAazBP9Xr2BsB/zczyAKWcxaOHiJZGTnGNHsL41ic=; b=S8UHn5O4qSdnCzB3OD2NYR3/76iX8QoQzjeLRaV+w/3YcNgYFOtTLS032Bbx4X4O0I 5x4hLM/Ey+mkRbqVvmPd1Xa2+zeWVUB9fzoLczYLWfxKGzg5UWz503pLleQC203RP+2X h2zezxPo/X5aqQSqIb1WKwxEFApnyAj6ty0ZeMT87LAkYjGe+nIL+SlwDdPBQ29Z9+g3 hIjgAmN3TgmAr55O3E/kOgoxQvaXiyu0NUWNnlaKe9t+/zPkCX4zWa9c7MpJYYMiJGYa HAAoOVbQwW0lx1JrDDeWFmMDvp57zFleq39LFvvlbd+MbQvmDUBYK2C+BrwTc97RiT1w 48og== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b29si10744838ede.118.2019.11.05.10.16.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Nov 2019 10:16: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; 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" Received: from localhost ([::1]:47172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS3NH-0003of-1l for patch@linaro.org; Tue, 05 Nov 2019 13:16:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52046) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS3Is-0005yB-D0 for qemu-devel@nongnu.org; Tue, 05 Nov 2019 13:11:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS3Iq-0004hb-VL for qemu-devel@nongnu.org; Tue, 05 Nov 2019 13:11:42 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:40125) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS3Iq-0004gQ-Kz for qemu-devel@nongnu.org; Tue, 05 Nov 2019 13:11:40 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N3bGP-1hkDxE3pLP-010ZAo; Tue, 05 Nov 2019 19:11:28 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 02/13] scripts/qemu-binfmt-conf: Update for sparc64 Date: Tue, 5 Nov 2019 19:11:08 +0100 Message-Id: <20191105181119.26779-3-laurent@vivier.eu> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191105181119.26779-1-laurent@vivier.eu> References: <20191105181119.26779-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:1hQ3nX100RX96hZx8enwA+ZvhdtzI9F57RrS11tUsa3lt4Yz66W VKv3/VM8xE/uqzid/UvN9KQVrLGkKqo3KUhkEtiP99gkU59U6rwUIdZLWEFLJ1RIEdLnt3O U4rTbxitotTfMijSd9uHZGdpRgDML6jzPiREE3fXEIC9pFVLE8kl0LBCadQA3PmKKCU1/an VFVVIMEfZdPwR/J5Bvv/Q== X-UI-Out-Filterresults: notjunk:1; V03:K0:Bbflqga9EnM=:DG1o574tI/gXTnV795wlIf WP5SB6rU0ZfVkfFN8v07csNcyEHGjfrU+m52dI5L61zlJZNA+5jJh7icBw/Oj18qANR9F0ZXJ aTucdjbiPDfzYXEC6o32YXLCt7C4v7GSeqD3mI6KQj9hfvtS0JWO+cYuH9n47ttXGxmAd/LHr MgnXi6tuqseoZSmumRFTLrCMoyjio6EKbxvuiy1UyvU5hzkUxAVr/a3Wh1l0abRtsnicma9Zr 9WHoxc/GYuJbAhtFvnXlkkeICp6srNNPYkKQIIvmVuErW/zWw2/upCqk4J5TSkJ/eKY2dk7IF HOvDYeglBLKEqDOs7gCAYwsENuWEalHZjWlW4s1VW0Q88Pe1yAK5Zl8BV4gw3MkEYAKIHdx27 VVmxh4dxnmFCHKWdw5MUx9ePvqu0S76qs2Z+/T3XJOZOHUlP0llEwEQRbX6JyHzD5oBh/N8FW Yem7KcNCgCgfXWM0O0oSzodFOaXvgLAaMAuJw6piCpDQI3fRJXx3YTP3I6ZaPlFAMJbbo8Vaa pfE3iHAM7VZ0+svT399rhL2U212cswF3Zg+NTSKDLLsrxDNxXeKxy/NcJLSa9BwtImR3fTFPz L/mXL/AuaBi7FZeG9qU9Fs4bMa9lzo/eoogPv6MP6+vtjtVf33GDwpQ69ekGyLH6Y0ro0V0hS I9VM/C95R/BwwazgIAJr0TvTOiH6S4ClKERkXJ7eNJc+HIzNhPf7topW01pYCBD/pmKK5hFot 7G99pVCig6cgrn3j1MQqfRKrPWHxSAteed1q0s3pi4FIt2RU5vIZO0zEsIDEPcPWl+93zoyca Q1i72N4XT7BoK2qnErYpgEpdQLjxWzjM9VpAlm+RafZTZZix7/0ECC2Pr1SxTGSmpBAelnqUi Ua92zgbyI+kAV+Msadng== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.10 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: Mark Cave-Ayland , Riku Voipio , Richard Henderson , Laurent Vivier , =?utf-8?q?Alex_Benn=C3=A9e?= , Artyom Tarasenko Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson 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.21.0 diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index b5a16742a149..9f1580a91c7d 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