22 Chapter 5. objdump
-adjust-vma=offset
When dumping information, first add offset to all the section addresses. This is useful if the
section addresses do not correspond to the symbol table, which can happen when putting sections
at particular addresses when using a format which can not represent section addresses, such as
a.out.
-b bfdname
-target=bfdname
Specify that the object-code format for the object files is bfdname. This option may not be
necessary; objdump can automatically recognize many formats.
For example,
objdump -b oasys -m vax -h fu.o
displays summary information from the section headers (-h) of fu.o, which is explicitly iden-
tified (-m) as a VAX object file in the format produced by Oasys compilers. You can list the
formats available with the -i option. Section 16.1 Target Selection, for more information.
-C
-demangle[=style]
Decode (demangle) low-level symbol names into user-level names. Besides removing any initial
underscore prepended by the system, this makes C++ function names readable. Different compil-
ers have different mangling styles. The optional demangling style argument can be used to choose
an appropriate demangling style for your compiler. Chapter 10 c++filt, for more information on
demangling.
-g
-debugging
Display debugging information. This attempts to parse debugging information stored in the file
and print it out using a C like syntax. Only certain types of debugging information have been
implemented. Some other types are supported by readelf -w. Chapter 15 readelf .
-e
-debugging-tags
Like -g, but the information is generated in a format compatible with ctags tool.
-d
-disassemble
Display the assembler mnemonics for the machine instructions from objfile. This option only
disassembles those sections which are expected to contain instructions.
-D
-disassemble-all
Like -d, but disassemble the contents of all sections, not just those expected to contain instruc-
tions.
-prefix-addresses
When disassembling, print the complete address on each line. This is the older disassembly
format.
Commentaires sur ces manuels