From: Peter Maydell <peter.maydell@linaro.org>
To: Anthony Liguori <aliguori@amazon.com>
Cc: Blue Swirl <blauwirbel@gmail.com>,
qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PULL 3/9] target-arm: Fix intptr_t vs tcg_target_long
Date: Mon, 10 Mar 2014 15:09:14 +0000 [thread overview]
Message-ID: <1394464160-9074-4-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1394464160-9074-1-git-send-email-peter.maydell@linaro.org>
From: Richard Henderson <rth@twiddle.net>
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c
index 08ac659..37e05e8 100644
--- 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);
--
1.9.0
next prev parent reply other threads:[~2014-03-10 15:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 15:09 [Qemu-devel] [PULL 0/9] target-arm queue Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 1/9] target-arm: Fix incorrect setting of E bit in CPSR Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 2/9] target-arm: Implements the ARM PMCCNTR register Peter Maydell
2014-03-10 15:09 ` Peter Maydell [this message]
2014-03-10 15:09 ` [Qemu-devel] [PULL 4/9] libvixl: Fix format strings for several int64_t values Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 5/9] pxa2xx: Don't shift into sign bit Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 6/9] hw/arm/omap1.c: Avoid shifting left " Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 7/9] hw/ssi/xilinx_spips.c: " Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 8/9] hw/arm/musicpal: " Peter Maydell
2014-03-10 15:09 ` [Qemu-devel] [PULL 9/9] target-arm: Implement WFE as a yield operation Peter Maydell
2014-03-11 14:11 ` [Qemu-devel] [PULL 0/9] target-arm queue Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1394464160-9074-4-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=aliguori@amazon.com \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).