Mail Archives: djgpp/1999/07/07/09:26:38
Hi there,
Thankx for the information, I will look into the linker script. I think I might
have to clarify the format that I am wanting. I am planning to make _two_
segments in protected mode. Each of which, will be two seperate segments, both
with the start for addressing at zero. One will hold the program, and the other
will hold the data for the program. This was, the program will not be able to
overwrite program code by accident, as the data pointers will point to a
different segment.
Anyway, thankx again,
Andy
> Sorry, I don't understand. How can two sections begin at the same
> address (zero)?
>
> Right now, the DJGPP memory layout is: first code, then data,
> then bss. This layout is defined in the lib/djgpp.djl linker script.
>
- Raw text -