diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 21:55:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-09-22 21:55:17 +0000 |
commit | 7a360e83fc3bfe89586d408f2107242c85a0daf8 (patch) | |
tree | cca0d538cfc389ec61821ef53bd3be59cab18c11 /opcodes/fr30-desc.h | |
parent | 35fc57f38cc162286190ec02e5a0064cc9bc71cf (diff) | |
download | gdb-7a360e83fc3bfe89586d408f2107242c85a0daf8.zip gdb-7a360e83fc3bfe89586d408f2107242c85a0daf8.tar.gz gdb-7a360e83fc3bfe89586d408f2107242c85a0daf8.tar.bz2 |
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>
Diffstat (limited to 'opcodes/fr30-desc.h')
0 files changed, 0 insertions, 0 deletions