User's Manual

the object file. If you specify an archive file, the information for all archive members is displayed.
Use the following options to display information for your specified files:
Use the optionTo display
-dSizes in decimal (default).
-oSizes in octal.
-xSizes in hexadecimal.
-VVersion information about the size command.
-vVerbose list of the subspaces in the object files. Each subspace is listed on a separate line
with its size, physical address, and virtual address.
-f64-bit mode only: Size of each allocatable section.
-F64-bit mode only: Size and permission bits of each loadable segment=.
-n64-bit mode only: Sizes of non loadable segments or non allocatable sections.
-UPrint the usage menu
Reducing Storage Space with strip(1)
The strip command removes the symbol table and line number information from object files,
including archives. Thereafter, no symbolic debugging access is available for that file. The purpose
of this command is to reduce file storage overhead consumed by the object file. Use this command
on production modules that have been debugged and tested. The effect is nearly identical to using
the -s option of ld. You can control the amount of information stripped from the symbol table by
using the following options:
Use the optionTo
-lStrip line number information only; do not strip any symbol table information.
-xDo not strip static or external symbol information.
-r32-bit mode only: Reset the relocation indexes into the symbol table. This option allows strip
to be run on relocatable files, in which case the effect is also to strip only symbolic
debugging information and unloadable data.
-VPrint the version of the strip command to stderr.
NOTE: The -l and -x options are synonymous because the symbol table contains only static
and external symbols. Either option strips only symbolic debugging information and unloadable
data.
If there are any relocation entries in the object file and any symbol table information is to be
stripped, strip issues a message and terminates without stripping the specified file unless the -r
option is used.
If you execute strip on an archive file (see ar(4)), it removes the archive symbol table. The archive
symbol table must be restored by executing ar with its s operator (see ar(1)) before the ld
command (see ld (1)) can use the archive. strip issues appropriate warning messages when
this situation occurs.
Improving Program Start-up with fastbind(1)
The fastbind(1) command prepares an incomplete executable for faster program start-up. It
can improve the start-up time of programs that use shared libraries (incomplete executables) by
storing information about needed shared library symbols in the executable file.
76 Linker Tools for PA-RISC Systems