forked from Imagelibrary/binutils-gdb
2011-05-16 Tristan Gingold <gingold@adacore.com>
* od-xcoff.c: New file. * objdump.h: New file. * objdump.c: Include objdump.h (dump_private_options, objdump_private_vectors): New variables. (usage): Mention -P/--private. Display handled options. (long_options): Add -P/--private. (dump_target_specific): New function. (dump_bfd): Handle dump_private_options. (main): Handle -P. * doc/binutils.texi (objdump): Document -P/--private. * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES): New variables, compute them. (od_vectors): Add vectors for private dumpers. Make them uniq. (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS. * Makefile.am (HFILES): Add objdump.h (CFILES): Add od-xcoff.c (OBJDUMP_PRIVATE_OFILES): New variable. (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES. (objdump_LDADD): Ditto. (EXTRA_objdump_SOURCES): Define. * Makefile.in: Regenerate. * configure: Regenerate.
This commit is contained in:
@@ -1744,6 +1744,7 @@ objdump [@option{-a}|@option{--archive-headers}]
|
||||
[@option{-m} @var{machine}|@option{--architecture=}@var{machine}]
|
||||
[@option{-M} @var{options}|@option{--disassembler-options=}@var{options}]
|
||||
[@option{-p}|@option{--private-headers}]
|
||||
[@option{-P} @var{options}|@option{--private=}@var{options}]
|
||||
[@option{-r}|@option{--reloc}]
|
||||
[@option{-R}|@option{--dynamic-reloc}]
|
||||
[@option{-s}|@option{--full-contents}]
|
||||
@@ -1787,7 +1788,7 @@ object files.
|
||||
|
||||
The long and short forms of options, shown here as alternatives, are
|
||||
equivalent. At least one option from the list
|
||||
@option{-a,-d,-D,-e,-f,-g,-G,-h,-H,-p,-r,-R,-s,-S,-t,-T,-V,-x} must be given.
|
||||
@option{-a,-d,-D,-e,-f,-g,-G,-h,-H,-p,-P,-r,-R,-s,-S,-t,-T,-V,-x} must be given.
|
||||
|
||||
@table @env
|
||||
@item -a
|
||||
@@ -2066,6 +2067,17 @@ Print information that is specific to the object file format. The exact
|
||||
information printed depends upon the object file format. For some
|
||||
object file formats, no additional information is printed.
|
||||
|
||||
@item -P @var{options}
|
||||
@itemx --private=@var{options}
|
||||
Print information that is specific to the object file format. The
|
||||
argument @var{options} is a comma separated list that depends on the
|
||||
format (the lists of options is displayed with the help).
|
||||
|
||||
For XCOFF, the available options are: @option{header}, @option{aout},
|
||||
@option{sections}, @option{syms}, @option{relocs}, @option{lineno},
|
||||
@option{loader}, @option{except}, @option{typchk}, @option{traceback}
|
||||
and @option{toc}.
|
||||
|
||||
@item -r
|
||||
@itemx --reloc
|
||||
@cindex relocation entries, in object file
|
||||
|
||||
Reference in New Issue
Block a user