From a3ebdd0aeb834e3e7a644925ebb363d7b8064a52 Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 13 Feb 2011 17:41:05 +0100 Subject: tccpe: support leading underscore for symbols To make this the default, enable this line in libtcc.c:tcc_new: #if defined(TCC_TARGET_PE) && 0 s->leading_underscore = 1; and then recompile tcc and also libtcc1.a --- win32/lib/chkstk.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'win32') diff --git a/win32/lib/chkstk.S b/win32/lib/chkstk.S index 44b88f1..d53b31e 100644 --- a/win32/lib/chkstk.S +++ b/win32/lib/chkstk.S @@ -150,6 +150,8 @@ seh_scopetable: seh_handler: jmp _except_handler3 +.globl ___try__ +___try__: .globl __try__ __try__: push %ebp -- cgit v1.3.1