ELF file format
Sivakumar
skganesan@yahoo.com
Thu Mar 4 12:56:00 GMT 2004
Hi Nick,
I want to have the size of the .text, .data , .bss
from the object file (.o file) produced by the
assembler.
I used COSMIC ST7 compiler, Borland compiler to
generate the .o file.
Then used the size bin utility. It was not accepting
the .o file.
Neither the objdump utility is accepting the .o
file.
Is the size utility or the objdump will only accept
the .o file generated by the gcc compiler ?
Regards,
Siva
> Yes - objdump. If the files are in the ELF format
> then the readelf
> program can also read them.
> What information do you want about these sections ?
> Their size ?
> Their contents ? There position in the file ?
>
> Which version of the binutils sources are you using
> ? How did you
> build these sources ? How did you build the object
> file that size
> does not recognise ?
>
> The size program is able to display the sizes of
> object files whose
> format it recognises.
>
> Cheers
> Nick
>
> PS. Please reply to the list and not to me
> directly.
>
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youÂre looking for faster
http://search.yahoo.com
More information about the Binutils
mailing list