Mail Archives: cygwin-developers/1998/10/02/12:51:36
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 -