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
This commit is contained in:
grischka
2011-02-13 17:41:05 +01:00
parent 11b2d33523
commit a3ebdd0aeb
3 changed files with 42 additions and 24 deletions

View File

@ -150,6 +150,8 @@ seh_scopetable:
seh_handler:
jmp _except_handler3
.globl ___try__
___try__:
.globl __try__
__try__:
push %ebp