Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKblL-0007E4-D9 for qemu-devel@nongnu.org; Thu, 31 Jan 2008 10:55:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKblK-0007DJ-Qx for qemu-devel@nongnu.org; Thu, 31 Jan 2008 10:55:38 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKblJ-0007D0-Tc for qemu-devel@nongnu.org; Thu, 31 Jan 2008 10:55:38 -0500 Received: from kassel160.server4you.de ([62.75.246.160] helo=csgraf.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JKblJ-0001ay-JP for qemu-devel@nongnu.org; Thu, 31 Jan 2008 10:55:37 -0500 Received: from [192.168.0.18] (visit.suse.de [195.135.221.17]) by csgraf.de (Postfix) with ESMTP id 2D14D84C5 for ; Thu, 31 Jan 2008 16:55:36 +0100 (CET) Message-Id: From: Alexander Graf Content-Type: multipart/mixed; boundary=Apple-Mail-27-149436498 Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 31 Jan 2008 16:55:35 +0100 Subject: [Qemu-devel] [PATCH 3/4] Mac OS X i386 support 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 --Apple-Mail-27-149436498 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit This patch implements Mac OS X specific parts that are necessary to get i386 versions of qemu working. It does: - make the GOTO_TB macro more portable --Apple-Mail-27-149436498 Content-Disposition: attachment; filename=qemu-mac-i386.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="qemu-mac-i386.patch" Content-Transfer-Encoding: 7bit Index: exec-all.h =================================================================== --- exec-all.h.orig 2008-01-31 15:08:57.000000000 +0100 +++ exec-all.h 2008-01-31 15:09:16.000000000 +0100 @@ -315,7 +315,7 @@ /* we patch the jump instruction directly */ #define GOTO_TB(opname, tbparam, n)\ do {\ - asm volatile (".section .data\n"\ + asm volatile (ASM_DATA_SECTION\ ASM_OP_LABEL_NAME(n, opname) ":\n"\ ".long 1f\n"\ ASM_PREVIOUS_SECTION \ --Apple-Mail-27-149436498 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-27-149436498--