You copied the Doc URL to your clipboard.

--info=totals

This option instructs the compiler to give totals of the object code and data size for each object file.

The compiler returns the same totals that fromelf returns when fromelf --text -z is used, in a similar format. The totals include embedded assembler sizes when embedded assembly exists in the source code.

Example

Code (inc. data)   RO Data   RW Data    ZI Data      Debug   File Name
3308       1556          0        44      10200       8402   dhry_1.o
Code (inc. data)   RO Data   RW Data    ZI Data      Debug   File Name
416          28          0         0          0       7722   dhry_2.o

The (inc. data) column gives the size of constants, string literals, and other data items used as part of the code. The Code column, shown in the example, includes this value.

See also