From nobody Mon Feb 9 10:48:17 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.zoho.com; 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; Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1486435264413457.5275562472541; Mon, 6 Feb 2017 18:41:04 -0800 (PST) Received: from localhost ([::1]:51670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caviH-00013d-Sr for importer@patchew.org; Mon, 06 Feb 2017 21:41:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cavaT-0003L2-HK for qemu-devel@nongnu.org; Mon, 06 Feb 2017 21:32:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cavaS-0005Qq-Ko for qemu-devel@nongnu.org; Mon, 06 Feb 2017 21:32:57 -0500 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]:33663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cavaS-0005QY-HE for qemu-devel@nongnu.org; Mon, 06 Feb 2017 21:32:56 -0500 Received: by mail-it0-x244.google.com with SMTP id e137so10948591itc.0 for ; Mon, 06 Feb 2017 18:32:56 -0800 (PST) Received: from bigtime.twiddle.net.twiddle.net (m865036d0.tmodns.net. [208.54.80.134]) by smtp.gmail.com with ESMTPSA id n67sm5316037ith.0.2017.02.06.18.32.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Feb 2017 18:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=RPY7qEmM7Pey3KWxsKHnkNcM1Uzi1Y8D+zOA5r5Kfog=; b=b+AEPHbcE6AcUOBv5iIytGxzIm6KSZokF9QFPBgZep6lm6cec6LKcvL4s3SNo70Pi9 6juhYxR94tsucWY5cA8BIYijDQOPlcwKPGLDhnN7V1YjSfKVqwUZY67NDj9itAE5R+6D +6nMSKaajbkjjzuEfDHZ4OyT5waHbqva2aFviIfZNdsn0zyWnwmzbQbtVi12CJvjIauZ 64XCUt7VhyLK5/dFQ5wU78AFbnMKF2wWRVSBykkRhkqGaR/nggb8dOl8Q2nSdk5+xQbq MGC3dBmhCikcE4rNFR+x3HWaG56GpjuOy0ddKz+EFMWXu6UJwVuqgfaRWqQaiMTQklbG 3jEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=RPY7qEmM7Pey3KWxsKHnkNcM1Uzi1Y8D+zOA5r5Kfog=; b=lYkTITDFBmGLJC3/NFrbRaKwdchBAJh+30bwCuffh+hDIoY2oK17Mn9HBeiPs8DZMS 7BIlpmUgQmj/AH5210RHd5MN+VAfiUt++lx7lMwy1T7KZKcjsdRApzxkEQyL8QyunPab L9q6wLMp7b2gINJvVhIBivlBsUuwUSYJfkpeQIoKI0e6opWNtfPqf59xwtBdBvk+Z7WJ hWAPomexIxeAMFEDm8z+E3ruxedz2OuhCjLVzeper8ox+3F88S6HttBq6T4eW+PPhaIM 6quXgP2ZCEHbw3givpnVZAdXjb4YyDeA4b72th0iZ9lDwzWigIB7556F3Di1edqaSmcp GaBg== X-Gm-Message-State: AIkVDXIu8MKpZNYgsK6F1upWXROnF7wXVNYPv3CzLl9zB+v42RxE425Lf2Hiw89isisMDg== X-Received: by 10.36.217.150 with SMTP id p144mr10294583itg.90.1486434775779; Mon, 06 Feb 2017 18:32:55 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 6 Feb 2017 18:32:25 -0800 Message-Id: <20170207023229.29431-2-rth@twiddle.net> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170207023229.29431-1-rth@twiddle.net> References: <20170207023229.29431-1-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c0b::244 Subject: [Qemu-devel] [PULL 1/5] linux-user: add hppa magic numbers in 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: peter.maydell@linaro.org, Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Laurent Vivier As we have now a linux-user HPPA target, we can add it to the list of supported targets in qemu-binfmt-conf.sh Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson Message-Id: <20170126080449.28255-2-laurent@vivier.eu> Signed-off-by: Richard Henderson --- scripts/qemu-binfmt-conf.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index de4d1c1..0f1aa63 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -1,9 +1,10 @@ #!/bin/sh -# enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390 program execution by = the kernel +# enable automatic i386/ARM/M68K/MIPS/SPARC/PPC/s390/HPPA +# program execution by the kernel =20 qemu_target_list=3D"i386 i486 alpha arm sparc32plus ppc ppc64 ppc64le m68k= \ mips mipsel mipsn32 mipsn32el mips64 mips64el \ -sh4 sh4eb s390x aarch64" +sh4 sh4eb s390x aarch64 hppa" =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' @@ -91,6 +92,10 @@ aarch64_magic=3D'\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00= \x00\x00\x00\x00\x02\x00\x aarch64_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\x= ff\xff\xfe\xff\xff\xff' aarch64_family=3Darm =20 +hppa_magic=3D'\x7f\x45\x4c\x46\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00= \x00\x00\x02\x00\x0f' +hppa_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xff\xfe\xff\xff' +hppa_family=3Dhppa + qemu_get_family() { cpu=3D${HOST_ARCH:-$(uname -m)} case "$cpu" in --=20 2.9.3