aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2009-10-12 11:32:47 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-10-12 11:32:47 -0700
commit2378dc3c92e294380811274365d569af7dd5e6ef (patch)
tree8d375e4da200e2216ec57cb4450073a4165b2c45 /android
parent26b4ac48515f35c93e17065744cd81c80065528d (diff)
parentddf49e53df97a349f42c733059165dc73c9907dc (diff)
downloadexternal_qemu-2378dc3c92e294380811274365d569af7dd5e6ef.zip
external_qemu-2378dc3c92e294380811274365d569af7dd5e6ef.tar.gz
external_qemu-2378dc3c92e294380811274365d569af7dd5e6ef.tar.bz2
am ddf49e53: Workaround ARMv7 emulation issues.
Merge commit 'ddf49e53df97a349f42c733059165dc73c9907dc' * commit 'ddf49e53df97a349f42c733059165dc73c9907dc': Workaround ARMv7 emulation issues.
Diffstat (limited to 'android')
-rw-r--r--android/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/android/main.c b/android/main.c
index 682cfce..686dac8 100644
--- a/android/main.c
+++ b/android/main.c
@@ -67,6 +67,8 @@
#include "android/globals.h"
#include "tcpdump.h"
+#include "tcg.h"
+
/* in vl.c */
extern void qemu_help(int code);
@@ -2356,6 +2358,14 @@ int main(int argc, char **argv)
args[n++] = "-cpu";
args[n++] = "cortex-a8";
}
+ /* we also disable liveness analysis in the code generator, because it seems
+ * that ARMv7 -> x86 code generation triggers a fatal assertion when it is
+ * activated. The drawback is that the generated code is slower, but at the
+ * moment, ARMv7 emulation is only used to run the dex preopt pass within the
+ * Android build system. This hack should be removed when we fix the code
+ * generator.
+ */
+ tcg_disable_liveness_analysis = 1;
}
args[n++] = "-initrd";