This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: questions about objdump(1)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]