delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/07/21:34:55

Date: Wed, 7 Jul 1999 21:34:50 -0400 (EDT)
Message-Id: <199907080134.VAA07919@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <378366FF.565F@erols.com> (johnfine@erols.com)
Subject: Re: How to change Executable format to my own?
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>   I think you better check what GCC does with various kinds of
> read-only data.

There's a compile-time option in gcc's target config that determines
whether or not gcc can assume that the text section can be used for
data.  When I did the i86 backend[*], I remember having to set it the
"other" way as I was using small model (cs!=ds), but I can't remember
exactly how.

Of course, this means a complete rebuild of gcc to implement.

[*] http://www.delorie.com/djgpp/16bit/gcc/

- Raw text -


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