Mail Archives: djgpp/1999/06/14/03:31:37
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 -