diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-12-17 10:24:09 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-12-17 10:24:09 +0000 |
commit | 988d896c0a3b60fab9cd323e52eefd4af98be323 (patch) | |
tree | b51a9a2557b960dee4dc53bf5f13e4053bd1e65c /winsup/cygwin/dcrt0.cc | |
parent | d329320822c62d9c7a2b5a654767e7ad814ee91b (diff) | |
download | newlib-988d896c0a3b60fab9cd323e52eefd4af98be323.zip newlib-988d896c0a3b60fab9cd323e52eefd4af98be323.tar.gz newlib-988d896c0a3b60fab9cd323e52eefd4af98be323.tar.bz2 |
* dcrt0.cc (_dll_crt0): Fix formatting.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index fe6d62e..8b69939 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -958,17 +958,14 @@ _dll_crt0 () PVOID stackaddr = wow64_revert_to_original_stack (allocationbase); if (stackaddr) { - /* 2nd half of the stack move. First set stack pointers to - our new address. */ + /* 2nd half of the stack move. Set stack pointers to new address. */ __asm__ ("\n\ movl %[ADDR], %%esp \n\ movl %%esp, %%ebp \n" : : [ADDR] "r" (stackaddr)); /* Now we're back on the original stack. Free up space taken by the - former main thread stack and... */ - VirtualFree (NtCurrentTeb ()->DeallocationStack, - 0, MEM_RELEASE); - /* ...set DeallocationStack correctly. */ + former main thread stack and set DeallocationStack correctly. */ + VirtualFree (NtCurrentTeb ()->DeallocationStack, 0, MEM_RELEASE); NtCurrentTeb ()->DeallocationStack = allocationbase; } else |