Non-zero VMA's w/DWARF-2?
Eli Zaretskii
eliz@is.elta.co.il
Thu Jan 16 16:19:00 GMT 2003
> Date: Wed, 15 Jan 2003 18:24:27 -0600 (CST)
> From: Brian Ford <ford@vss.fsi.com>
>
> DJGPP does not have the constraints of a PE/COFF object file format. As I
> understand it, they have a wrapper that loads COFF, so they can do as they
> please.
That's true: a DJGPP program has a short 2KB stub loader prepended to
it. To the OS, that stub is the program; the COFF image is just data
which the OS knows nothing about. When the stub is invoked, it reads
the COFF information from the rest of the .exe file, sets up memory as
required by the sections in the image, then jumps to the start point
of the COFF image.
More information about the Gdb
mailing list