* questions about objdump(1)
@ 2011-02-06 7:37 ali hagigat
2011-02-06 8:32 ` Amittai Aviram
0 siblings, 1 reply; 2+ messages in thread
From: ali hagigat @ 2011-02-06 7:37 UTC (permalink / raw)
To: binutils, gcc-help
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: questions about objdump(1)
2011-02-06 7:37 questions about objdump(1) ali hagigat
@ 2011-02-06 8:32 ` Amittai Aviram
0 siblings, 0 replies; 2+ messages in thread
From: Amittai Aviram @ 2011-02-06 8:32 UTC (permalink / raw)
To: ali hagigat; +Cc: binutils, gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-06 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 7:37 questions about objdump(1) ali hagigat
2011-02-06 8:32 ` Amittai Aviram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).