From: Alan Modra Date: Thu, 24 Nov 2022 07:14:13 +0000 (+1030) Subject: Tidy objdump printing of section size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bde9f9d7e978b190ff6fc7207e2fe293d7c989a7;p=binutils-gdb.git Tidy objdump printing of section size * objdump.c (load_specific_debug_section): Use PRIx64 format. --- 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; }