Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

In linux 32bit elf format, what is the difference between program header table and section header table ??

OpenStudy (anonymous):

i found that on internet before and i am not satisfied with explanation

OpenStudy (jagatuba):

Don't know how to explain it any clearer.

OpenStudy (anonymous):

thx anyway

OpenStudy (jagatuba):

What specifically are you looking for?

OpenStudy (anonymous):

some better explanation with examples

OpenStudy (llib_xoc):

This book has both. And it's very readable. http://www.iecc.com/linker/ maybe looking at it will provoke some specific questions which we can help with.

OpenStudy (llib_xoc):

here's an excerpt from the book above, which very succinctly talks about the two headers: Compilers, assemblers, and linkers treat the file as a set of logical sections described by a section header table, while the system loader treats the file as a set of segments described by a program header table. A single segment will usually consist of several sections. For example, a ``loadable read-only'' segment could contain sections for executable code, read-only data, and symbols for the dynamic linker. Relocatable files have section tables, executable files have program header tables, and shared objects have both. The sections are intended for further processing by a linker, while the segments are intended to be mapped into memory. Does this help?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!