From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBoGY-0003rn-IJ for qemu-devel@nongnu.org; Mon, 07 Jan 2008 04:27:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBoGX-0003rY-22 for qemu-devel@nongnu.org; Mon, 07 Jan 2008 04:27:30 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBoGW-0003rV-SU for qemu-devel@nongnu.org; Mon, 07 Jan 2008 04:27:28 -0500 Received: from miranda.se.axis.com ([193.13.178.8]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JBoGW-0008Mp-IL for qemu-devel@nongnu.org; Mon, 07 Jan 2008 04:27:28 -0500 Received: from axis.com (edgar.se.axis.com [10.93.151.1]) by miranda.se.axis.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id m079R9Yu024328 for ; Mon, 7 Jan 2008 10:27:09 +0100 Date: Mon, 7 Jan 2008 12:27:19 +0100 From: "Edgar E. Iglesias" Message-ID: <20080107112719.GC17555@edgar.se.axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] build error Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I needed this or similar to build recent qemu's with gcc-4. Best regards -- Edgar E. Iglesias Axis Communications AB diff --git a/linux-user/main.c b/linux-user/main.c index e3a2374..164fdb9 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -53,7 +53,8 @@ asm(".globl __preinit_array_start\n" "__init_array_end:\n" "__fini_array_start:\n" "__fini_array_end:\n" - ".long 0\n"); + ".long 0\n" + ".previous\n"); #endif /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so