delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/07/09:26:38

From: englbert AT email DOT com
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: djgpp AT delorie DOT com
Subject: Re: How to change Executable format to my own?
Date: Wed, 7 Jul 99 13:26:20 +0000
X-Mailer: Endymion MailMan v2.0
Message-Id: <E111riO-0006v0-00.1999-07-07-14-26-20@svr-a-04.core.theplanet.net>
Reply-To: djgpp AT delorie DOT com

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 -


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