projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c2cb42
)
target-arm: Fix intptr_t vs tcg_target_long
author
Richard Henderson
<rth@twiddle.net>
Mon, 10 Mar 2014 14:56:29 +0000
(14:56 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Mon, 10 Mar 2014 14:56:29 +0000
(14:56 +0000)
Fixes a build error when these are different, e.g. x32.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Message-id:
1394043257
-4800-1-git-send-email-rth@twiddle.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/translate-a64.c
patch
|
blob
|
history
diff --git
a/target-arm/translate-a64.c
b/target-arm/translate-a64.c
index 08ac6591b6e9c1d9d9c7930f891a7c9bd5e1f416..37e05e81f7f5cb1e0e0d5b8ea33082e52d40e24d 100644
(file)
--- a/
target-arm/translate-a64.c
+++ b/
target-arm/translate-a64.c
@@
-210,7
+210,7
@@
static inline void gen_goto_tb(DisasContext *s, int n, uint64_t dest)
if (use_goto_tb(s, n, dest)) {
tcg_gen_goto_tb(n);
gen_a64_set_pc_im(dest);
- tcg_gen_exit_tb((
tcg_target_long
)tb + n);
+ tcg_gen_exit_tb((
intptr_t
)tb + n);
s->is_jmp = DISAS_TB_JUMP;
} else {
gen_a64_set_pc_im(dest);