sim: clean up bfd_vma printing
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 May 2021 03:27:16 +0000 (23:27 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 4 May 2021 12:13:45 +0000 (08:13 -0400)
commit5ee0bc23a68fe2a6a7717b31fda1db878b2c9764
tree89d9ac8cad39ef7afdf6dfa1d93a5f06b87a440f
parent225bda24db9671e2087fda892f94141625836a40
sim: clean up bfd_vma printing

A lot of this code predates the bfd_vma format define, so we have a
random mix of casts to known types so we can printf the value.  Use
the BFD_VMA_FMT that now exists to simplify and reliability output
across different build configs.
18 files changed:
sim/common/ChangeLog
sim/common/cgen-trace.c
sim/common/sim-load.c
sim/cr16/ChangeLog
sim/cr16/interp.c
sim/cris/ChangeLog
sim/cris/sim-if.c
sim/d10v/ChangeLog
sim/d10v/d10v_sim.h
sim/d10v/interp.c
sim/erc32/ChangeLog
sim/erc32/func.c
sim/m32c/ChangeLog
sim/m32c/load.c
sim/rl78/ChangeLog
sim/rl78/load.c
sim/rx/ChangeLog
sim/rx/load.c