OSDN Git Service

* dcrt0.cc (wow64_respawn): New static variable.
authorcorinna <corinna>
Mon, 12 Dec 2011 10:16:52 +0000 (10:16 +0000)
committercorinna <corinna>
Mon, 12 Dec 2011 10:16:52 +0000 (10:16 +0000)
commit0bf3b600891f877a52e4a1c26451275f70e503f9
treec05d501a824e59957255ed441cb451e19162a504
parentb4a951792dce4749a895f6e1276e51d822eef063
* dcrt0.cc (wow64_respawn): New static variable.
(wow64_started_from_native64): New function to check if a WOW64
process got started from a native 64 bit process.
(respawn_wow64_process): New function to respawn process.
(dll_crt0_0): When started from a native parent, check if parent
is a 64 bit process.  If so, return early.
(_dll_crt0): Respawn WOW64 process here if required.
* init.cc (respawn_wow64_process): Remove.
(dll_entry): Rename wow64_test_stack_marker to test_stack_marker.
Drop WOW64 test here.
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/init.cc