https://sourceware.org/bugzilla/show_bug.cgi?id=18209
Bug ID: 18209
Summary: objdump -h is not very helpful printing decompressed
section names
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: dje at google dot com
This is totally unintuitive.
objdump -h foo.o shows the section .debug_gnu_pubnames,
which I wanted to dump, so I did
objdump -s -j .debug_gnu_pubnames foo.o
which gave me
/build/binutils/binutils/objdump: section '.debug_gnu_pubnames' mentioned in a
-j option, but not found in any input file
Why wasn't it found?
readelf -S foo.o
-->
[778] .zdebug_gnu_pubnames PROGBITS 0000000000000000 0091aa 002c01 00
0 0 1
I'm guessing it's this bit here:
static void
display_any_bfd (bfd *file, int level)
{
/* Decompress sections unless dumping the section contents. */
if (!dump_section_contents)
file->flags |= BFD_DECOMPRESS;
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils