delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/14/03:31:37

Date: Mon, 14 Jun 1999 10:28:53 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Renji Panicker <renjipanicker AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Relocation.
In-Reply-To: <7k1hcb$p3t$1@news.vsnl.net.in>
Message-ID: <Pine.SUN.3.91.990614102803.21962K-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 13 Jun 1999, Renji Panicker wrote:

> Could someone tell me how I can load a COFF ro A.OUT format executable,
> implementing relocation on it as well? Also, I'd like to knwo what I have to
> do to get relocation info in my binaries, in the first place...
> 
> Any pointers to existing source code would be greatly appreciated....

The DJGPP stub loader and the debugger support code do some of this,
so you might want to look at their sources.

The stub is in the file src/stub/stub.asm, and the debugger support is
in the file src/debug/common/v2load.c; both of them are in the
v2/djlsr202.zip archive available from the DJGPP sites.

For more detailed information you will probably have to turn to GNU
Binutils, v2gnu/bnu281s.zip.

- Raw text -


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