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:55:18 -0000
- Subject: src/opcodes ChangeLog bfin-dis.c
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2010-09-22 21:55:18
Modified files:
opcodes : ChangeLog bfin-dis.c
Log message:
opcodes: blackfin: fix decoding of 32bit addresses on 64bit systems
The Blackfin ISA is very exact with regards to address truncation when
under/over flowing its 32bit range. On a 32bit system, things work the
same and so addresses are decoded properly. On a 64bit system though,
the decoded addresses may include the bits that are supposed to have
been truncated. So force a 32bit truncation after the address has been
calculated.
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.1640&r2=1.1641
http://sourceware.org/cgi-bin/cvsweb.cgi/src/opcodes/bfin-dis.c.diff?cvsroot=src&r1=1.27&r2=1.28