diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-16 23:17:02 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-16 23:17:02 +0000 |
commit | 422ebf6979001c2874151509260c73c2bcede5da (patch) | |
tree | 6c3fbf7eecfa1989c906f63f11150a74cfd869a4 /target-arm | |
parent | aec454d23a5f0271e1c4f490dabe2a18fbe98f36 (diff) |
Save the exact SWI return address in Thumb mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4217 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r-- | target-arm/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c index 4678586601..5751e2f4eb 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -8492,7 +8492,7 @@ static void disas_thumb_insn(CPUState *env, DisasContext *s) if (cond == 0xf) { /* swi */ gen_set_condexec(s); - gen_set_pc_im(s->pc | 1); + gen_set_pc_im(s->pc); s->is_jmp = DISAS_SWI; break; } |