* autoload.cc (LoadDLLprime): Use nocopy segment or forked processes will not

initialize properly.
* autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an
This commit is contained in:
Christopher Faylor 2005-03-10 16:59:55 +00:00
parent 491e84c601
commit 542afc349c
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
2005-03-10 Christopher Faylor <cgf@timesys.com>
* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an
* autoload.cc (LoadDLLprime): Use nocopy segment or forked processes
will not initialize properly.
2005-03-10 Christopher Faylor <cgf@timesys.com>
* autoload.cc (LoadDLLprime): Scrap use of .linkonce and just use an
ifdef guard to load .foo_init into data segment.
* dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG

View File

@ -57,7 +57,7 @@ details. */
function. */
#define LoadDLLprime(dllname, init_also) __asm__ (" \n\
.ifndef " #dllname "_primed \n\
.data \n\
.section .data_cygwin_nocopy,\"w\" \n\
.align 4 \n\
."#dllname "_info: \n\
.long _std_dll_init \n\