aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-11-24 17:44:13 +1030
committerAlan Modra <amodra@gmail.com>2022-11-24 17:45:52 +1030
commitbde9f9d7e978b190ff6fc7207e2fe293d7c989a7 (patch)
tree5184efe56725bd8172cf9697d15d7d29d214f236 /binutils
parent5ee755fabb3d1a5e4760c05e48c26567a5f4b3ca (diff)
downloadbinutils-bde9f9d7e978b190ff6fc7207e2fe293d7c989a7.zip
binutils-bde9f9d7e978b190ff6fc7207e2fe293d7c989a7.tar.gz
binutils-bde9f9d7e978b190ff6fc7207e2fe293d7c989a7.tar.bz2
Tidy objdump printing of section size
* objdump.c (load_specific_debug_section): Use PRIx64 format.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 9b27ce7..e8481b2 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -4210,9 +4210,9 @@ load_specific_debug_section (enum dwarf_section_display_enum debug,
{
section->start = NULL;
free_debug_section (debug);
- printf (_("\nSection '%s' has an invalid size: %#llx.\n"),
+ printf (_("\nSection '%s' has an invalid size: %#" PRIx64 ".\n"),
sanitize_string (section->name),
- (unsigned long long) section->size);
+ section->size);
return false;
}