www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/28/11:57:49

From: Mark & Candice White <mhewii AT home DOT com>
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: <johnfine AT erols DOT com>
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
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.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019