projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee755f
)
Tidy objdump printing of section size
author
Alan Modra
<amodra@gmail.com>
Thu, 24 Nov 2022 07:14:13 +0000
(17:44 +1030)
committer
Alan Modra
<amodra@gmail.com>
Thu, 24 Nov 2022 07:15:52 +0000
(17:45 +1030)
* objdump.c (load_specific_debug_section): Use PRIx64 format.
binutils/objdump.c
patch
|
blob
|
history
diff --git
a/binutils/objdump.c
b/binutils/objdump.c
index 9b27ce73a879edc1eb670d3388a617af4eb3549c..e8481b2d928bdd51bef903f283a91e8ea9448a39 100644
(file)
--- 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;
}