Penguin
Annotated edit history of size(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SIZE
2 !!!SIZE
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 SEE ALSO
8 COPYRIGHT
9 ----
10 !!NAME
11
12
13 size - list section sizes and total size.
14 !!SYNOPSIS
15
16
17 size [[__-A-B--format=__''compatibility'']
18 [[__--help__] [[__-d-o-x--radix=__''number'']
19 [[__-t--totals__] [[__--target=__''bfdname'']
20 [[__-V--version__] [[''objfile''...]
21 !!DESCRIPTION
22
23
24 The GNU __size__ utility lists the section
25 sizes---and the total size---for each of the object or
26 archive files ''objfile'' in its argument list. By
27 default, one line of output is generated for each object
28 file or each module in an archive.
29
30
31 ''objfile''... are the object files to be examined. If
32 none are specified, the file a.out will be
33 used.
34 !!OPTIONS
35
36
37 The command line options have the following
38 meanings:
39
40
41 __-A__
42
43
44 __-B__
45
46
47 __--format=__''compatibility''
48
49
50 Using one of these options, you can choose whether the
51 output from GNU __size__ resembles output
52 from System V __size__ (using __-A__, or
53 __--format=sysv__), or Berkeley __size__ (using
54 __-B__, or __--format=berkeley__). The default is the
55 one-line format similar to Berkeley's.
56
57
58 Here is an example of the Berkeley (default) format of
59 output from __size__:
60
61
62 $ size --format=Berkeley ranlib size
63 text data bss dec hex filename
64 294880 81920 11592 388392 5ed28 ranlib
65 294880 81920 11888 388688 5ee50 size
66 This is the same data, but displayed closer to System V conventions:
67
68
69 $ size --format=SysV ranlib size
70 ranlib :
71 section size addr
72 .text 294880 8192
73 .data 81920 303104
74 .bss 11592 385024
75 Total 388392
76 size :
77 section size addr
78 .text 294880 8192
79 .data 81920 303104
80 .bss 11888 385024
81 Total 388688
82
83
84 __--help__
85
86
87 Show a summary of acceptable arguments and
88 options.
89
90
91 __-d__
92
93
94 __-o__
95
96
97 __-x__
98
99
100 __--radix=__''number''
101
102
103 Using one of these options, you can control whether the size
104 of each section is given in decimal (__-d__, or
105 __--radix=10__); octal (__-o__, or __--radix=8__);
106 or hexadecimal (__-x__, or __--radix=16__). In
107 __--radix=__''number'', only the three values (8, 10,
108 16) are supported. The total size is always given in two
109 radices; decimal and hexadecimal for __-d__ or __-x__
110 output, or octal and hexadecimal if you're using
111 __-o__.
112
113
114 __-t__
115
116
117 __--totals__
118
119
120 Show totals of all objects listed (Berkeley format listing
121 mode only).
122
123
124 __--target=__''bfdname''
125
126
127 Specify that the object-code format for ''objfile'' is
128 ''bfdname''. This option may not be necessary;
129 __size__ can automatically recognize many
130 formats.
131
132
133 __-V__
134
135
136 __--version__
137
138
139 Display the version number of __size__.
140 !!SEE ALSO
141
142
143 ar(1), objdump(1), readelf(1), and the
144 Info entries for ''binutils''.
145 !!COPYRIGHT
146
147
148 Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000,
149 2001, 2002 Free Software Foundation, Inc.
150
151
152 Permission is granted to copy, distribute and/or modify this
153 document under the terms of the GNU Free
154 Documentation License, Version 1.1 or any later version
155 published by the Free Software Foundation; with no Invariant
156 Sections, with no Front-Cover Texts, and with no Back-Cover
157 Texts. A copy of the license is included in the section
158 entitled `` GNU Free Documentation
159 License''.
160 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.