* [Qemu-devel] [5947] Fix 64-bit targets compilation on ARM host.
@ 2008-12-07 23:35 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-12-07 23:35 UTC (permalink / raw)
To: qemu-devel
Revision: 5947
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5947
Author: balrog
Date: 2008-12-07 23:35:47 +0000 (Sun, 07 Dec 2008)
Log Message:
-----------
Fix 64-bit targets compilation on ARM host.
Only fix compilation, probably doesn't run.
Modified Paths:
--------------
trunk/tcg/arm/tcg-target.c
Modified: trunk/tcg/arm/tcg-target.c
===================================================================
--- trunk/tcg/arm/tcg-target.c 2008-12-07 23:33:34 UTC (rev 5946)
+++ trunk/tcg/arm/tcg-target.c 2008-12-07 23:35:47 UTC (rev 5947)
@@ -858,10 +858,10 @@
else
data_reg2 = 0; /* surpress warning */
addr_reg = *args++;
-#if TARGET_LONG_BITS == 64
+#ifdef CONFIG_SOFTMMU
+# if TARGET_LONG_BITS == 64
addr_reg2 = *args++;
-#endif
-#ifdef CONFIG_SOFTMMU
+# endif
mem_index = *args;
s_bits = opc & 3;
@@ -1036,10 +1036,10 @@
else
data_reg2 = 0; /* surpress warning */
addr_reg = *args++;
-#if TARGET_LONG_BITS == 64
+#ifdef CONFIG_SOFTMMU
+# if TARGET_LONG_BITS == 64
addr_reg2 = *args++;
-#endif
-#ifdef CONFIG_SOFTMMU
+# endif
mem_index = *args;
s_bits = opc & 3;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-07 23:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-07 23:35 [Qemu-devel] [5947] Fix 64-bit targets compilation on ARM host Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).