diff options
| author | grischka <grischka> | 2011-02-13 17:41:05 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2011-02-13 17:44:12 +0100 |
| commit | a3ebdd0aeb834e3e7a644925ebb363d7b8064a52 (patch) | |
| tree | c6225188af1e667db5cc599505c3080e59c21847 /libtcc.c | |
| parent | 11b2d33523d86f915535c2a09b38f3724c4f01cb (diff) | |
| download | tinycc-a3ebdd0aeb834e3e7a644925ebb363d7b8064a52.tar.gz tinycc-a3ebdd0aeb834e3e7a644925ebb363d7b8064a52.tar.bz2 | |
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
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -991,8 +991,8 @@ LIBTCCAPI TCCState *tcc_new(void) #ifdef CHAR_IS_UNSIGNED s->char_is_unsigned = 1; #endif + /* enable this if you want symbols with leading underscore on windows: */ #if defined(TCC_TARGET_PE) && 0 - /* XXX: currently the PE linker is not ready to support that */ s->leading_underscore = 1; #endif if (s->section_align == 0) |
