[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc object file format



On Mon, Feb 10, 2003 at 12:13:15PM -0800, S P wrote:
> Where can I find the file format of the object file created by gcc in
> Linux ?

Gcc on linux generates ELF (Executable and Linkable Format) files,
which are neatly documented in the specification. Google says it lives
over here:

  http://x86.ddj.com/intel.doc/tools.htm

Note that binutils provides some nice tools to manipulate ELF files,
like objcopy, objdump, ld, etc.


Erik

-- 
J.A.K. (Erik) Mouw
Email: J.A.K.Mouw@its.tudelft.nl  mouw@nl.linux.org

PGP signature