From bde9f9d7e978b190ff6fc7207e2fe293d7c989a7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 24 Nov 2022 17:44:13 +1030 Subject: [PATCH] Tidy objdump printing of section size * objdump.c (load_specific_debug_section): Use PRIx64 format. --- binutils/objdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binutils/objdump.c b/binutils/objdump.c index 9b27ce73a87..e8481b2d928 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; } -- 2.30.2