OSDN Git Service

* dcrt0.cc (dll_crt0_0): Check for wincap.wow64_has_secondary_stack
authorcorinna <corinna>
Mon, 19 Dec 2011 12:50:32 +0000 (12:50 +0000)
committercorinna <corinna>
Mon, 19 Dec 2011 12:50:32 +0000 (12:50 +0000)
commit86c2e6f1e18b12b25b338639f3faf854d0aab9a5
treed8419e843ee63e79db32fd6aa77de9e5ccf47bd9
parent9c6170d7f6f9a64a5d70ae8d7cbc94725df2395c
* dcrt0.cc (dll_crt0_0): Check for wincap.wow64_has_secondary_stack
rather than for wincap.is_wow64.  Accommodate name change from
wow64_has_64bit_parent to wow64_needs_stack_adjustment.  Align comment.
(_dll_crt0): Ditto.
* wincap.h (wincaps::wow64_has_secondary_stack): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set wow64_has_secondary_stack to false on non-64 bit
systems.
* wow64.cc (wow64_needs_stack_adjustment): Rename (hopefully the last
time) from wow64_has_64bit_parent.
(wow64_eval_expected_main_stack): Fix comment to reflect real life.
(wow64_test_for_64bit_parent): Fix comment.
* wow64.h (wow64_needs_stack_adjustment): Accommodate new name.
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h
winsup/cygwin/wow64.cc
winsup/cygwin/wow64.h