* 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:
		| @@ -1,6 +1,11 @@ | |||||||
| 2005-03-10  Christopher Faylor  <cgf@timesys.com> | 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. | 	ifdef guard to load .foo_init into data segment. | ||||||
|  |  | ||||||
| 	* dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG | 	* dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG | ||||||
|   | |||||||
| @@ -57,7 +57,7 @@ details. */ | |||||||
|    function.  */ |    function.  */ | ||||||
| #define LoadDLLprime(dllname, init_also) __asm__ ("	\n\ | #define LoadDLLprime(dllname, init_also) __asm__ ("	\n\ | ||||||
| .ifndef " #dllname "_primed				\n\ | .ifndef " #dllname "_primed				\n\ | ||||||
|   .data							\n\ |   .section	.data_cygwin_nocopy,\"w\"		\n\ | ||||||
|   .align	4					\n\ |   .align	4					\n\ | ||||||
| ."#dllname "_info:					\n\ | ."#dllname "_info:					\n\ | ||||||
|   .long		_std_dll_init				\n\ |   .long		_std_dll_init				\n\ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user