diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-13 08:16:43 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-13 08:16:43 +0000 |
commit | 7a3a51414092bf9373987b0bc46cc9416b272df4 (patch) | |
tree | a9bcfb88445cb1e835b0cf7c8751cc949d87d4c0 /tcg | |
parent | da93a1fd49778e3107c346317a044455f8b46e2f (diff) | |
download | qemu-7a3a51414092bf9373987b0bc46cc9416b272df4.zip qemu-7a3a51414092bf9373987b0bc46cc9416b272df4.tar.gz qemu-7a3a51414092bf9373987b0bc46cc9416b272df4.tar.bz2 |
Fix TARGET_LONG_BITS warning in TCG
Looking at tcg/tcg.c:828, the bug that the warning indicated would show up as
incorrect PC shown in log, only on 32 bit big endian host emulating a 64 bit
target, -d op flag enabled. Now that dyngen is gone, the patch can be applied.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5998 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/tcg-runtime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/tcg-runtime.c b/tcg/tcg-runtime.c index 575da43..c4dad26 100644 --- a/tcg/tcg-runtime.c +++ b/tcg/tcg-runtime.c @@ -29,6 +29,7 @@ #include "config.h" #include "osdep.h" +#include "cpu.h" // For TARGET_LONG_BITS #include "tcg.h" int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2) |