I would expect something like: objdump -h -j .data /bin/ls
would dump only the header info of the .data section...it seems to dump all sections I have a patch (with respect to the recent snapshot of 2.19.51) which does does: leis...@asus:/usr/local/obj/binutils-2.19.51/binutils$ ./objdump -h -j .data /bin/ls /bin/ls: file format elf64-x86-64 Sections: Idx Name Size VMA LMA File off Algn 23 .data 000001d0 000000000061a2e0 000000000061a2e0 0001a2e0 2**5 CONTENTS, ALLOC, LOAD, DATA which I expect. (I don't see how to add a patch yet to a bug) -- Summary: Does -j sectname do anything useful? Product: binutils Version: 2.20 (HEAD) Status: NEW Severity: normal Priority: P3 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: martyleisner at yahoo dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=10413 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils