[LIP] ELF Format etc

"Sukrit K Mehra" <holysmoke-asPoR4/t/[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
hi,
i have some confusions that i would like to sorted out. 
for a program image, according to elf format we have following sections -

txt //code
bss //unintialised data, like what? Is this RO or RW?
data //initialised data, like static variables? Is this RO or RW?


Where does the program stack go?
Is the program Stack different from function stack?
Where is the heap?
Global variables stored where? (Program stack?)
static variables are stored where?

Regards
Sukrit





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.