views:

21

answers:

1

I'd like to read the header block gcc put to the beginning of all .o .a and executables. In those days, on Solaris, there was an utility for this purpose. On linux, is similar utility available?

+2  A: 

Yes. objdump can read an ELF file (be it an executable or a shared object/archive). Other then that, nm and readelf can too, but there are less useful, IMO

Eli Iser