From nobody Sun Apr 28 21:23:35 2024 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1543330366631619.7626724938954; Tue, 27 Nov 2018 06:52:46 -0800 (PST) Received: from localhost ([::1]:42851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRejE-0001Tm-DB for importer@patchew.org; Tue, 27 Nov 2018 09:52:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gReha-0000cQ-Ji for qemu-devel@nongnu.org; Tue, 27 Nov 2018 09:51:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRehX-0002kh-93 for qemu-devel@nongnu.org; Tue, 27 Nov 2018 09:51:02 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:44282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRehX-0002gS-15 for qemu-devel@nongnu.org; Tue, 27 Nov 2018 09:50:59 -0500 Received: by mail-wr1-x441.google.com with SMTP id z5so18676720wrt.11 for ; Tue, 27 Nov 2018 06:50:58 -0800 (PST) Received: from x1.local (75.red-83-57-172.dynamicip.rima-tde.net. [83.57.172.75]) by smtp.gmail.com with ESMTPSA id c77sm4356505wmh.12.2018.11.27.06.50.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 06:50:56 -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:mime-version :content-transfer-encoding; bh=wzPx7qYWxBeonlsPl3w0ght8DbpHNQEE77eQg3yN0l4=; b=pgC9GPZQrCMRmH/busi581ZWWg2GwNljiEnRMXn0sXIGuVXpm5Q0HxKC3/tqNrP4HE XBvTNb40dXbPAqMMtTba/gtg0dpYl6sHFjbsioj94EUUTLWHtEakg6zA10AT5E5JXWEG hmbLYFHnQ3M5o/zT8WyXrvmdp9BYvd4Fly0mJI5KdpnoqAVTj6tuOxdyYxxlTuvhy/WO hfZUDsb/qIvSuw+l9MGmZbE7t68nSgIdU1kiN4i7hDSzaeAFEwcDELhjW+PvSyNZNoiK 0RyBdluLlHKIlb1L/FiZr7ir+e3X4rfVYHWw3fIX96zbU/zjI6QszMIuimvgvb26q+k6 1r7Q== 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 :mime-version:content-transfer-encoding; bh=wzPx7qYWxBeonlsPl3w0ght8DbpHNQEE77eQg3yN0l4=; b=dDK05fH7J6897MeF0yj/eQcsCm33KckB8Dyi0aFdHIiVLirXmSoXDlwI5l6v4fC4Qx Sn2ASyC63AJ8ZWzwDwta4OEXaMcUV05/RKl31Cmof+5mBgARD4VTyLWy8Y6UKufKOUo9 rI0TIhBZVxPWra8TbsrFeGEQFCcisDileHorzyMgTog4BlRTrxJ9GkZ5+VUgfzaMy1yY aWGaDfulYiSmQjmTL7+Zxei84CLM/WQOSwx7rxg51R2HJrz3gdXBV7Ta7GWCEtbgHMNo jt3SFo/L2GuKgWyrb575gsDrDxZPZ62C80l/WEKI5K/b66Kp5E2jKUVH/AHL9HFH7hIf M/4Q== X-Gm-Message-State: AA+aEWbzsStOOTZgM7zRLk4WBhXwInSQe6gofWZ8Du6bOxzhoUUCJuau 4qc7yZ1OjfJahNtHahlO98I= X-Google-Smtp-Source: AFSGD/VbFj+MpmkwRXJLZA/RlU0rlVBZM0zM0tXAbWintK3tNFGwvioRl8oVRaA8+TjfdZU07OvbHA== X-Received: by 2002:adf:ce02:: with SMTP id p2mr30328299wrn.185.1543330257785; Tue, 27 Nov 2018 06:50:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Aurelien Jarno , Aleksandar Markovic , Stefan Markovic , Stefan Weil , Peter Maydell Date: Tue, 27 Nov 2018 15:50:43 +0100 Message-Id: <20181127145043.18545-1-f4bug@amsat.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH for-3.1] configure: Disable the nanoMIPS disassembler on big endian hosts 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Stefan noticed the nanoMIPS disassembler uses incorrect format strings on big endian hosts. On big endian hosts, the output will appear as: $ qemu-system-mipsel -M malta -cpu I7200 -semihosting \ -bios nanoboot.bin -d in_asm 0xbfc0000: Asm output not supported on this arch Reported-by: Stefan Weil Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Stefan Weil --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0a3c6a72c3..83a7c4746e 100755 --- a/configure +++ b/configure @@ -7382,7 +7382,11 @@ for i in $ARCH $TARGET_BASE_ARCH ; do mips*) disas_config "MIPS" if test -n "${cxx}"; then - disas_config "NANOMIPS" + # The nanomips disassembler currently does not work correctly + # on big endian host. + if test "$bigendian" =3D "no" ; then + disas_config "NANOMIPS" + fi fi ;; moxie*) --=20 2.17.2