diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-17 10:05:25 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-17 10:05:25 +0000 |
commit | d329320822c62d9c7a2b5a654767e7ad814ee91b (patch) | |
tree | 1f67e84553fb83ec30089c671d06c2bc9ee1a7a4 | |
parent | ce3318344c573af96b932b618766aadfffb65cf2 (diff) | |
download | newlib-d329320822c62d9c7a2b5a654767e7ad814ee91b.zip newlib-d329320822c62d9c7a2b5a654767e7ad814ee91b.tar.gz newlib-d329320822c62d9c7a2b5a654767e7ad814ee91b.tar.bz2 |
* wow64.cc (wow64_revert_to_original_stack): Fix comment.
* wow64.h (wow64_respawn_process): Declare noreturn.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/wow64.cc | 6 | ||||
-rw-r--r-- | winsup/cygwin/wow64.h | 2 |
3 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index aa9d379..365948b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2011-12-17 Corinna Vinschen <vinschen@redhat.com> + + * wow64.cc (wow64_revert_to_original_stack): Fix comment. + * wow64.h (wow64_respawn_process): Declare noreturn. + 2011-12-17 Christopher Faylor <me.cygwin2011@cgf.cx> * exceptions.cc (set_signal_mask): Remove useless debugging output. diff --git a/winsup/cygwin/wow64.cc b/winsup/cygwin/wow64.cc index 20ea2e4..53defec 100644 --- a/winsup/cygwin/wow64.cc +++ b/winsup/cygwin/wow64.cc @@ -119,9 +119,9 @@ wow64_revert_to_original_stack (PVOID &allocationbase) if (mbi.State != MEM_RESERVE || mbi.RegionSize < 256 * 1024) return NULL; - /* Next we expect a guard page. We fetch the size of the guard area since - to see how the OS is handling that. Apparently the guard area on 64 bit - systems spans 2 pages. */ + /* Next we expect a guard page. We fetch the size of the guard area to + see how big it is. Apparently the guard area on 64 bit systems spans + 2 pages. */ PVOID addr = PTR_ADD (mbi.BaseAddress, mbi.RegionSize); VirtualQuery (addr, &mbi, sizeof mbi); if (mbi.AllocationBase != allocationbase diff --git a/winsup/cygwin/wow64.h b/winsup/cygwin/wow64.h index bd0564f..1894409 100644 --- a/winsup/cygwin/wow64.h +++ b/winsup/cygwin/wow64.h @@ -12,4 +12,4 @@ extern bool NO_COPY wow64_has_64bit_parent; extern bool wow64_test_for_64bit_parent (); extern PVOID wow64_revert_to_original_stack (PVOID &allocationbase); -extern void wow64_respawn_process (); +extern void wow64_respawn_process () __attribute__ ((noreturn)); |