Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

a.out(4)

ar(4)

DUMP(1)                              SysV                              DUMP(1)



NAME
     dump - dump selected parts of an object file

SYNOPSIS
     dump [options ] files

DESCRIPTION
     The dump command dumps selected parts of each of its object file
     arguments.

     dump accepts both object files and archives of object files.  It
     processes each file argument according to one or more of the following
     options.

OPTIONS
     -a   Dumps the archive header of each member of each archive file
          argument.

     -c   Dumps the string table.

     -f   Dumps each file header.

     -g   Dumps the global symbols in the symbol table of an archive.

     -h   Dumps section headers.

     -l   Dumps line number information.

     -L   Interprets and prints the contents of the .lib sections.

     -o   Dumps each optional header.

     -r   Dumps relocation information.

     -s   Dumps section contents.

     -t   Dumps symbol table entries.

     -z name
          Dumps line number entries for the named function.

     -Aa  Dumps the longname table and module table of an archive.

     -Ai  Interprets and prints the contents of the .inlib section.

     -Am  Interprets and prints the .mir section records.

     -Ar  Interprets and prints the .rwdi section records.

     -AR  Interprets and prints the contents of the .rwdi section.

     -As  Interprest and prints the .sri section records.

     -AS  Interprets and prints section contents.

MODIFIERS
     The following modifiers are used in conjunction with the options listed
     above to modify their capabilities.

     -d number  Dumps the section number, number, or the range of sections
                starting at number and ending at the number specified by +d.
     +d number  Dumps sections in the range either beginning with first
                section or beginning with section specified by -d.

     -n name    Dumps information pertaining only to the named entity.  This
                modifier applies to -h, -s, -r, -l, and -t.

     -p         Suppresses printing of the headers.

     -t index   Dumps only the indexed symbol table entry.  The -t used in
                conjunction with +t, specifies a range of symbol table
                entries.

     +t index   Dumps the symbol table entries in the range ending with the
                indexed entry.  The range begins at the first symbol table
                entry or at the entry specified by the -t option.

     -u         Underlines the name of the file for emphasis.

     -v         Dumps information in symbolic representation rather than
                numeric (e.g., C_STATIC instead of 0X02).  This modifier can
                be used with all the above options except -s and -o options of
                dump.

     -z name,number
                Dumps line number entry or range of line numbers starting at
                number for the named function.

     +z number  Dumps line numbers starting at either function name or number
                specified by -z, up to number specified by +z.

     Blanks separating an option and its modifier are optional.  The comma
     separating the name from the number modifying the -z option may be
     replaced by a blank.

     dump attempts to format the information it dumps in a meaningful way,
     printing certain information in character, hex, octal or decimal
     representation as appropriate.

SEE ALSO
     a.out(4), ar(4).

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026