OSDN Git Service

* dcrt0.cc (dll_crt0_0): Remove call to wincap.init.
authorcorinna <corinna>
Tue, 10 Jan 2006 18:11:31 +0000 (18:11 +0000)
committercorinna <corinna>
Tue, 10 Jan 2006 18:11:31 +0000 (18:11 +0000)
commitd37e35bc16f13fff3bfb4dca592a1fd5204e3490
treee6771a65a345d92fc59e61333cd4e4667405c325
parent8ae256149bc830fa0b09937fa4d5137234798605
* dcrt0.cc (dll_crt0_0): Remove call to wincap.init.
* init.cc (dll_entry): Rename is_wow64_proc to wow64_test_stack_marker.
Call wincap.init here before doing anything else.  Use wincap.is_wow64
to determine if we're running in a WOW64 emulator.
* mmap.cc (MapViewNT): Don't use AT_ROUND_TO_PAGE in WOW64, it's
apparently not supported.
(mmap64): Don't create mappings beyond EOF, which would need to use
AT_ROUND_TO_PAGE, on WOW64.
* wincap.cc (wincap): Throw into the .cygwin_dll_common section.
(wincapc::init): Determine if running in WOW64 and set wow_64 flag.
* wincap.h (class wincapc): Add wow64 member.
(wincapc::is_wow64): New method.
winsup/cygwin/ChangeLog
winsup/cygwin/dcrt0.cc
winsup/cygwin/init.cc
winsup/cygwin/mmap.cc
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h