This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/opcodes ChangeLog bfin-dis.c
- From: vapier at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 22 Sep 2010 21:53:47 -0000
- Subject: src/opcodes ChangeLog bfin-dis.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-09-22 21:53:47
Modified files:
opcodes : ChangeLog bfin-dis.c
Log message:
opcodes: blackfin: fix decoding of many invalid insns
The Blackfin disassembler was originally based on the premise of parsing
valid opcodes all the time, so some of the opcode checking can be a bit
fuzzy. This is exemplified in decoding of parallel insns where many
times things are decoded as invalid when in reality, they may not be
used in parallel combinations. So add parallel checking to most insn
decoding routines so we see ILLEGAL and not just whatever insn happens
to be close to a valid mnemonic, as well as some additional sub-opcode
checks.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1638&r2=1.1639
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/bfin-dis.c.diff?cvsroot=src&r1=1.25&r2=1.26