diff options
Diffstat (limited to 'sim/common/sim-load.c')
-rw-r--r-- | sim/common/sim-load.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c index 020165a0dc..80fa2ea4f9 100644 --- a/sim/common/sim-load.c +++ b/sim/common/sim-load.c @@ -121,11 +121,10 @@ sim_load_file (SIM_DESC sd, const char *myname, host_callback *callback, if (verbose_p) { xprintf (callback, - "Loading section %s, size 0x%lx %s " - "%" BFD_VMA_FMT "x\n", - bfd_section_name (s), - (unsigned long) size, - (lma_p ? "lma" : "vma"), lma); + "Loading section %s, size 0x%" PRIx64 + " %s %" PRIx64 "\n", + bfd_section_name (s), (uint64_t) size, + lma_p ? "lma" : "vma", (uint64_t) lma); } data_count += size; bfd_get_section_contents (result_bfd, s, buffer, 0, size); @@ -147,8 +146,8 @@ sim_load_file (SIM_DESC sd, const char *myname, host_callback *callback, if (verbose_p) { end_time = time (NULL); - xprintf (callback, "Start address %" BFD_VMA_FMT "x\n", - bfd_get_start_address (result_bfd)); + xprintf (callback, "Start address %" PRIx64 "\n", + (uint64_t) bfd_get_start_address (result_bfd)); report_transfer_performance (callback, data_count, start_time, end_time); } |