Tidy objdump printing of section size

* objdump.c (load_specific_debug_section): Use PRIx64 format.
This commit is contained in:
Alan Modra
2022-11-24 17:44:13 +10:30
parent 5ee755fabb
commit bde9f9d7e9

View File

@ -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;
}