This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

objdump -d / -D behavior


First, I'm using:
$ arm-elf-objdump -V
GNU objdump 2.16.1

I'm a bit cunfused about the relative behavior of objdump -d vs.
objdump -D. It seems like the implementation is not what the user
would want (read: not what I want). When I use -d, the disassembler is
smart enough not to disassemble non-executable objects, but instead
does a hex dump. When I use -D (because I want to include all sections
in the disassembly), it loses this intelligence. I see no reason why
this should be necessary, or at least if it is necessary to force
disassembly of all data, to have an option that does include sections
with no executable, AND does a hex dump of non-executable sections /
objects.
--
Bryce Schober


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]