binutils: size

1 
1 6 size
1 ******
1 
1      size [-A|-B|--format=COMPATIBILITY]
1           [--help]
1           [-d|-o|-x|--radix=NUMBER]
1           [--common]
1           [-t|--totals]
1           [--target=BFDNAME] [-V|--version]
1           [OBJFILE...]
1 
1    The GNU 'size' utility lists the section sizes--and the total
1 size--for each of the object or archive files OBJFILE in its argument
1 list.  By default, one line of output is generated for each object file
1 or each module in an archive.
1 
1    OBJFILE... are the object files to be examined.  If none are
1 specified, the file 'a.out' will be used.
1 
1    The command line options have the following meanings:
1 
1 '-A'
1 '-B'
1 '--format=COMPATIBILITY'
1      Using one of these options, you can choose whether the output from
1      GNU 'size' resembles output from System V 'size' (using '-A', or
1      '--format=sysv'), or Berkeley 'size' (using '-B', or
1      '--format=berkeley').  The default is the one-line format similar
1      to Berkeley's.
1 
1      Here is an example of the Berkeley (default) format of output from
1      'size':
1           $ size --format=Berkeley ranlib size
1           text    data    bss     dec     hex     filename
1           294880  81920   11592   388392  5ed28   ranlib
1           294880  81920   11888   388688  5ee50   size
1 
1      This is the same data, but displayed closer to System V
1      conventions:
1 
1           $ size --format=SysV ranlib size
1           ranlib  :
1           section         size         addr
1           .text         294880         8192
1           .data          81920       303104
1           .bss           11592       385024
1           Total         388392
1 
1 
1           size  :
1           section         size         addr
1           .text         294880         8192
1           .data          81920       303104
1           .bss           11888       385024
1           Total         388688
1 
1 '--help'
1      Show a summary of acceptable arguments and options.
1 
1 '-d'
1 '-o'
1 '-x'
1 '--radix=NUMBER'
1      Using one of these options, you can control whether the size of
1      each section is given in decimal ('-d', or '--radix=10'); octal
1      ('-o', or '--radix=8'); or hexadecimal ('-x', or '--radix=16').  In
1      '--radix=NUMBER', only the three values (8, 10, 16) are supported.
1      The total size is always given in two radices; decimal and
1      hexadecimal for '-d' or '-x' output, or octal and hexadecimal if
1      you're using '-o'.
1 
1 '--common'
1      Print total size of common symbols in each file.  When using
1      Berkeley format these are included in the bss size.
1 
1 '-t'
1 '--totals'
1      Show totals of all objects listed (Berkeley format listing mode
1      only).
1 
1 '--target=BFDNAME'
1      Specify that the object-code format for OBJFILE is BFDNAME.  This
1      option may not be necessary; 'size' can automatically recognize
1      many formats.  ⇒Target Selection, for more information.
1 
1 '-V'
1 '--version'
1      Display the version number of 'size'.
1