Commit 7a3a51414092bf9373987b0bc46cc9416b272df4
1 parent
da93a1fd
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
Showing
1 changed file
with
1 additions
and
0 deletions
tcg/tcg-runtime.c
| @@ -29,6 +29,7 @@ | @@ -29,6 +29,7 @@ | ||
| 29 | 29 | ||
| 30 | #include "config.h" | 30 | #include "config.h" |
| 31 | #include "osdep.h" | 31 | #include "osdep.h" |
| 32 | +#include "cpu.h" // For TARGET_LONG_BITS | ||
| 32 | #include "tcg.h" | 33 | #include "tcg.h" |
| 33 | 34 | ||
| 34 | int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2) | 35 | int64_t tcg_helper_shl_i64(int64_t arg1, int64_t arg2) |