Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-12-17 14:24:09 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-12-17 14:24:09 +0400
commit988d896c0a3b60fab9cd323e52eefd4af98be323 (patch)
treeb51a9a2557b960dee4dc53bf5f13e4053bd1e65c /winsup/cygwin/dcrt0.cc
parentd329320822c62d9c7a2b5a654767e7ad814ee91b (diff)
* dcrt0.cc (_dll_crt0): Fix formatting.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index fe6d62e57..8b6993968 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