From: Mark & Candice White Newsgroups: comp.lang.asm.x86,comp.os.msdos.djgpp Subject: Re: COFF - relocation entries Date: 28 Nov 1999 15:03:14 GMT Organization: @Home Network Lines: 40 Approved: Message-ID: <81rg7i$5lg$5@autumn.news.rcn.net> References: <81oubk$ku0$2 AT autumn DOT news DOT rcn DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ZcIxzCvm/nnggvISgXSKofQb1Ppa5xKov7USBCONHkM= X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 28 Nov 1999 15:03:14 GMT X-Track2: 2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I read your discussion thread of "JLOC and COFF" with John Fine. So I'm sure your talking about nonlinked COFF, but just in case I will say it seems trivial to write a loader for linked COFF. If your working on a way to use COFF as a dll type format for your hobby OS, please make it easy and available for others to add to their projects. Just out of curiosity why are you using COFF not ELF? ELF has object, and linked forms like COFF, but also a dynamically linkable form too. According to Dark Fiber: http://www.mega-tokyo.com/os/os-faq.html recompiling the dos bintools to work with ELF is not to hard. (I have not done this and still use COFF, so I'll be quiet now.) "Alexei A. Frounze" wrote: > Hi people! > > I'm writing a loader for COFF ".o" object files. I've read info about COFF file > format at the www.delorie.com, but it's still not clear how to handle the > relocation entries. > > Could you explain me that? Maybe some kind of examle would be good for that? > > Thanks in advance. > Alexei A. Frounze -- Mark & Candice White System programming hobbyists. http://members.home.net/mhewii/welcome.htm _________________New Years Cheer__________ To the nerds, geeks and computer techs there's no need to frown you'll be getting over-time when the bug brings the system down.