delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/02/12:51:36

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: egcs-1.1b
2 Oct 1998 12:51:36 -0700 :
Message-ID: <Pine.SUN.3.93.981002141659.15643A-100000.cygnus.cygwin32.developers@modi.xraylith.wisc.edu>
References: <19981002151430 DOT A16550 AT cygnus DOT com>
Mime-Version: 1.0
To: Christopher Faylor <cgf AT cygnus DOT com>
Cc: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>,
cygwin32-developers AT cygnus DOT com

On Fri, 2 Oct 1998, Christopher Faylor wrote:

> 
> The .text section won't be physically copied by fork since it is
> read-only, isn't it?  it will be loaded by Windows from disk
> automatically.  If const data is going in .text I don't see any reason
> to also add NO_COPY.
> 

Thanks for the correction. I was confusing .text with .data. As far I can
tell, you don't need NO_COPY for C++ const variables (even if it goes to
the .rdata in the future, that should still be ok for the same reason).

Regards,

- Raw text -


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