mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
80ade9931a
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. |
||
---|---|---|
.. | ||
po | ||
.Sanitize | ||
a29k-dis.c | ||
acconfig.h | ||
acinclude.m4 | ||
aclocal.m4 | ||
alpha-dis.c | ||
alpha-opc.c | ||
arc-dis.c | ||
arc-opc.c | ||
arm-dis.c | ||
arm-opc.h | ||
cgen-asm.c | ||
cgen-asm.in | ||
cgen-dis.c | ||
cgen-dis.in | ||
cgen-opc.c | ||
cgen-opc.in | ||
cgen.sh | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.in | ||
d10v-dis.c | ||
d10v-opc.c | ||
d30v-dis.c | ||
d30v-opc.c | ||
dep-in.sed | ||
dis-buf.c | ||
disassemble.c | ||
h8300-dis.c | ||
h8500-dis.c | ||
h8500-opc.h | ||
hppa-dis.c | ||
i386-dis.c | ||
i960-dis.c | ||
m32r-asm.c | ||
m32r-dis.c | ||
m32r-opc.c | ||
m32r-opc.h | ||
m68k-dis.c | ||
m68k-opc.c | ||
m88k-dis.c | ||
m10200-opc.c | ||
Makefile.am | ||
Makefile.in | ||
makefile.vms | ||
mips-dis.c | ||
mips-opc.c | ||
mpw-config.in | ||
mpw-make.sed | ||
ns32k-dis.c | ||
opintl.h | ||
ppc-dis.c | ||
ppc-opc.c | ||
sh-dis.c | ||
sh-opc.h | ||
sparc-dis.c | ||
sparc-opc.c | ||
stamp-h.in | ||
sysdep.h | ||
tic30-dis.c | ||
tic80-dis.c | ||
tic80-opc.c | ||
v850-dis.c | ||
v850-opc.c | ||
vu0.h | ||
w65-dis.c | ||
w65-opc.h | ||
z8k-dis.c | ||
z8k-opc.h | ||
z8kgen.c |