Patchwork arm: Fix missing 'return' in SRS handling.

login
register
mail settings
Submitter Adam Lackorzynski
Date March 1, 2010, 4:19 p.m.
Message ID <20100301161954.GA20356@os.inf.tu-dresden.de>
Download mbox | patch
Permalink /patch/46565/
State New
Headers show

Comments

Adam Lackorzynski - March 1, 2010, 4:19 p.m.
There's a return missing in the srs handling which leads to srs always being
treated an an invalid op.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
---
 target-arm/translate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/target-arm/translate.c b/target-arm/translate.c
index 9607aae..0c650b2 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -6131,6 +6131,7 @@  static void disas_arm_insn(CPUState * env, DisasContext *s)
             } else {
                 dead_tmp(addr);
             }
+            return;
         } else if ((insn & 0x0e5fffe0) == 0x081d0a00) {
             /* rfe */
             int32_t offset;