Skip to contentSkip to conversation

Mac OS X i386 support

PATCH In review Alexander Graf 1 participant 1 message Jan 31, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 Mac OS X i386 support

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

exec-all.h renamed from exec-all.h.orig +1 -1
Index: exec-all.h
===================================================================
@@ -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 \