From df4c0892f3fb5170042652cd648a29c94c3a2eca Mon Sep 17 00:00:00 2001 From: grischka Date: Thu, 14 Jul 2011 19:09:49 +0200 Subject: tccrun: win64: add unwind function table for dynamic code This works only when tcc.exe is compiled using MSC. MinGW does something in the startup code that defeats it. --- win32/lib/chkstk.S | 8 -------- 1 file changed, 8 deletions(-) (limited to 'win32/lib/chkstk.S') diff --git a/win32/lib/chkstk.S b/win32/lib/chkstk.S index d53b31e..2726061 100644 --- a/win32/lib/chkstk.S +++ b/win32/lib/chkstk.S @@ -57,17 +57,9 @@ P0: /* ---------------------------------------------- */ /* setjmp/longjmp support */ -.globl tinyc_no_getbp -tinyc_no_getbp: - .byte 0x90 - .globl tinyc_getbp tinyc_getbp: - xor %rax,%rax - cmp %al,tinyc_no_getbp(%rax) - je t1 mov %rbp,%rax -t1: ret /* ---------------------------------------------- */ -- cgit v1.3.1