coff! coff ... i want to go to ELF

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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

coff! coff ... i want to go to ELF

Post by Pype.Clicker »

Hi there. Up to now, i've been using COFF file format as a input for my kernel, mainly because DjGpp produces COFF and because it's a very simple format that let me do everything i need to do (and believe me, i have gone through symbol tables, relocations, etc. i've nearly written a linker of my own to produce "proprietary" module files :) )

Now, unfortunately, there is no COFF output options in Linux tools and it's not pleasant to switch three times between DOS and Linux to produce a boot disk image ... so i wonder if some of you can guide me to a _comprehensive_ and _clear_ (something looking like Deejay delorie infos about COFF structure) informations on ELF format (i already have the file format description but this is a huge bag of infos, what i'm looking for is some kind of summary)
crazybuddha

Re:coff! coff ... i want to go to ELF

Post by crazybuddha »

pype,
by now I'm sure you've found a ton of references. However, if you don't have the following link, you ought to. It's an online version of the book "Linkers and Loaders". Very breezy read, but a lot of substance.

http://www.iecc.com/linker/
Post Reply