Elf documentation

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
White-spirit
Member
Member
Posts: 89
Joined: Sun Mar 23, 2008 2:23 pm
Location: [0x8:0x1000]

Elf documentation

Post 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
Working on multi-tasking support ...
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Your google-fu is weak...

(see the second result.)
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post 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
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Re: Elf documentation

Post 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
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

JamesM wrote:(see the second result.)
Actually, the first one will do too :D
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
White-spirit
Member
Member
Posts: 89
Joined: Sun Mar 23, 2008 2:23 pm
Location: [0x8:0x1000]

Post 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 .
Working on multi-tasking support ...
jal
Member
Member
Posts: 1385
Joined: Wed Oct 31, 2007 9:09 am

Post 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
User avatar
lukem95
Member
Member
Posts: 536
Joined: Fri Aug 03, 2007 6:03 am
Location: Cambridge, UK

Post by lukem95 »

ooh, thankyou too, it does indeed look helpful.

i have static relocation working at the moment, and am about ~10% into dynamic
~ Lukem95 [ Cake ]
Release: 0.08b
Image
Post Reply