Mail Archives: djgpp/1999/07/07/08:59:12

Date: Wed, 7 Jul 1999 15:57:01 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Andy Cooper <englbert AT email DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: How to change Executable format to my own?
In-Reply-To: <7lqd8u$k06$>
Message-ID: <Pine.SUN.3.91.990707155444.2851b-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 Mon, 5 Jul 1999, Andy Cooper wrote:

> Hi,Well, I'm wondering whether anyone will be able to help me. I am wanting
> to get DJGPP C to produce executables in my own format.The plan is to
> convert the output from DJGPP, into a flat memory executable that will have
> two segments, one for the program and the second for the data. These segments
> will have an address starting at zero.

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