projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
[binutils-gdb.git]
/
opcodes
/
bfin-dis.c
diff --git
a/opcodes/bfin-dis.c
b/opcodes/bfin-dis.c
index b17e0552b943b0199a00207d550027fe3bcbdc94..0aec087c8330a9da9904cbf656b7a8f169fec1c5 100644
(file)
--- a/
opcodes/bfin-dis.c
+++ b/
opcodes/bfin-dis.c
@@
-138,6
+138,9
@@
fmtconst (const_forms_t cf, TIword x, bfd_vma pc, disassemble_info *outf)
if (constant_formats[cf].pcrel)
ea += pc;
+ /* truncate to 32-bits for proper symbol lookup/matching */
+ ea = (bu32)ea;
+
if (outf->symbol_at_address_func (ea, outf) || !constant_formats[cf].exact)
{
outf->print_address_func (ea, outf);