.\" -*- coding: UTF-8 -*- .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .de IX .. .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "SIZE 1" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH SIZE 1 "21 febbraio 2024" binutils\-2.42 "Strumenti di sviluppo GNU" .if n .ad l .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .nh .SH NOME size \- elenca le dimensioni della sezione e la dimensione totale dei file binari. .SH SINTASSI .IX Header SINTASSI size [\fB\-A\fP|\fB\-B\fP|\fB\-G\fP|\fB\-\-format=\fP\fIcompatibility\fP] [\fB\-\-help\fP] [\fB\-d\fP|\fB\-o\fP|\fB\-x\fP|\fB\-\-radix=\fP\fInumber\fP] [\fB\-\-common\fP] [\fB\-t\fP|\fB\-\-totals\fP] [\fB\-\-target=\fP\fIbfdname\fP] [\fB\-V\fP|\fB\-\-version\fP] [\fB\-f\fP] [\fIobjfile\fP...] .SH DESCRIZIONE .IX Header DESCRIZIONE The GNU \fBsize\fP utility lists the section sizes and the total size for each of the binary files \fIobjfile\fP on its argument list. By default, one line of output is generated for each file or each module if the file is an archive. .PP \&\fIobjfile\fP... sono i file oggetto da esaminare. Se non ne viene specificato nessuno, verrà usato il file \f(CW\*(C`a.out\*(C'\fP. .SH OPZIONI .IX Header OPZIONI Le opzioni della riga di comando hanno i seguenti significati: .IP \fB\-A\fP 4 .IX Item \-A .PD 0 .IP \fB\-B\fP 4 .IX Item \-B .IP \fB\-G\fP 4 .IX Item \-G .IP \fB\-\-format=\fP\fIcompatibility\fP 4 .IX Item \-\-format=compatibility .PD Using one of these options, you can choose whether the output from GNU \&\fBsize\fP resembles output from System V \fBsize\fP (using \fB\-A\fP, or \fB\-\-format=sysv\fP), or Berkeley \fBsize\fP (using \fB\-B\fP, or \&\fB\-\-format=berkeley\fP). The default is the one\-line format similar to Berkeley's. Alternatively, you can choose the GNU format output (using \fB\-G\fP, or \fB\-\-format=gnu\fP), this is similar to Berkeley's output format, but sizes are counted differently. .Sp Qui c'è un esempio del formato Berkeley (predefinito) di output da \&\fBsize\fP: .Sp .Vb 4 \& $ size \-\-format=Berkeley ranlib size \& text data bss dec hex filename \& 294880 81920 11592 388392 5ed28 ranlib \& 294880 81920 11888 388688 5ee50 size .Ve .Sp The Berkeley style output counts read only data in the \f(CW\*(C`text\*(C'\fP column, not in the \f(CW\*(C`data\*(C'\fP column, the \f(CW\*(C`dec\*(C'\fP and \f(CW\*(C`hex\*(C'\fP columns both display the sum of the \f(CW\*(C`text\*(C'\fP, \f(CW\*(C`data\*(C'\fP, and \&\f(CW\*(C`bss\*(C'\fP columns in decimal and hexadecimal respectively. .Sp The GNU format counts read only data in the \f(CW\*(C`data\*(C'\fP column, not the \f(CW\*(C`text\*(C'\fP column, and only displays the sum of the \f(CW\*(C`text\*(C'\fP, \&\f(CW\*(C`data\*(C'\fP, and \f(CW\*(C`bss\*(C'\fP columns once, in the \f(CW\*(C`total\*(C'\fP column. The \fB\-\-radix\fP option can be used to change the number base for all columns. Here is the same data displayed with GNU conventions: .Sp .Vb 4 \& $ size \-\-format=GNU ranlib size \& text data bss total filename \& 279880 96920 11592 388392 ranlib \& 279880 96920 11888 388688 size .Ve .Sp Questi sono gli stessi dati, ma visualizzati più vicini alle convenzioni System V: .Sp .Vb 7 \& $ size \-\-format=SysV ranlib size \& ranlib : \& section size addr \& \&.text 294880 8192 \& .data 81920 303104 \& .bss 11592 385024 \& Total 388392 \& \& \& size : \& section size addr \& .text 294880 8192 \& .data 81920 303104 \& .bss 11888 385024 \& Total 388688 .Ve .IP \fB\-\-help\fP 4 .IX Item \-\-help .PD 0 .IP \fB\-h\fP 4 .IX Item \-h .IP \fB\-H\fP 4 .IX Item \-H .IP \fB\-?\fP 4 .IX Item \-? .PD Mostra un sommario di argomenti e opzioni accettabili. .IP \fB\-d\fP 4 .IX Item \-d .PD 0 .IP \fB\-o\fP 4 .IX Item \-o .IP \fB\-x\fP 4 .IX Item \-x .IP \fB\-\-radix=\fP\fInumber\fP 4 .IX Item \-\-radix=number .PD Usando una di queste opzioni si può controllare se la dimensione di ciascuna sezione è data in decimale (\fB\-d\fP, o \fB\-\-radix=10\fP); ottale (\fB\-o\fP, o \fB\-\-radix=8\fP); o esadecimale (\fB\-x\fP, o \&\fB\-\-radix=16\fP). In \fB\-\-radix=\fP\fInumber\fP, solo i tre valori (8, 10, 16) sono supportati. La dimensione totale è sempre data in due basi; decimale ed esadecimale per l'output \fB\-d\fP o \fB\-x\fP, o ottale ed esadecimale se si sta usando \fB\-o\fP. .IP \fB\-\-common\fP 4 .IX Item \-\-common Print total size of common symbols in each file. When using Berkeley or GNU format these are included in the bss size. .IP \fB\-t\fP 4 .IX Item \-t .PD 0 .IP \fB\-\-totals\fP 4 .IX Item \-\-totals .PD Show totals of all objects listed (Berkeley or GNU format mode only). .IP \fB\-\-target=\fP\fIbfdname\fP 4 .IX Item \-\-target=bfdname Specifica che il formato codice oggetto per \fIobjfile\fP è \&\fIbfdname\fP. Questa opzione potrebbe non essere necessaria; \fBsize\fP può riconoscere automaticamente molti formati. .IP \fB\-v\fP 4 .IX Item \-v .PD 0 .IP \fB\-V\fP 4 .IX Item \-V .IP \fB\-\-version\fP 4 .IX Item \-\-version .PD Mostra il numero di versione di \fBsize\fP. .IP \fB\-f\fP 4 .IX Item \-f Ignored. This option is used by other versions of the \fBsize\fP program, but it is not supported by the GNU Binutils version. .IP \fB@\fP\fIfile\fP 4 .IX Item @file Legge le opzioni da riga di comando da \fIfile\fP. Le opzioni lette sono inserite al posto dell'opzione originale @\fIfile\fP. Se \fIfile\fP non esiste o non può essere letto, l'opzione sarà trattata letteralmente, e non rimossa. .Sp Le opzioni in \fIfile\fP sono separate da spazi vuoti. Si può includere uno spazio vuoto in un'opzione racchiudendo l'intera opzione fra apici, singoli o doppi. Può essere incluso qualsiasi carattere (compresa la barra inversa) facendo precedere al carattere una barra inversa. Il \fIfile\fP può esso stesso contenere ulteriori opzioni @\fIfile\fP; ciascuna di queste opzioni sarà elaborata ricorsivamente. .SH "VEDERE ANCHE" .IX Header "VEDERE ANCHE" \&\fBar\fP\|(1), \fBobjdump\fP\|(1), \fBreadelf\fP\|(1) e i campi Info per \fIbinutils\fP. .SH COPYRIGHT .IX Header COPYRIGHT Copyright (c) 1991\-2024 Free Software Foundation, Inc. .PP È permesso copiare, distribuire e/o modificare questo documento nei termini della \*(lqLicenza per documentazione libera GNU\*(rq (GNU Free Documentation License), versione 1.3 o ogni versione successiva pubblicata dalla Free Software Foundation; senza sezioni non modificabili, senza testi di prima di copertina e di quarta di copertina. Una copia della licenza è inclusa nella sezione intitolata \*(lqLicenza per la documentazione libera GNU" (GNU Free Documentation License). .PP .SH TRADUZIONE La traduzione italiana di questa pagina di manuale è stata creata da Giulio Daprelà e Marco Curreli . .PP Questa traduzione è documentazione libera; leggere la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Versione 3 .UE o successiva per le condizioni di copyright. Non ci assumiamo alcuna responsabilità. .PP Per segnalare errori nella traduzione di questa pagina di manuale inviare un messaggio a .MT pluto-ildp@lists.pluto.it .ME .