This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: questions about objdump(1)
- From: Amittai Aviram <amittai dot aviram at yale dot edu>
- To: ali hagigat <hagigatali at gmail dot com>
- Cc: binutils at sourceware dot org, gcc-help at gcc dot gnu dot org
- Date: Sun, 6 Feb 2011 03:32:01 -0500
- Subject: Re: questions about objdump(1)
- References: <AANLkTi=8HamKQHDWez3R9_uS1g4O5t=h7Q56nCWhbm9c@mail.gmail.com>
On Feb 6, 2011, at 2:37 AM, ali hagigat wrote:
> I compile a C program by gcc and the result is an elf object file.
> What is the structure of this object file? Does it have some headers
> for sections and the byte information of those sections ONLY?
> So where is ELF header? is it separate from section headers? The same
> questions for the symbol table.
These are questions about ELF rather than about GCC. Good places to start:
http://en.wikipedia.org/wiki/Executable_and_Linkable_Format
http://www.linuxjournal.com/node/1060/print
http://zvrba.net/writings/elf-itu2007.pdf
Amittai Aviram
PhD Student in Computer Science
Yale University
646 483 2639
amittai.aviram@yale.edu
http://www.amittai.com