summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-06-20 20:56:55 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-06-20 20:56:55 +0200
commit44745e3165e0b4049d7fddf217b307323911ec5d (patch)
tree721630385bd139f091ef85e71113d47d874ed00f /winsup/cygwin/exceptions.cc
parenta88afecce6ca7405df28f8ae162b56697c2601a2 (diff)
downloadcygnal-44745e3165e0b4049d7fddf217b307323911ec5d.tar.gz
cygnal-44745e3165e0b4049d7fddf217b307323911ec5d.tar.bz2
cygnal-44745e3165e0b4049d7fddf217b307323911ec5d.zip
Fix comments
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 895d57f05..fb59c6142 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -1610,7 +1610,7 @@ _cygtls::call_signal_handler ()
movq %[CTX], %%r8 # thiscontext to 3rd arg reg \n\
movq %[FUNC], %%rax # thisfunc to rax \n\
movq %%rbp, %%r12 # Save rbp in r12 \n\
- movq %%rsp, %%r13 # Store rsp in r13 \n\
+ movq %%rsp, %%r13 # Save rsp in r13 \n\
movq %%r10, %%rsp # Move alt stack into rsp \n\
xorq %%rbp, %%rbp # Set rbp to 0 \n\
subq $32, %%rsp # Setup shadow space \n\
@@ -1653,7 +1653,7 @@ _cygtls::call_signal_handler ()
[FUNC] "o" (thisfunc)
: "memory");
#endif
- /* Revert altstack info to normal. */
+ /* Revert alternate stack to unused. */
_my_tls.altstack.ss_flags = 0;
}
else