]>
Commit | Line | Data |
---|---|---|
2c8df22d RP |
1 | .\" Copyright (c) 1991 Free Software Foundation |
2 | .\" See section COPYING for conditions for redistribution | |
2c8df22d RP |
3 | .TH size 1 "5 November 1991" "cygnus support" "GNU Development Tools" |
4 | .de BP | |
5 | .sp | |
6 | .ti \-.2i | |
7 | \(** | |
8 | .. | |
9 | ||
10 | .SH NAME | |
938fa52b | 11 | size \- list section sizes and total size. |
2c8df22d RP |
12 | |
13 | .SH SYNOPSIS | |
14 | .hy 0 | |
15 | .na | |
16 | .TP | |
17 | .B size | |
18 | .RB "[\|" \-A \||\| \-B \||\| \c | |
1f72cab1 | 19 | .BI "\-\-format=" compatibility\c |
2c8df22d | 20 | \&\|] |
1f72cab1 | 21 | .RB "[\|" \-\-help "\|]" |
2c8df22d RP |
22 | .RB "[\|" \-d \||\| \-o \||\| \-x\c |
23 | \||\|\c | |
1f72cab1 | 24 | .BI "\-\-radix=" number\c |
2c8df22d RP |
25 | \&\|] |
26 | .RB "[\|" \c | |
1f72cab1 | 27 | .BI "\-\-target=" bfdname\c |
2c8df22d | 28 | \&\|] |
1f72cab1 DM |
29 | .RB "[\|" \-V \||\| \-\-version "\|]" |
30 | .I objfile\c | |
2c8df22d RP |
31 | \&.\|.\|. |
32 | .ad b | |
33 | .hy 1 | |
34 | .SH DESCRIPTION | |
35 | The GNU \c | |
36 | .B size\c | |
37 | \& utility lists the section sizes\(em\&and the total | |
b26ac613 DM |
38 | size\(em\&for each of the object files |
39 | .I objfile | |
40 | in its argument list. | |
2c8df22d RP |
41 | By default, one line of output is generated for each object file or each |
42 | module in an archive. | |
43 | ||
44 | .SH OPTIONS | |
2c8df22d RP |
45 | .TP |
46 | .B \-A | |
47 | .TP | |
48 | .B \-B | |
49 | .TP | |
1f72cab1 | 50 | .BI "\-\-format " "compatibility"\c |
2c8df22d RP |
51 | \& |
52 | Using one of these options, you can choose whether the output from GNU | |
53 | \c | |
54 | .B size\c | |
55 | \& resembles output from System V \c | |
56 | .B size\c | |
57 | \& (using `\|\c | |
58 | .B \-A\c | |
59 | \|', | |
60 | or `\|\c | |
eae04238 | 61 | .B \-\-format=sysv\c |
2c8df22d RP |
62 | \|'), or Berkeley \c |
63 | .B size\c | |
64 | \& (using `\|\c | |
65 | .B \-B\c | |
66 | \|', or | |
67 | `\|\c | |
eae04238 | 68 | .B \-\-format=berkeley\c |
2c8df22d RP |
69 | \|'). The default is the one-line format similar to |
70 | Berkeley's. | |
71 | ||
72 | .TP | |
1f72cab1 | 73 | .B \-\-help |
2c8df22d RP |
74 | Show a summary of acceptable arguments and options. |
75 | ||
76 | .TP | |
77 | .B \-d | |
78 | .TP | |
79 | .B \-o | |
80 | .TP | |
81 | .B \-x | |
82 | .TP | |
1f72cab1 | 83 | .BI "\-\-radix " "number"\c |
2c8df22d RP |
84 | \& |
85 | Using one of these options, you can control whether the size of each | |
86 | section is given in decimal (`\|\c | |
87 | .B \-d\c | |
88 | \|', or `\|\c | |
1f72cab1 | 89 | .B \-\-radix 10\c |
2c8df22d RP |
90 | \|'); octal |
91 | (`\|\c | |
92 | .B \-o\c | |
93 | \|', or `\|\c | |
1f72cab1 | 94 | .B \-\-radix 8\c |
2c8df22d RP |
95 | \|'); or hexadecimal (`\|\c |
96 | .B \-x\c | |
97 | \|', or | |
98 | `\|\c | |
1f72cab1 | 99 | .B \-\-radix 16\c |
2c8df22d | 100 | \|'). In `\|\c |
1f72cab1 | 101 | .B \-\-radix \c |
2c8df22d RP |
102 | .I number\c |
103 | \&\c | |
104 | \|', only the three | |
105 | values (8, 10, 16) are supported. The total size is always given in two | |
106 | radices; decimal and hexadecimal for `\|\c | |
107 | .B \-d\c | |
108 | \|' or `\|\c | |
109 | .B \-x\c | |
110 | \|' output, or | |
111 | octal and hexadecimal if you're using `\|\c | |
112 | .B \-o\c | |
113 | \|'. | |
114 | ||
115 | .TP | |
1f72cab1 | 116 | .BI "\-\-target " "bfdname"\c |
2c8df22d RP |
117 | \& |
118 | You can specify a particular object-code format for \c | |
1f72cab1 | 119 | .I objfile\c |
2c8df22d RP |
120 | \& as |
121 | \c | |
122 | .I bfdname\c | |
123 | \&. This may not be necessary; \c | |
124 | .I size\c | |
125 | \& can | |
126 | automatically recognize many formats. See | |
127 | .BR objdump ( 1 ) | |
128 | for information | |
129 | on listing available formats. | |
130 | ||
131 | .TP | |
132 | .B \-V | |
133 | .TP | |
1f72cab1 | 134 | .B \-\-version |
2c8df22d RP |
135 | Display version number information on \c |
136 | .B size\c | |
137 | \& itself. | |
138 | ||
2c8df22d RP |
139 | .SH "SEE ALSO" |
140 | .RB "`\|" binutils "\|'" | |
141 | entry in | |
b26ac613 DM |
142 | .BR info ; |
143 | .IR The GNU Binary Utilities , | |
144 | Roland H. Pesch (October 1991); | |
2c8df22d RP |
145 | .BR ar "(" 1 ")," |
146 | .BR objdump ( 1 ). | |
147 | ||
148 | .SH COPYING | |
149 | Copyright (c) 1991 Free Software Foundation, Inc. | |
150 | .PP | |
151 | Permission is granted to make and distribute verbatim copies of | |
152 | this manual provided the copyright notice and this permission notice | |
153 | are preserved on all copies. | |
154 | .PP | |
155 | Permission is granted to copy and distribute modified versions of this | |
156 | manual under the conditions for verbatim copying, provided that the | |
157 | entire resulting derived work is distributed under the terms of a | |
158 | permission notice identical to this one. | |
159 | .PP | |
160 | Permission is granted to copy and distribute translations of this | |
161 | manual into another language, under the above conditions for modified | |
162 | versions, except that this permission notice may be included in | |
163 | translations approved by the Free Software Foundation instead of in | |
164 | the original English. |