diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-19 12:50:35 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-19 12:50:35 +0000 |
commit | f08bc8585833ed7d21208d9dbd0b49482470d0ee (patch) | |
tree | d011a999c5f64f4032491d8fbb740c9b634d4883 /winsup/cygwin/wincap.h | |
parent | 93a61a6fe3fbdabe7c4223931309be5954702500 (diff) | |
download | newlib-f08bc8585833ed7d21208d9dbd0b49482470d0ee.zip newlib-f08bc8585833ed7d21208d9dbd0b49482470d0ee.tar.gz newlib-f08bc8585833ed7d21208d9dbd0b49482470d0ee.tar.bz2 |
* 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.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index 32f9586..5ea915b 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -42,6 +42,7 @@ struct wincaps unsigned use_dont_resolve_hack : 1; unsigned has_stack_size_param_is_a_reservation : 1; unsigned has_console_logon_sid : 1; + unsigned wow64_has_secondary_stack : 1; }; class wincapc @@ -92,6 +93,7 @@ public: bool IMPLEMENT (use_dont_resolve_hack) bool IMPLEMENT (has_stack_size_param_is_a_reservation) bool IMPLEMENT (has_console_logon_sid) + bool IMPLEMENT (wow64_has_secondary_stack) #undef IMPLEMENT }; |