Page 1 of 1

Elf documentation

Posted: Tue May 20, 2008 7:45 am
by White-spirit
Hello,

I would like to code an Elf loader for my OS, but I need some documentations about Elf file format, and also how the Oses load them .

Actually, I've only found some structures in "man elf" ( which I've used on my elf.h ), and Google gives me only articles with Elf history, the Oses which use them ... ( i.e Wikipedia ) .

Some links please ? :P

I also need to know what I have to implement on my OS before I code the Elf loader .

Thanks :D

Posted: Tue May 20, 2008 8:00 am
by JamesM
Your google-fu is weak...

(see the second result.)

Posted: Tue May 20, 2008 8:07 am
by jal
JamesM wrote:Your google-fu is weak... (see the second result.)
Not to mention the 3rd result, Wikipedia, which has a whole bunch of links to the various official specifications.


JAL

Re: Elf documentation

Posted: Tue May 20, 2008 8:09 am
by jal
White-spirit wrote:I also need to know what I have to implement on my OS before I code the Elf loader.
If you can't at least think of a few things you need, you don't belong here. Please read the forum rules (specifically items 1 through 4!).


JAL

Posted: Tue May 20, 2008 9:36 am
by Combuster
JamesM wrote:(see the second result.)
Actually, the first one will do too :D

Posted: Tue May 20, 2008 9:52 am
by White-spirit
Thanks, I've found what I need, here's the link for others who are interested on the ELF file format : http://people.redhat.com/drepper/dsohowto.pdf .

Posted: Wed May 21, 2008 2:23 am
by jal
White-spirit wrote:here's the link for others who are interested on the ELF file format
Thanks for the link, that's indeed a rather comprehensive document.


JAL

Posted: Wed May 21, 2008 4:50 am
by lukem95
ooh, thankyou too, it does indeed look helpful.

i have static relocation working at the moment, and am about ~10% into dynamic