odump(1) odump(1)
PA-RISC System Only
NAME [Toc] [Back]
odump - dump information contained in SOM object files
SYNOPSIS [Toc] [Back]
odump [-option...] file...
DESCRIPTION [Toc] [Back]
odump takes one or more 32-bit native code files (object files, shared
and archive libraries, executables) and dumps information about them.
Note: odump skips non-SOM input files and issues a warning.
$ odump -all /usr/lib/pa20_64/libc.sl
File is not a SOM, skipping: /usr/lib/pa20_64/libc.sl.
Options [Toc] [Back]
Some odump options have additional support or provide additional
information when used in combination with the modifier options:
V (VERIFY) Indicate that the structure specified by its
corresponding option is verified when run with
the -verifyall option.
T (TITLES) Provides additional output format information
for the structure specified by its
corresponding option when run with the -titles
option.
B (VERBOSE) Prints a more descriptive message for the
structure specified by its corresponding option
when run with the -verbose option.
The table below indicates the available support for each option.
odump recognizes the following options and their modifiers:
V T B -Option Description
- - - -all Print all information
V - - -auxheader Print SOM auxilary headers
V - - -auxunwind Print the stack auxiliary unwind table
- - - -compunit Print compilation unit dictionary
- - - -doclinetable Print the line tables for debugging
optimized code
- - - -filtertable Print the list of implementation
libraries for a given filter library
- - B -fixups Print fixups
V - - -header Print SOM header
- - - -help Print this help screen
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: Sep 2004
odump(1) odump(1)
PA-RISC System Only
V T - -initpointers Print initialization pointers
- - - -linetable Print the line number table
- - - -linkmap Print the linkmap contents
- - - -linkmapbss Print the linkmap bss contents
- - - -linkmapfile Print the linkmap object file table
- - - -linkmapstr Print the linkmap string table
- - - -loaderfixups Print loader fixup records
- - - -lstauxheader Print LST auxheader
- - - -lstexportlist Print LST exportlist
- - - -lstheader Print LST header
- - - -lstimportlist Print LST importlist
- - - -lstsomdir Print LST som directory
- - - -lststringtable Print LST stringtbl
- - - -nclist Treat remaining options as nclist
options
- - - -octoutput Treat remaining input files as OCT
output
V - - -recover Print the recover table
- - - -silent Don't print tables, to be used with
verify option
- - - -sldatalinktbl Print the shared lib data linkage table
V - - -sldlexporthash Print the shared lib export entries
hashed values
V - - -sldlheader Print the shared lib DL header
V - - -sldlheaderext Print the shared lib dl_header_ext
structure
V - - -sldlimporthash Print the shared lib import entries
hashed values
V - - -sldlplabelhash Print the shared lib plabel entries
hashed values
V - - -sldynamrel Print the shared lib dynamic relocation
records
V - - -slexportext Print the shared lib export list
extension
V - - -slexportlist Print the shared lib export list
- - -slfastbind Print the fastbind tables
- - - -slfbdynamrel Print the fastbind dynamic relocation
list
- - - -slfbhdr Print the fastbind header
- - - -slfbimpexp Print the fastbind import export list
- - - -slfblibver Print the fastbind library version list
- - - -slfbmodbound Print the fastbind module bound list
- - -slhashtbl Print the shared lib export hash table
V - - -slimportlist Print the shared lib import list
- T - -slliblist Print the list of shared libraries used
in build
- - - -sllibloadlist Print the shared lib load list,
including dependencies
- T - -sllibsearch Print the shared lib dynamic search
status
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: Sep 2004
odump(1) odump(1)
PA-RISC System Only
V - - -slmodule Print the shared lib module table
V - - -slmoduledyn Print the shared lib module table
relocation list
V - - -slmoduleimp Print the shared lib module table import
list
- - - -slproclinktbl Print the shared lib procedure linkage
table
- - - -slstringtable Print the shared lib string table
- - - -slunwindhdr Print the shared lib unwind header
V - B -sommap Print map of SOM structures
V - - -spaces Print space list
- - - -spstringtable Print string table for space dictionary
V - - -subspaces Print subspace list
V - - -symbols Print all symbols
- - - -symstringtable Print string table for symbol dictionary
- - - -titles Print full names in all titles
- - - -tlssym Print the TLS symbol references
- - - -symver Print Versioned symbols
- - - -toolbssmap Print the linker bss subspace map
- - - -toolcompmap Print the linker compilation unit map
- - - -toolsubspmap Print the linker subspace map
V T - -unwind Print the stack unwind table
- - - -usage Print the help screen
- - - -verbose # Set verbosity level for tables that
follow, 0=default
- - - -verify Verify correctness of tables before they
are printed
- - - -verifyall Verify correctness of tables that have
verify support
- - - -version Print date of current version
RETURN VALUE [Toc] [Back]
odump exits with one of the following values:
0: All input files were listed successfully.
>0: odump aborted because errors occurred when accessing
files. The following conditions cause an error:
+ Specified file not found.
+ User has no permission to read the directory.
+ Process could not get enough memory.
+ Invalid option specified.
EXTERNAL INFLUENCES [Toc] [Back]
Environment Variables
The following variable affects the execution of odump:
Hewlett-Packard Company - 3 - HP-UX 11i Version 2: Sep 2004
odump(1) odump(1)
PA-RISC System Only
SHLIB_PATH A colon separated list of path names used to search
for shared libraries. Used by -sllibsearch and
-sllibloadlist options.
EXAMPLES [Toc] [Back]
To see what compiler options and version an executable was compiled
with:
$ odump -compunit a.out
To list the shared libraries (.sl) that a program loads, even if
SHLIB_PATH is set:
$ odump -sllibload a.out
To see how much space a program needs in Quadrant 2 to hold the data,
bss, stack, and other areas, look at the values in the
som_exec_auxhdr:
$ odump -auxheader a.out
Auxiliary Header Record (HP-UX) for a.out:
mandatory = 0 copy = 0
append = 0 ignore = 1
type = 4 length = 40
exec_tsize = 0x000023ec exec_tmem = 0x00001000
exec_tfile = 0x00002000 exec_dsize = 0x00001000
exec_dmem = 0x40001000 exec_dfile = 0x00005000
exec_bsize = 0x3bfff120 exec_entry = 0x000029c8
exec_flags = 0x00000004 exec_bfill = 0x00000000
To see if a program was built for debugging with -g and not for
optimization with -O, look for a $DEBUG$ space (programs built for
both show $PINFO$ instead of $DEBUG$):
$ odump -spaces a.out
Space dictionary for a.out:
Ind LDPIT Sort Space Subspaces Ldr Fixups Init Ptrs Name
0 LD... 8 1 0 8 -1 0 0 1 $TEXT$
1 LDP.. 16 0 8 9 -1 0 1 1 $PRIVATE$
2 .DP.. 80 2 17 5 -1 0 -1 0 $DEBUG$
AUTHOR [Toc] [Back]
odump was developed by HP.
SEE ALSO [Toc] [Back]
System Tools
ld(1) Invoke the link editor
Hewlett-Packard Company - 4 - HP-UX 11i Version 2: Sep 2004
odump(1) odump(1)
PA-RISC System Only
Miscellaneous [Toc] [Back]
a.out(4) Assembler, compiler, and linker output
elfdump(1) Dump utility for ELF object format
elf(3E) Executable and Linking Format
Texts and Tutorials [Toc] [Back]
HP-UX Linker and Libraries Online User Guide
(See the +help option)
HP-UX Linker and Libraries User's Guide
(See manuals(5) for ordering information)
Hewlett-Packard Company - 5 - HP-UX 11i Version 2: Sep 2004 [ Back ] |