OSDN Git Service

* Makefile.in (DLL_OFILES): Add wow64.o.
authorcorinna <corinna>
Fri, 16 Dec 2011 11:58:03 +0000 (11:58 +0000)
committercorinna <corinna>
Fri, 16 Dec 2011 11:58:03 +0000 (11:58 +0000)
commit7f9c360d74b64e6fe9aaa9a7f96237d982a2c5fd
tree67bff42c9a7898a6b9ec444b87efd3290c78be8e
parentda319ad1c0338e753251d2bc0733d0675e542a0b
* Makefile.in (DLL_OFILES): Add wow64.o.
* dcrt0.cc (CYGWIN_GUARD): Drop execute permission for stack, it's
not used for stacks by the OS either.
(child_info_fork::alloc_stack_hard_way): Ditto.
(child_info_fork::alloc_stack): Don't alloc_stack_hard_way under WOW64
if forked from a 64 bit parent.  Set child's StackBase to parent's
StackBase.  Add comments to explain why.
(wow64_respawn): Move to wow64.cc.
(wow64_started_from_native64): Move to wow64.cc.
(respawn_wow64_process): Move to wow64.cc.
(dll_crt0_0): Drop wow64_test_stack_marker and move stack test into
wow64_test_for_64bit_parent function.  Don't return early if WOW64
process has been started from native 64 bit process.
(_dll_crt0): Implement moving stack for WOW64 processes started from
native 64 bit process.
* wow64.cc: New file.
(wow64_has_64bit_parent): Rename from wow64_respawn.
(wow64_test_for_64bit_parent): Rename from wow64_started_from_native64.
Change comment.
(wow64_revert_to_original_stack): New function.
(wow64_respawn_process): Rename from respawn_wow64_process for symmetry.
* wow64.h: New file.
winsup/cygwin/ChangeLog
winsup/cygwin/Makefile.in
winsup/cygwin/dcrt0.cc
winsup/cygwin/wow64.cc [new file with mode: 0644]
winsup/cygwin/wow64.h [new file with mode: 0644]