From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MBpRc-0004qO-Sf for qemu-devel@nongnu.org; Wed, 03 Jun 2009 08:19:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MBpRb-0004q9-Ud for qemu-devel@nongnu.org; Wed, 03 Jun 2009 08:19:48 -0400 Received: from [199.232.76.173] (port=36755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MBpRb-0004q6-Oi for qemu-devel@nongnu.org; Wed, 03 Jun 2009 08:19:47 -0400 Received: from lechat.rtp-net.org ([88.191.19.38]:56426) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MBpRb-0001pq-8h for qemu-devel@nongnu.org; Wed, 03 Jun 2009 08:19:47 -0400 Received: from lechat.rtp-net.org (localhost [127.0.0.1]) by lechat.rtp-net.org (Postfix) with ESMTP id DC51110086 for ; Wed, 3 Jun 2009 14:28:00 +0200 (CEST) From: Arnaud Patard (Rtp) Date: Wed, 03 Jun 2009 14:28:00 +0200 Message-ID: <87prdlv6wf.fsf@lechat.rtp-net.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: [Qemu-devel] [PATCH] fix configure for mips o32 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --=-=-= The commit 1ad2134f914dfd4c8f92307c94c9a5a1e28f0059 is defining target_phys_bits and set it to 64 for all mips machines including mipsel machines which are 32 bit. This patch set it to 32. Signed-off-by: Arnaud Patard --- --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=fix_configure.patch Index: qemu/configure =================================================================== --- qemu.orig/configure +++ qemu/configure @@ -1970,7 +1970,7 @@ case "$target_cpu" in echo "#define TARGET_ARCH \"mips\"" >> $config_h echo "#define TARGET_MIPS 1" >> $config_h echo "#define TARGET_ABI_MIPSO32 1" >> $config_h - target_phys_bits=64 + target_phys_bits=32 ;; mipsn32|mipsn32el) echo "TARGET_ARCH=mipsn32" >> $config_mak --=-=-=--