When printing a longword displacement, grab the displacement as a

long (instead of a short).  That way the printed addresses will be
correct.
This commit is contained in:
matt 2000-07-04 02:10:37 +00:00
parent 464c773f27
commit 29cea83095
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ print_insn_arg (d, p, addr, info)
case 14: /* Long displacement */
if (regnum == PC_REGNUM)
{
info->target = addr + *(short *)p + 5;
info->target = addr + *(long *)p + 5;
(*info->print_address_func) (info->target, info);
}
else