SIZE(1) — HP-UX
NAME
size − print section sizes of object files
SYNOPSIS
size [−d] [−o] [−x] [−V] files
DESCRIPTION
The size command produces section size information for each section in the object files. The size of the text, data and bss (uninitialized data) sections are printed along with the total size of the object file. If an archive file is input to the size command, the information for all archive members is displayed.
Numbers will be printed in decimal unless either the −o or the −x option is used, in which case they will be printed in octal or in hexadecimal, respectively.
The −V flag will supply the version information on the size command.
HARDWARE DEPENDENCIES
Series 200, 300
The −V option is not supported.
Series 500
The −V option is not supported.
The text size shown is the sum of the sizes of all code segments.
The data size shown is the sum of the initialized portions of the ddata and idata segments (which may be one or two data segments).
The bss size shown is the sum of the uninitialized portions of the ddata and idata segments.
If size is run on any commands shipped with HP-UX, the text size does not include any shared library segments referenced by the command.
Series 800
Size information is printed for each subspace in the object file. Each subspace size is followed by the subspace name in parentheses.
SEE ALSO
as(1), cc(1), ld(1). a.out(4), ar(4).
DIAGNOSTICS
size: name: cannot open if name cannot be read.
size: name: bad magic if name is not an appropriate object file.
INTERNATIONAL SUPPORT
8- and 16-bit data, 8-bit filenames.
Hewlett-Packard Company — Version B.1, May 11, 2021