diff options
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/bfin-dis.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5dd4bb1..3c9fe72 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2011-02-14 Mike Frysinger <vapier@gentoo.org> + + * bfin-dis.c (decode_LoopSetup_0): Return when reg is greater + than 7. + 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure: Regenerate. diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c index 3932762..312138a 100644 --- a/opcodes/bfin-dis.c +++ b/opcodes/bfin-dis.c @@ -2623,6 +2623,9 @@ decode_LoopSetup_0 (TIword iw0, TIword iw1, bfd_vma pc, disassemble_info *outf) if (parallel) return 0; + if (reg > 7) + return 0; + if (rop == 0) { OUTS (outf, "LSETUP"); |