diff options
Diffstat (limited to 'opcodes/sh-dis.c')
-rw-r--r-- | opcodes/sh-dis.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/sh-dis.c b/opcodes/sh-dis.c index 840823e..527eb75 100644 --- a/opcodes/sh-dis.c +++ b/opcodes/sh-dis.c @@ -855,7 +855,13 @@ print_insn_sh (memaddr, info) else val = bfd_getb32 (bytes); } - fprintf_fn (stream, "\t! 0x%x", val); + if ((*info->symbol_at_address_func) (val, info)) + { + fprintf_fn (stream, "\t! 0x"); + (*info->print_address_func) (val, info); + } + else + fprintf_fn (stream, "\t! 0x%x", val); } } |