Fri Jun 12 11:04:06 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
authorIan Lance Taylor <ian@airs.com>
Fri, 12 Jun 1998 15:13:28 +0000 (15:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 12 Jun 1998 15:13:28 +0000 (15:13 +0000)
commit80ade9931a73bf205ca878f323d3ce3d25653811
treee055987b0f211a379ca24b0ba435118fbcd72d13
parent1be932424c84bcfa54e1906c2a2dd50c702bb94e
Fri Jun 12 11:04:06 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

Fix problems when bfd_vma is wider than long.
* i386-dis.c: Make op_address and start_pc unsigned.
(set_op): Make parameter unsigned.
(print_insn_x86): Cast to bfd_vma when passing a value to
print_address_func.
* ns32k-dis.c (CORE_ADDR): Don't define.
  (print_insn_ns32k): Change type of addr to bfd_vma.  Use
bfd_scan_vma to read back address.
(print_insn_arg): Change type of addr to bfd_vma.  Use sprintf_vma
to format it.
* m68k-dis.c (COERCE32): Cast to bfd_signed_vma to avoid overflow.
(NEXTULONG): New definition.
(print_insn_m68k): Avoid overflow when computing third argument of
print_insn_arg.
(print_insn_arg): Use NEXTULONG to fetch 32 bit address values.
Use disp instead of val to store offset values.
(print_indexed): Use base_disp instead of word to store base
displacement, to avoid overflow.
* m10300-dis.c (disassemble): Cast value to long when computing
pc-relative address, to get correct sign extension.
opcodes/ChangeLog
opcodes/i386-dis.c
This page took 0.03647 seconds and 4 git commands to generate.