aboutsummaryrefslogtreecommitdiff
path: root/win32/lib/chkstk.S
diff options
context:
space:
mode:
Diffstat (limited to 'win32/lib/chkstk.S')
-rw-r--r--win32/lib/chkstk.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32/lib/chkstk.S b/win32/lib/chkstk.S
index 9be9597..90a6f0d 100644
--- a/win32/lib/chkstk.S
+++ b/win32/lib/chkstk.S
@@ -57,5 +57,13 @@ P0:
jmp *8(%rax)
/* ---------------------------------------------- */
+/* avoid msvcrt unwind stuff for setjmp/longjmp */
+
+.globl tinyc_getsp
+tinyc_getsp:
+ xor %rax,%rax
+ ret
+
+/* ---------------------------------------------- */
#endif
/* ---------------------------------------------- */