From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: egcs-1.1b 2 Oct 1998 12:51:36 -0700 Message-ID: References: <19981002151430 DOT A16550 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII To: Christopher Faylor Cc: Corinna Vinschen , 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,