Skip to contentSkip to conversation

arm: Fix missing 'return' in SRS handling.

PATCH New Adam Lackorzynski 1 participant 1 message Mar 1, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: Fix missing 'return' in SRS handling.

There's a return missing in the srs handling which leads to srs always being treated an an invalid op.

---
 target-arm/translate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
target-arm/translate.c +1 -0
index 9607aae..0c650b2 100644
@@ -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;
Signature · 8 lines
1.7.0



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/